newval 66 arch/alpha/include/asm/futex.h u32 oldval, u32 newval) newval 88 arch/alpha/include/asm/futex.h : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) newval 121 arch/arc/include/asm/futex.h u32 newval) newval 156 arch/arc/include/asm/futex.h : "r"(expval), "r"(newval), "r"(uaddr), "ir"(-EFAULT) newval 132 arch/arm/include/asm/atomic.h int oldval, newval; newval 147 arch/arm/include/asm/atomic.h : "=&r" (oldval), "=&r" (newval), "=&r" (tmp), "+Qo" (v->counter) newval 479 arch/arm/include/asm/atomic.h s64 oldval, newval; newval 496 arch/arm/include/asm/atomic.h : "=&r" (oldval), "=&r" (newval), "=&r" (tmp), "+Qo" (v->counter) newval 47 arch/arm/include/asm/futex.h u32 oldval, u32 newval) newval 70 arch/arm/include/asm/futex.h : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) newval 101 arch/arm/include/asm/futex.h u32 oldval, u32 newval) newval 120 arch/arm/include/asm/futex.h : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) newval 59 arch/arm/include/asm/spinlock.h u32 newval; newval 69 arch/arm/include/asm/spinlock.h : "=&r" (lockval), "=&r" (newval), "=&r" (tmp) newval 1012 arch/arm/kvm/coproc.c u32 val, newval; newval 1029 arch/arm/kvm/coproc.c if (get_user(newval, uval)) newval 1033 arch/arm/kvm/coproc.c if (newval != get_ccsidr(val)) newval 79 arch/arm/mach-omap1/clock.c static __u16 verify_ckctl_value(__u16 newval) newval 101 arch/arm/mach-omap1/clock.c per_exp = (newval >> CKCTL_PERDIV_OFFSET) & 3; newval 102 arch/arm/mach-omap1/clock.c lcd_exp = (newval >> CKCTL_LCDDIV_OFFSET) & 3; newval 103 arch/arm/mach-omap1/clock.c arm_exp = (newval >> CKCTL_ARMDIV_OFFSET) & 3; newval 104 arch/arm/mach-omap1/clock.c dsp_exp = (newval >> CKCTL_DSPDIV_OFFSET) & 3; newval 105 arch/arm/mach-omap1/clock.c tc_exp = (newval >> CKCTL_TCDIV_OFFSET) & 3; newval 106 arch/arm/mach-omap1/clock.c dspmmu_exp = (newval >> CKCTL_DSPMMUDIV_OFFSET) & 3; newval 121 arch/arm/mach-omap1/clock.c newval &= 0xf000; newval 122 arch/arm/mach-omap1/clock.c newval |= per_exp << CKCTL_PERDIV_OFFSET; newval 123 arch/arm/mach-omap1/clock.c newval |= lcd_exp << CKCTL_LCDDIV_OFFSET; newval 124 arch/arm/mach-omap1/clock.c newval |= arm_exp << CKCTL_ARMDIV_OFFSET; newval 125 arch/arm/mach-omap1/clock.c newval |= dsp_exp << CKCTL_DSPDIV_OFFSET; newval 126 arch/arm/mach-omap1/clock.c newval |= tc_exp << CKCTL_TCDIV_OFFSET; newval 127 arch/arm/mach-omap1/clock.c newval |= dspmmu_exp << CKCTL_DSPMMUDIV_OFFSET; newval 129 arch/arm/mach-omap1/clock.c return newval; newval 88 arch/arm64/include/asm/futex.h u32 oldval, u32 newval) newval 120 arch/arm64/include/asm/futex.h : "r" (oldval), "r" (newval), "Ir" (-EFAULT), "Ir" (-EAGAIN) newval 2521 arch/arm64/kvm/sys_regs.c u32 val, newval; newval 2538 arch/arm64/kvm/sys_regs.c if (get_user(newval, uval)) newval 2542 arch/arm64/kvm/sys_regs.c if (newval != get_ccsidr(val)) newval 75 arch/hexagon/include/asm/futex.h u32 newval) newval 100 arch/hexagon/include/asm/futex.h : "r" (uaddr), "r" (oldval), "r" (newval), "i"(-EFAULT) newval 26 arch/ia64/include/asm/futex.h int val, newval; \ newval 39 arch/ia64/include/asm/futex.h "=&r" (newval) \ newval 87 arch/ia64/include/asm/futex.h u32 oldval, u32 newval) newval 102 arch/ia64/include/asm/futex.h : "r" (uaddr), "r" (newval), newval 461 arch/m68k/kernel/sys_m68k.c sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, newval 493 arch/m68k/kernel/sys_m68k.c __put_user(newval, mem); newval 508 arch/m68k/kernel/sys_m68k.c struct pt_regs *fp = (struct pt_regs *)&newval; newval 534 arch/m68k/kernel/sys_m68k.c sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, newval 544 arch/m68k/kernel/sys_m68k.c *mem = newval; newval 69 arch/microblaze/include/asm/futex.h u32 oldval, u32 newval) newval 92 arch/microblaze/include/asm/futex.h : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT)); newval 128 arch/mips/include/asm/futex.h u32 oldval, u32 newval) newval 163 arch/mips/include/asm/futex.h : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), newval 194 arch/mips/include/asm/futex.h : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), newval 31 arch/mips/paravirt/paravirt-smp.c int newval; newval 33 arch/mips/paravirt/paravirt-smp.c if (get_option(&str, &newval)) { newval 34 arch/mips/paravirt/paravirt-smp.c if (newval < 1 || newval >= NR_CPUS) newval 36 arch/mips/paravirt/paravirt-smp.c numcpus = newval; newval 38 arch/nds32/include/asm/futex.h u32 oldval, u32 newval) newval 56 arch/nds32/include/asm/futex.h :"r"(oldval), "r"(newval), "r"(uaddr), "i"(-EFAULT) newval 70 arch/openrisc/include/asm/futex.h u32 oldval, u32 newval) newval 95 arch/openrisc/include/asm/futex.h : "r" (oldval), "r" (newval), "i" (-EFAULT) \ newval 87 arch/parisc/include/asm/futex.h u32 oldval, u32 newval) newval 113 arch/parisc/include/asm/futex.h if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { newval 71 arch/powerpc/include/asm/futex.h u32 oldval, u32 newval) newval 97 arch/powerpc/include/asm/futex.h : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT) newval 80 arch/riscv/include/asm/futex.h u32 oldval, u32 newval) newval 107 arch/riscv/include/asm/futex.h : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "i" (-EFAULT) newval 10 arch/s390/include/asm/futex.h #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ newval 20 arch/s390/include/asm/futex.h : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ newval 28 arch/s390/include/asm/futex.h int oldval = 0, newval, ret; newval 36 arch/s390/include/asm/futex.h ret, oldval, newval, uaddr, oparg); newval 40 arch/s390/include/asm/futex.h ret, oldval, newval, uaddr, oparg); newval 44 arch/s390/include/asm/futex.h ret, oldval, newval, uaddr, oparg); newval 48 arch/s390/include/asm/futex.h ret, oldval, newval, uaddr, oparg); newval 52 arch/s390/include/asm/futex.h ret, oldval, newval, uaddr, oparg); newval 67 arch/s390/include/asm/futex.h u32 oldval, u32 newval) newval 80 arch/s390/include/asm/futex.h : "0" (-EFAULT), "d" (newval), "a" (uaddr), "m" (*uaddr) newval 7 arch/sh/include/asm/futex-cas.h u32 oldval, u32 newval) newval 27 arch/sh/include/asm/futex-cas.h :"+r" (err), "+r" (newval) newval 31 arch/sh/include/asm/futex-cas.h *uval = newval; newval 7 arch/sh/include/asm/futex-irq.h u32 oldval, u32 newval) newval 17 arch/sh/include/asm/futex-irq.h ret = put_user(newval, uaddr); newval 7 arch/sh/include/asm/futex-llsc.h u32 oldval, u32 newval) newval 36 arch/sh/include/asm/futex-llsc.h :"r" (uaddr), "i" (-EFAULT), "r" (oldval), "r" (newval) newval 23 arch/sh/include/asm/futex.h u32 oldval, u32 newval) newval 28 arch/sh/include/asm/futex.h return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); newval 34 arch/sh/include/asm/futex.h u32 oldval, newval, prev; newval 46 arch/sh/include/asm/futex.h newval = oparg; newval 49 arch/sh/include/asm/futex.h newval = oldval + oparg; newval 52 arch/sh/include/asm/futex.h newval = oldval | oparg; newval 55 arch/sh/include/asm/futex.h newval = oldval & ~oparg; newval 58 arch/sh/include/asm/futex.h newval = oldval ^ oparg; newval 67 arch/sh/include/asm/futex.h ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); newval 73 arch/sparc/include/asm/futex_64.h u32 oldval, u32 newval) newval 90 arch/sparc/include/asm/futex_64.h : "+r" (ret), "=r" (newval) newval 91 arch/sparc/include/asm/futex_64.h : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) newval 94 arch/sparc/include/asm/futex_64.h *uval = newval; newval 35 arch/sparc/kernel/auxio_64.c u8 regval, newval; newval 42 arch/sparc/kernel/auxio_64.c newval = regval | bits_on; newval 43 arch/sparc/kernel/auxio_64.c newval &= ~bits_off; newval 45 arch/sparc/kernel/auxio_64.c newval &= ~AUXIO_AUX1_MASK; newval 47 arch/sparc/kernel/auxio_64.c writel((u32) newval, auxio_register); newval 49 arch/sparc/kernel/auxio_64.c sbus_writeb(newval, auxio_register); newval 82 arch/x86/include/asm/futex.h u32 oldval, u32 newval) newval 84 arch/x86/include/asm/futex.h return user_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval); newval 39 arch/xtensa/include/asm/futex.h : [oldval] "=&r" (old), [newval] "=&r" (ret) \ newval 63 arch/xtensa/include/asm/futex.h : [oldval] "=&r" (old), [newval] "=&r" (ret) \ newval 115 arch/xtensa/include/asm/futex.h u32 oldval, u32 newval) newval 153 arch/xtensa/include/asm/futex.h : [ret] "+r" (ret), [newval] "+r" (newval), [tmp] "=&r" (tmp) newval 817 drivers/clk/renesas/renesas-cpg-mssr.c u32 mask, oldval, newval; newval 836 drivers/clk/renesas/renesas-cpg-mssr.c newval = oldval & ~mask; newval 837 drivers/clk/renesas/renesas-cpg-mssr.c newval |= priv->smstpcr_saved[reg].val & mask; newval 838 drivers/clk/renesas/renesas-cpg-mssr.c if (newval == oldval) newval 842 drivers/clk/renesas/renesas-cpg-mssr.c writeb(newval, priv->base + STBCR(reg)); newval 848 drivers/clk/renesas/renesas-cpg-mssr.c writel(newval, priv->base + SMSTPCR(reg)); newval 472 drivers/hwmon/asc7621.c u8 currval, newval = 0; newval 483 drivers/hwmon/asc7621.c newval = i; newval 488 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; newval 490 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); newval 491 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 492 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 522 drivers/hwmon/asc7621.c u8 currval, config, altbit, newval; newval 548 drivers/hwmon/asc7621.c newval = config | (currval & ~(param->mask[0] << param->shift[0])); newval 549 drivers/hwmon/asc7621.c newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); newval 550 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 551 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 560 drivers/hwmon/asc7621.c u8 config, altbit, minoff, val, newval; newval 571 drivers/hwmon/asc7621.c newval = 255; newval 573 drivers/hwmon/asc7621.c newval = 0; newval 575 drivers/hwmon/asc7621.c newval = 1; newval 577 drivers/hwmon/asc7621.c newval = 2; newval 579 drivers/hwmon/asc7621.c newval = 3; newval 581 drivers/hwmon/asc7621.c return sprintf(buf, "%u\n", newval); newval 590 drivers/hwmon/asc7621.c u8 currval, config, altbit, newval, minoff = 255; newval 597 drivers/hwmon/asc7621.c newval = 0x04; newval 600 drivers/hwmon/asc7621.c newval = 0x07; newval 603 drivers/hwmon/asc7621.c newval = 0x00; newval 607 drivers/hwmon/asc7621.c newval = 0x00; newval 611 drivers/hwmon/asc7621.c newval = 0x03; newval 617 drivers/hwmon/asc7621.c config = newval & 0x07; newval 618 drivers/hwmon/asc7621.c altbit = (newval >> 3) & 0x01; newval 624 drivers/hwmon/asc7621.c newval = config | (currval & ~(param->mask[0] << param->shift[0])); newval 625 drivers/hwmon/asc7621.c newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); newval 626 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 627 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 631 drivers/hwmon/asc7621.c newval = newval 633 drivers/hwmon/asc7621.c data->reg[param->msb[2]] = newval; newval 634 drivers/hwmon/asc7621.c write_byte(client, param->msb[2], newval); newval 663 drivers/hwmon/asc7621.c u8 currval, newval = 255; newval 671 drivers/hwmon/asc7621.c newval = i; newval 675 drivers/hwmon/asc7621.c if (newval == 255) newval 678 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; newval 682 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); newval 683 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 684 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 712 drivers/hwmon/asc7621.c u8 currval, newval = 255; newval 720 drivers/hwmon/asc7621.c newval = i; newval 724 drivers/hwmon/asc7621.c if (newval == 255) newval 727 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; newval 731 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); newval 732 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 733 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 759 drivers/hwmon/asc7621.c u8 currval, newval = 255; newval 767 drivers/hwmon/asc7621.c newval = i; newval 772 drivers/hwmon/asc7621.c if (newval == 255) newval 775 drivers/hwmon/asc7621.c newval = (newval & param->mask[0]) << param->shift[0]; newval 779 drivers/hwmon/asc7621.c newval |= (currval & ~(param->mask[0] << param->shift[0])); newval 780 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = newval; newval 781 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], newval); newval 593 drivers/infiniband/hw/qib/qib_sd7220.c u64 newval = 0; newval 595 drivers/infiniband/hw/qib/qib_sd7220.c qib_write_kreg(dd, acc, newval); newval 605 drivers/infiniband/hw/qib/qib_sd7220.c u64 newval = EPB_ACC_REQ | oct_sel; newval 607 drivers/infiniband/hw/qib/qib_sd7220.c qib_write_kreg(dd, acc, newval); newval 353 drivers/media/i2c/max2175.c u8 msb, u8 lsb, u8 newval) newval 356 drivers/media/i2c/max2175.c newval << lsb); newval 364 drivers/media/i2c/max2175.c static int max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) newval 366 drivers/media/i2c/max2175.c return max2175_write_bits(ctx, idx, bit, bit, newval); newval 135 drivers/media/usb/dvb-usb/cxusb.c u8 newval) newval 141 drivers/media/usb/dvb-usb/cxusb.c o[1] = newval & changemask; /* new values for bits */ newval 144 drivers/media/usb/dvb-usb/cxusb.c if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) newval 209 drivers/media/usb/em28xx/em28xx-core.c u8 newval; newval 215 drivers/media/usb/em28xx/em28xx-core.c newval = (((u8)oldval) & ~bitmask) | (val & bitmask); newval 217 drivers/media/usb/em28xx/em28xx-core.c return em28xx_write_regs(dev, reg, &newval, 1); newval 228 drivers/media/usb/em28xx/em28xx-core.c u8 newval; newval 234 drivers/media/usb/em28xx/em28xx-core.c newval = (~oldval & bitmask) | (oldval & ~bitmask); newval 236 drivers/media/usb/em28xx/em28xx-core.c return em28xx_write_reg(dev, reg, newval); newval 121 drivers/mmc/host/sdhci-iproc.c u32 oldval, newval; newval 140 drivers/mmc/host/sdhci-iproc.c newval = (oldval & ~mask) | (val << word_shift); newval 144 drivers/mmc/host/sdhci-iproc.c iproc_host->shadow_cmd = newval; newval 148 drivers/mmc/host/sdhci-iproc.c iproc_host->shadow_blk = newval; newval 152 drivers/mmc/host/sdhci-iproc.c sdhci_iproc_writel(host, newval, reg & ~3); newval 161 drivers/mmc/host/sdhci-iproc.c u32 newval = (oldval & ~mask) | (val << byte_shift); newval 163 drivers/mmc/host/sdhci-iproc.c sdhci_iproc_writel(host, newval, reg & ~3); newval 1508 drivers/mtd/nand/raw/diskonchip.c unsigned char newval; newval 1517 drivers/mtd/nand/raw/diskonchip.c newval = ReadDOC(virtadr, Mplus_AliasResolution); newval 1520 drivers/mtd/nand/raw/diskonchip.c newval = ReadDOC(virtadr, AliasResolution); newval 1522 drivers/mtd/nand/raw/diskonchip.c if (oldval != newval) newval 1525 drivers/mtd/nand/raw/diskonchip.c WriteDOC(~newval, virtadr, Mplus_AliasResolution); newval 1527 drivers/mtd/nand/raw/diskonchip.c WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it newval 1529 drivers/mtd/nand/raw/diskonchip.c WriteDOC(~newval, virtadr, AliasResolution); newval 1531 drivers/mtd/nand/raw/diskonchip.c WriteDOC(newval, virtadr, AliasResolution); // restore it newval 1533 drivers/mtd/nand/raw/diskonchip.c newval = ~newval; newval 1534 drivers/mtd/nand/raw/diskonchip.c if (oldval == newval) { newval 3522 drivers/net/bonding/bond_main.c struct bond_opt_value newval; newval 3609 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, slave_dev->name); newval 3611 drivers/net/bonding/bond_main.c &newval); newval 4414 drivers/net/bonding/bond_main.c struct bond_opt_value newval; newval 4428 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, mode); newval 4429 drivers/net/bonding/bond_main.c valptr = bond_opt_parse(bond_opt_get(BOND_OPT_MODE), &newval); newval 4444 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, xmit_hash_policy); newval 4446 drivers/net/bonding/bond_main.c &newval); newval 4461 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, lacp_rate); newval 4463 drivers/net/bonding/bond_main.c &newval); newval 4474 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, ad_select); newval 4476 drivers/net/bonding/bond_main.c &newval); newval 4551 drivers/net/bonding/bond_main.c bond_opt_initval(&newval, packets_per_slave); newval 4552 drivers/net/bonding/bond_main.c if (!bond_opt_parse(bond_opt_get(BOND_OPT_PACKETS_PER_SLAVE), &newval)) { newval 4633 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, arp_validate); newval 4635 drivers/net/bonding/bond_main.c &newval); newval 4647 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, arp_all_targets); newval 4649 drivers/net/bonding/bond_main.c &newval); newval 4689 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, primary_reselect); newval 4691 drivers/net/bonding/bond_main.c &newval); newval 4703 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, fail_over_mac); newval 4705 drivers/net/bonding/bond_main.c &newval); newval 4718 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, "default"); newval 4721 drivers/net/bonding/bond_main.c &newval); newval 4729 drivers/net/bonding/bond_main.c &newval); newval 4736 drivers/net/bonding/bond_main.c bond_opt_initstr(&newval, "default"); newval 4737 drivers/net/bonding/bond_main.c valptr = bond_opt_parse(bond_opt_get(BOND_OPT_TLB_DYNAMIC_LB), &newval); newval 136 drivers/net/bonding/bond_netlink.c struct bond_opt_value newval; newval 149 drivers/net/bonding/bond_netlink.c bond_opt_initstr(&newval, queue_id_str); newval 150 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval); newval 163 drivers/net/bonding/bond_netlink.c struct bond_opt_value newval; newval 173 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, mode); newval 174 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_MODE, &newval); newval 190 drivers/net/bonding/bond_netlink.c bond_opt_initstr(&newval, active_slave); newval 191 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); newval 198 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, miimon); newval 199 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval); newval 206 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, updelay); newval 207 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_UPDELAY, &newval); newval 214 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, downdelay); newval 215 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_DOWNDELAY, &newval); newval 222 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, delay); newval 223 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_PEER_NOTIF_DELAY, &newval); newval 230 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, use_carrier); newval 231 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_USE_CARRIER, &newval); newval 243 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, arp_interval); newval 244 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_ARP_INTERVAL, &newval); newval 261 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, (__force u64)target); newval 263 drivers/net/bonding/bond_netlink.c &newval); newval 281 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, arp_validate); newval 282 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_ARP_VALIDATE, &newval); newval 290 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, arp_all_targets); newval 291 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_ARP_ALL_TARGETS, &newval); newval 304 drivers/net/bonding/bond_netlink.c bond_opt_initstr(&newval, primary); newval 305 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_PRIMARY, &newval); newval 313 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, primary_reselect); newval 314 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_PRIMARY_RESELECT, &newval); newval 322 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, fail_over_mac); newval 323 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_FAIL_OVER_MAC, &newval); newval 331 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, xmit_hash_policy); newval 332 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_XMIT_HASH, &newval); newval 340 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, resend_igmp); newval 341 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_RESEND_IGMP, &newval); newval 349 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, num_peer_notif); newval 350 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_NUM_PEER_NOTIF, &newval); newval 358 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, all_slaves_active); newval 359 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_ALL_SLAVES_ACTIVE, &newval); newval 367 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, min_links); newval 368 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_MINLINKS, &newval); newval 376 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, lp_interval); newval 377 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_LP_INTERVAL, &newval); newval 385 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, packets_per_slave); newval 386 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_PACKETS_PER_SLAVE, &newval); newval 394 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, lacp_rate); newval 395 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_LACP_RATE, &newval); newval 403 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, ad_select); newval 404 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_AD_SELECT, &newval); newval 412 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, actor_sys_prio); newval 413 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_AD_ACTOR_SYS_PRIO, &newval); newval 421 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, port_key); newval 422 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_AD_USER_PORT_KEY, &newval); newval 430 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, newval 432 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_AD_ACTOR_SYSTEM, &newval); newval 439 drivers/net/bonding/bond_netlink.c bond_opt_initval(&newval, dynamic_lb); newval 440 drivers/net/bonding/bond_netlink.c err = __bond_opt_set(bond, BOND_OPT_TLB_DYNAMIC_LB, &newval); newval 20 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 22 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 24 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 26 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 28 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 30 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 32 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 36 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 38 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 40 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 42 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 44 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 46 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 48 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 50 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 52 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 54 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 56 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 58 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 60 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 62 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 64 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 66 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 68 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 70 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 72 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 74 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 76 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 78 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval); newval 749 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 751 drivers/net/bonding/bond_options.c if (!bond_mode_uses_arp(newval->value)) { newval 754 drivers/net/bonding/bond_options.c newval->string); newval 767 drivers/net/bonding/bond_options.c if (newval->value == BOND_MODE_ALB) newval 772 drivers/net/bonding/bond_options.c bond->params.mode = newval->value; newval 778 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 784 drivers/net/bonding/bond_options.c sscanf(newval->string, "%15s", ifname); /* IFNAMSIZ */ newval 785 drivers/net/bonding/bond_options.c if (!strlen(ifname) || newval->string[0] == '\n') { newval 842 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 845 drivers/net/bonding/bond_options.c newval->value); newval 846 drivers/net/bonding/bond_options.c bond->params.miimon = newval->value; newval 856 drivers/net/bonding/bond_options.c if (newval->value && bond->params.arp_interval) { newval 868 drivers/net/bonding/bond_options.c if (!newval->value) { newval 884 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval, newval 888 drivers/net/bonding/bond_options.c int value = newval->value; newval 912 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 914 drivers/net/bonding/bond_options.c return _bond_option_delay_set(bond, newval, "up delay", newval 919 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 921 drivers/net/bonding/bond_options.c return _bond_option_delay_set(bond, newval, "down delay", newval 926 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 928 drivers/net/bonding/bond_options.c int ret = _bond_option_delay_set(bond, newval, newval 935 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 938 drivers/net/bonding/bond_options.c newval->value); newval 939 drivers/net/bonding/bond_options.c bond->params.use_carrier = newval->value; newval 949 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 952 drivers/net/bonding/bond_options.c newval->value); newval 953 drivers/net/bonding/bond_options.c bond->params.arp_interval = newval->value; newval 954 drivers/net/bonding/bond_options.c if (newval->value) { newval 968 drivers/net/bonding/bond_options.c if (!newval->value) { newval 1081 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1086 drivers/net/bonding/bond_options.c if (newval->string) { newval 1087 drivers/net/bonding/bond_options.c if (!in4_pton(newval->string+1, -1, (u8 *)&target, -1, NULL)) { newval 1092 drivers/net/bonding/bond_options.c if (newval->string[0] == '+') newval 1094 drivers/net/bonding/bond_options.c else if (newval->string[0] == '-') newval 1099 drivers/net/bonding/bond_options.c target = newval->value; newval 1107 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1110 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1111 drivers/net/bonding/bond_options.c bond->params.arp_validate = newval->value; newval 1117 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1120 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1121 drivers/net/bonding/bond_options.c bond->params.arp_all_targets = newval->value; newval 1127 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1129 drivers/net/bonding/bond_options.c char *p, *primary = newval->string; newval 1176 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1179 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1180 drivers/net/bonding/bond_options.c bond->params.primary_reselect = newval->value; newval 1190 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1193 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1194 drivers/net/bonding/bond_options.c bond->params.fail_over_mac = newval->value; newval 1200 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1203 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1204 drivers/net/bonding/bond_options.c bond->params.xmit_policy = newval->value; newval 1210 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1213 drivers/net/bonding/bond_options.c newval->value); newval 1214 drivers/net/bonding/bond_options.c bond->params.resend_igmp = newval->value; newval 1220 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1222 drivers/net/bonding/bond_options.c bond->params.num_peer_notif = newval->value; newval 1228 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1233 drivers/net/bonding/bond_options.c if (newval->value == bond->params.all_slaves_active) newval 1235 drivers/net/bonding/bond_options.c bond->params.all_slaves_active = newval->value; newval 1238 drivers/net/bonding/bond_options.c if (newval->value) newval 1249 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1252 drivers/net/bonding/bond_options.c newval->value); newval 1253 drivers/net/bonding/bond_options.c bond->params.min_links = newval->value; newval 1260 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1262 drivers/net/bonding/bond_options.c bond->params.lp_interval = newval->value; newval 1268 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1271 drivers/net/bonding/bond_options.c newval->value); newval 1272 drivers/net/bonding/bond_options.c bond->params.packets_per_slave = newval->value; newval 1273 drivers/net/bonding/bond_options.c if (newval->value > 0) { newval 1275 drivers/net/bonding/bond_options.c reciprocal_value(newval->value); newval 1288 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1291 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1292 drivers/net/bonding/bond_options.c bond->params.lacp_fast = newval->value; newval 1299 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1302 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1303 drivers/net/bonding/bond_options.c bond->params.ad_select = newval->value; newval 1309 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1319 drivers/net/bonding/bond_options.c delim = strchr(newval->string, ':'); newval 1331 drivers/net/bonding/bond_options.c if (!dev_valid_name(newval->string) || newval 1336 drivers/net/bonding/bond_options.c sdev = __dev_get_by_name(dev_net(bond->dev), newval->string); newval 1370 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1377 drivers/net/bonding/bond_options.c sscanf(newval->string, "%16s", command); /* IFNAMSIZ*/ newval 1420 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1423 drivers/net/bonding/bond_options.c newval->string, newval->value); newval 1424 drivers/net/bonding/bond_options.c bond->params.tlb_dynamic_lb = newval->value; newval 1430 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1433 drivers/net/bonding/bond_options.c newval->value); newval 1435 drivers/net/bonding/bond_options.c bond->params.ad_actor_sys_prio = newval->value; newval 1442 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1447 drivers/net/bonding/bond_options.c if (newval->string) { newval 1448 drivers/net/bonding/bond_options.c if (!mac_pton(newval->string, macaddr)) newval 1452 drivers/net/bonding/bond_options.c mac = (u8 *)&newval->value; newval 1470 drivers/net/bonding/bond_options.c const struct bond_opt_value *newval) newval 1473 drivers/net/bonding/bond_options.c newval->value); newval 1475 drivers/net/bonding/bond_options.c bond->params.ad_user_port_key = newval->value; newval 6155 drivers/net/ethernet/broadcom/tg3.c static void tg3_refclk_write(struct tg3 *tp, u64 newval) newval 6160 drivers/net/ethernet/broadcom/tg3.c tw32(TG3_EAV_REF_CLCK_LSB, newval & 0xffffffff); newval 6161 drivers/net/ethernet/broadcom/tg3.c tw32(TG3_EAV_REF_CLCK_MSB, newval >> 32); newval 117 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_set_tx_auto_pause_frames(void *mac_drv, u16 newval) newval 122 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_FC_TX_TIMER_S, newval); newval 125 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_get_tx_auto_pause_frames(void *mac_drv, u16 *newval) newval 129 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c *newval = dsaf_get_dev_field(drv, GMAC_FC_TX_TIMER_REG, newval 133 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_set_rx_auto_pause_frames(void *mac_drv, u32 newval) newval 138 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_PAUSE_EN_RX_FDFC_B, !!newval); newval 141 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_config_max_frame_length(void *mac_drv, u16 newval) newval 146 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_MAX_FRM_SIZE_S, newval); newval 149 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_MAX_FRM_SIZE_S, newval); newval 152 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_config_pad_and_crc(void *mac_drv, u8 newval) newval 158 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c dsaf_set_bit(tx_ctrl, GMAC_TX_PAD_EN_B, !!newval); newval 159 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c dsaf_set_bit(tx_ctrl, GMAC_TX_CRC_ADD_B, !!newval); newval 163 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_config_an_mode(void *mac_drv, u8 newval) newval 168 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_TX_AN_EN_B, !!newval); newval 182 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c static void hns_gmac_set_duplex_type(void *mac_drv, u8 newval) newval 187 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c GMAC_DUPLEX_TYPE_B, !!newval); newval 364 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void (*config_max_frame_length)(void *mac_drv, u16 newval); newval 366 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void (*config_pad_and_crc)(void *mac_drv, u8 newval); newval 368 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void (*config_half_duplex)(void *mac_drv, u8 newval); newval 231 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c static void hns_xgmac_config_pad_and_crc(void *mac_drv, u8 newval) newval 236 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); newval 237 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); newval 238 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); newval 303 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c static void hns_xgmac_config_max_frame_length(void *mac_drv, u16 newval) newval 307 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c dsaf_write_dev(drv, XGMAC_MAC_MAX_PKT_SIZE_REG, newval); newval 639 drivers/net/ethernet/natsemi/natsemi.c static int netdev_set_wol(struct net_device *dev, u32 newval); newval 641 drivers/net/ethernet/natsemi/natsemi.c static int netdev_set_sopass(struct net_device *dev, u8 *newval); newval 2706 drivers/net/ethernet/natsemi/natsemi.c static int netdev_set_wol(struct net_device *dev, u32 newval) newval 2713 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_PHY) newval 2715 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_UCAST) newval 2717 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_MCAST) newval 2719 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_BCAST) newval 2721 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_ARP) newval 2723 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_MAGIC) newval 2726 drivers/net/ethernet/natsemi/natsemi.c if (newval & WAKE_MAGICSECURE) { newval 2772 drivers/net/ethernet/natsemi/natsemi.c static int netdev_set_sopass(struct net_device *dev, u8 *newval) newval 2776 drivers/net/ethernet/natsemi/natsemi.c u16 *sval = (u16 *)newval; newval 412 drivers/net/phy/micrel.c int newval; newval 431 drivers/net/phy/micrel.c newval = kszphy_extended_read(phydev, reg); newval 433 drivers/net/phy/micrel.c newval = 0; newval 436 drivers/net/phy/micrel.c newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); newval 439 drivers/net/phy/micrel.c newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4); newval 442 drivers/net/phy/micrel.c newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); newval 445 drivers/net/phy/micrel.c newval = ((newval & 0x0fff) | ((val4 / PS_TO_REG) & 0xf) << 12); newval 447 drivers/net/phy/micrel.c return kszphy_extended_write(phydev, reg, newval); newval 510 drivers/net/phy/micrel.c u16 newval; newval 521 drivers/net/phy/micrel.c newval = phy_read_mmd(phydev, 2, reg); newval 523 drivers/net/phy/micrel.c newval = 0; newval 530 drivers/net/phy/micrel.c newval = (newval & mask) | newval 535 drivers/net/phy/micrel.c return phy_write_mmd(phydev, 2, reg, newval); newval 666 drivers/net/phy/micrel.c u16 newval; newval 691 drivers/net/phy/micrel.c newval = phy_read_mmd(phydev, 2, reg); newval 693 drivers/net/phy/micrel.c newval = 0; newval 700 drivers/net/phy/micrel.c newval = (newval & mask) | newval 705 drivers/net/phy/micrel.c return phy_write_mmd(phydev, 2, reg, newval); newval 208 drivers/scsi/aic94xx/aic94xx_reg.h u16 oldval, u16 newval) newval 215 drivers/scsi/aic94xx/aic94xx_reg.h asd_write_reg_word(asd_ha, ANEWDATA, newval); newval 355 drivers/scsi/cxlflash/main.c int newval; newval 358 drivers/scsi/cxlflash/main.c newval = atomic_dec_if_positive(&hwq->hsq_credits); newval 359 drivers/scsi/cxlflash/main.c if (newval <= 0) { newval 139 drivers/scsi/lpfc/lpfc_nl.h uint32_t newval; newval 3040 drivers/tty/synclinkmp.c unsigned char newval = oldval + newval 3043 drivers/tty/synclinkmp.c if ( oldval != newval ) { newval 3044 drivers/tty/synclinkmp.c info->ie1_value = newval; newval 888 drivers/usb/serial/iuu_phoenix.c u32 newval = cflag & supported_mask; newval 928 drivers/usb/serial/iuu_phoenix.c tty->termios.c_cflag |= newval | csize; newval 361 drivers/video/fbdev/amba-clcd.c u32 val, mask, newval; newval 363 drivers/video/fbdev/amba-clcd.c newval = (red >> 11) & 0x001f; newval 364 drivers/video/fbdev/amba-clcd.c newval |= (green >> 6) & 0x03e0; newval 365 drivers/video/fbdev/amba-clcd.c newval |= (blue >> 1) & 0x7c00; newval 375 drivers/video/fbdev/amba-clcd.c newval <<= 16; newval 382 drivers/video/fbdev/amba-clcd.c writel(val | newval, fb->regs + hw_reg); newval 168 drivers/watchdog/bcm_kona_wdt.c unsigned mask, unsigned newval) newval 181 drivers/watchdog/bcm_kona_wdt.c val |= newval; newval 222 drivers/watchdog/iTCO_wdt.c u16 val, newval; newval 230 drivers/watchdog/iTCO_wdt.c newval = inw(TCO1_CNT(p)); newval 233 drivers/watchdog/iTCO_wdt.c return val != newval ? -EIO : 0; newval 1024 fs/ceph/xattr.c char *newval = NULL; newval 1052 fs/ceph/xattr.c newval = kmemdup(value, val_len, GFP_NOFS); newval 1053 fs/ceph/xattr.c if (!newval) newval 1104 fs/ceph/xattr.c err = __set_xattr(ci, newname, name_len, newval, val_len, newval 1149 fs/ceph/xattr.c kfree(newval); newval 66 fs/jfs/jfs_dmap.c static void dbSplit(dmtree_t * tp, int leafno, int splitsz, int newval); newval 68 fs/jfs/jfs_dmap.c static int dbJoin(dmtree_t * tp, int leafno, int newval); newval 69 fs/jfs/jfs_dmap.c static void dbAdjTree(dmtree_t * tp, int leafno, int newval); newval 70 fs/jfs/jfs_dmap.c static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, newval 2495 fs/jfs/jfs_dmap.c dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) newval 2556 fs/jfs/jfs_dmap.c dbSplit((dmtree_t *) dcp, leafno, dcp->budmin, newval); newval 2558 fs/jfs/jfs_dmap.c rc = dbJoin((dmtree_t *) dcp, leafno, newval); newval 2647 fs/jfs/jfs_dmap.c static void dbSplit(dmtree_t * tp, int leafno, int splitsz, int newval) newval 2681 fs/jfs/jfs_dmap.c dbAdjTree(tp, leafno, newval); newval 2791 fs/jfs/jfs_dmap.c static int dbJoin(dmtree_t * tp, int leafno, int newval) newval 2798 fs/jfs/jfs_dmap.c if (newval >= tp->dmt_budmin) { newval 2816 fs/jfs/jfs_dmap.c budsz = BUDSIZE(newval, tp->dmt_budmin); newval 2828 fs/jfs/jfs_dmap.c if (newval > leaf[buddy]) newval 2832 fs/jfs/jfs_dmap.c if (newval < leaf[buddy]) newval 2857 fs/jfs/jfs_dmap.c newval += 1; newval 2864 fs/jfs/jfs_dmap.c dbAdjTree(tp, leafno, newval); newval 2885 fs/jfs/jfs_dmap.c static void dbAdjTree(dmtree_t * tp, int leafno, int newval) newval 2897 fs/jfs/jfs_dmap.c if (tp->dmt_stree[lp] == newval) newval 2902 fs/jfs/jfs_dmap.c tp->dmt_stree[lp] = newval; newval 96 include/asm-generic/futex.h u32 oldval, u32 newval) newval 106 include/asm-generic/futex.h if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { newval 126 include/asm-generic/futex.h u32 oldval, u32 newval) newval 87 include/linux/audit.h long long oldval, newval; newval 507 include/linux/audit.h ad->vals[type].newval = val; newval 228 include/linux/posix-timers.h u64 *newval, u64 *oldval); newval 499 include/net/ndisc.h void __user *newval, size_t newlen); newval 29 include/sound/ad1843.h int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval); newval 40 include/uapi/linux/sysctl.h void __user *newval; newval 2531 kernel/auditsc.c if (val->newval == val->oldval) newval 2535 kernel/auditsc.c "op=%s old=%lli new=%lli", op, val->oldval, val->newval); newval 801 kernel/futex.c u32 uval, u32 newval) newval 806 kernel/futex.c ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); newval 1397 kernel/futex.c static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) newval 1405 kernel/futex.c err = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); newval 1444 kernel/futex.c u32 uval, newval, vpid = task_pid_vnr(task); newval 1486 kernel/futex.c newval = uval & FUTEX_OWNER_DIED; newval 1487 kernel/futex.c newval |= vpid; newval 1491 kernel/futex.c newval |= FUTEX_WAITERS; newval 1493 kernel/futex.c ret = lock_pi_update_atomic(uaddr, uval, newval); newval 1503 kernel/futex.c newval = uval | FUTEX_WAITERS; newval 1504 kernel/futex.c ret = lock_pi_update_atomic(uaddr, uval, newval); newval 1512 kernel/futex.c return attach_to_pi_owner(uaddr, newval, key, ps, exiting); newval 1570 kernel/futex.c u32 uninitialized_var(curval), newval; newval 1595 kernel/futex.c newval = FUTEX_WAITERS | task_pid_vnr(new_owner); newval 1600 kernel/futex.c ret = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); newval 2460 kernel/futex.c u32 uval, uninitialized_var(curval), newval; newval 2539 kernel/futex.c newval = (uval & FUTEX_OWNER_DIED) | newtid; newval 2541 kernel/futex.c err = cmpxchg_futex_value_locked(&curval, uaddr, uval, newval); newval 96 kernel/rcu/srcutiny.c int newval = ssp->srcu_lock_nesting[idx] - 1; newval 98 kernel/rcu/srcutiny.c WRITE_ONCE(ssp->srcu_lock_nesting[idx], newval); newval 99 kernel/rcu/srcutiny.c if (!newval && READ_ONCE(ssp->srcu_gp_waiting)) newval 25 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen); newval 907 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 914 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 943 kernel/sysctl_binary.c if (newval && newlen) { newval 946 kernel/sysctl_binary.c result = vfs_write(file, newval, newlen, &pos); newval 957 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 999 kernel/sysctl_binary.c if (newval && newlen) { newval 1000 kernel/sysctl_binary.c unsigned __user *vec = newval; newval 1030 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1072 kernel/sysctl_binary.c if (newval && newlen) { newval 1073 kernel/sysctl_binary.c unsigned long __user *vec = newval; newval 1103 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1138 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1177 kernel/sysctl_binary.c if (newval && newlen) { newval 1188 kernel/sysctl_binary.c if (get_user(dnaddr, (__le16 __user *)newval)) newval 1279 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1294 kernel/sysctl_binary.c if (oldval && oldlen && newval && newlen) { newval 1296 kernel/sysctl_binary.c } else if (newval && newlen) { newval 1311 kernel/sysctl_binary.c result = table->convert(file, oldval, oldlen, newval, newlen); newval 1324 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1384 kernel/sysctl_binary.c void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) newval 1399 kernel/sysctl_binary.c return binary_sysctl(name, nlen, oldval, oldlen, newval, newlen); newval 1418 kernel/sysctl_binary.c tmp.newval, tmp.newlen); newval 1439 kernel/sysctl_binary.c compat_uptr_t newval; newval 1463 kernel/sysctl_binary.c compat_ptr(tmp.newval), tmp.newlen); newval 1179 kernel/time/posix-cpu-timers.c u64 *newval, u64 *oldval) newval 1204 kernel/time/posix-cpu-timers.c if (!*newval) newval 1206 kernel/time/posix-cpu-timers.c *newval += now; newval 1213 kernel/time/posix-cpu-timers.c if (*newval < *nextevt) newval 1214 kernel/time/posix-cpu-timers.c *nextevt = *newval; newval 49 net/dccp/ccids/lib/tfrc.h static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) newval 51 net/dccp/ccids/lib/tfrc.h return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; newval 358 net/rds/ib_send.c long oldval, newval; newval 366 net/rds/ib_send.c oldval = newval = atomic_read(&ic->i_credits); newval 387 net/rds/ib_send.c newval -= IB_SET_SEND_CREDITS(got); newval 396 net/rds/ib_send.c newval -= IB_SET_POST_CREDITS(advertise); newval 400 net/rds/ib_send.c if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) newval 165 scripts/kconfig/conf.c tristate oldval, newval; newval 198 scripts/kconfig/conf.c newval = no; newval 204 scripts/kconfig/conf.c newval = mod; newval 210 scripts/kconfig/conf.c newval = yes; newval 215 scripts/kconfig/conf.c newval = oldval; newval 222 scripts/kconfig/conf.c if (sym_set_tristate_value(sym, newval)) newval 808 scripts/kconfig/gconf.c tristate newval; newval 814 scripts/kconfig/gconf.c newval = no; newval 816 scripts/kconfig/gconf.c newval = mod; newval 818 scripts/kconfig/gconf.c newval = yes; newval 825 scripts/kconfig/gconf.c if (!sym_tristate_within_range(sym, newval)) newval 826 scripts/kconfig/gconf.c newval = yes; newval 827 scripts/kconfig/gconf.c sym_set_tristate_value(sym, newval); newval 42 scripts/kconfig/lkc_proto.h bool sym_string_valid(struct symbol *sym, const char *newval); newval 44 scripts/kconfig/lkc_proto.h bool sym_set_string_value(struct symbol *sym, const char *newval); newval 321 scripts/kconfig/symbol.c struct symbol_value newval, oldval; newval 346 scripts/kconfig/symbol.c newval = symbol_empty.curr; newval 350 scripts/kconfig/symbol.c newval = symbol_no.curr; newval 365 scripts/kconfig/symbol.c sym->curr = newval; newval 372 scripts/kconfig/symbol.c newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; newval 379 scripts/kconfig/symbol.c newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, newval 389 scripts/kconfig/symbol.c newval.tri = EXPR_AND(expr_calc_value(prop->expr), newval 391 scripts/kconfig/symbol.c if (newval.tri != no) newval 396 scripts/kconfig/symbol.c newval.tri = EXPR_OR(newval.tri, sym->implied.tri); newval 402 scripts/kconfig/symbol.c newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); newval 404 scripts/kconfig/symbol.c if (newval.tri == mod && newval 406 scripts/kconfig/symbol.c newval.tri = yes; newval 412 scripts/kconfig/symbol.c newval.val = sym->def[S_DEF_USER].val; newval 421 scripts/kconfig/symbol.c newval.val = ds->curr.val; newval 429 scripts/kconfig/symbol.c sym->curr = newval; newval 430 scripts/kconfig/symbol.c if (sym_is_choice(sym) && newval.tri == yes) newval 532 scripts/kconfig/symbol.c tristate oldval, newval; newval 534 scripts/kconfig/symbol.c oldval = newval = sym_get_tristate_value(sym); newval 536 scripts/kconfig/symbol.c switch (newval) { newval 538 scripts/kconfig/symbol.c newval = mod; newval 541 scripts/kconfig/symbol.c newval = yes; newval 544 scripts/kconfig/symbol.c newval = no; newval 547 scripts/kconfig/symbol.c if (sym_set_tristate_value(sym, newval)) newval 549 scripts/kconfig/symbol.c } while (oldval != newval); newval 550 scripts/kconfig/symbol.c return newval; newval 638 scripts/kconfig/symbol.c bool sym_set_string_value(struct symbol *sym, const char *newval) newval 647 scripts/kconfig/symbol.c switch (newval[0]) { newval 660 scripts/kconfig/symbol.c if (!sym_string_within_range(sym, newval)) newval 669 scripts/kconfig/symbol.c size = strlen(newval) + 1; newval 670 scripts/kconfig/symbol.c if (sym->type == S_HEX && (newval[0] != '0' || (newval[1] != 'x' && newval[1] != 'X'))) { newval 675 scripts/kconfig/symbol.c } else if (!oldval || strcmp(oldval, newval)) newval 680 scripts/kconfig/symbol.c strcpy(val, newval); newval 187 sound/mips/ad1843.c int newval) newval 194 sound/mips/ad1843.c newbits = (newval << field->lo_bit) & mask; newval 323 sound/mips/ad1843.c int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval) newval 328 sound/mips/ad1843.c int lg = (newval >> 0) & mask; newval 329 sound/mips/ad1843.c int rg = (newval >> 8) & mask; newval 1036 sound/pci/hda/hda_codec.c unsigned int oldval, newval; newval 1040 sound/pci/hda/hda_codec.c newval = (stream_tag << 4) | channel_id; newval 1041 sound/pci/hda/hda_codec.c if (oldval != newval) newval 1044 sound/pci/hda/hda_codec.c newval); newval 67 sound/ppc/snd_ps3.c u32 newval = read_reg(reg) | or_val; newval 68 sound/ppc/snd_ps3.c write_reg(reg, newval); newval 72 sound/ppc/snd_ps3.c u32 newval = (read_reg(reg) & mask) | or_val; newval 73 sound/ppc/snd_ps3.c write_reg(reg, newval); newval 778 sound/usb/mixer_quirks.c u8 newval = ucontrol->value.integer.value[0]; newval 781 sound/usb/mixer_quirks.c if (oldval == newval) newval 785 sound/usb/mixer_quirks.c kcontrol->private_value |= (unsigned int)newval << 24; newval 64 tools/include/asm-generic/atomic-gcc.h #define cmpxchg(ptr, oldval, newval) \ newval 65 tools/include/asm-generic/atomic-gcc.h __sync_val_compare_and_swap(ptr, oldval, newval) newval 67 tools/include/asm-generic/atomic-gcc.h static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) newval 69 tools/include/asm-generic/atomic-gcc.h return cmpxchg(&(v)->counter, oldval, newval); newval 184 tools/perf/pmu-events/jevents.c static void cut_comma(char *map, jsmntok_t *newval) newval 189 tools/perf/pmu-events/jevents.c for (i = newval->start; i < newval->end; i++) { newval 191 tools/perf/pmu-events/jevents.c newval->end = i; newval 199 tools/perf/pmu-events/jevents.c jsmntok_t newval = *val; newval 203 tools/perf/pmu-events/jevents.c cut_comma(map, &newval); newval 204 tools/perf/pmu-events/jevents.c addfield(map, event, ",", f->kernel, &newval); newval 212 tools/perf/pmu-events/jevents.c jsmntok_t newval = *val; newval 216 tools/perf/pmu-events/jevents.c cut_comma(map, &newval); newval 218 tools/perf/pmu-events/jevents.c if (json_streq(map, &newval, msrmap[i].num)) newval 317 tools/perf/util/pmu.c char newval[256]; newval 343 tools/perf/util/pmu.c memset(newval, 0, sizeof(newval)); newval 347 tools/perf/util/pmu.c ret += scnprintf(newval + ret, sizeof(newval) - ret, newval 350 tools/perf/util/pmu.c ret += scnprintf(newval + ret, sizeof(newval) - ret, newval 353 tools/perf/util/pmu.c ret += scnprintf(newval + ret, sizeof(newval) - ret, newval 380 tools/perf/util/pmu.c alias->str = strdup(newval); newval 36 tools/testing/selftests/bpf/test_sysctl.c const char *newval; newval 120 tools/testing/selftests/bpf/test_sysctl.c .newval = "(none)", /* same as default, should fail anyway */ newval 616 tools/testing/selftests/bpf/test_sysctl.c .newval = "600", /* same as default, should fail anyway */ newval 686 tools/testing/selftests/bpf/test_sysctl.c .newval = "606", newval 736 tools/testing/selftests/bpf/test_sysctl.c .newval = "3000000 4000000 6000000", newval 775 tools/testing/selftests/bpf/test_sysctl.c .newval = "606", newval 844 tools/testing/selftests/bpf/test_sysctl.c .newval = "606", newval 1356 tools/testing/selftests/bpf/test_sysctl.c .newval = "123 456 789", newval 1507 tools/testing/selftests/bpf/test_sysctl.c if (!test->newval) { newval 1511 tools/testing/selftests/bpf/test_sysctl.c if (write(fd, test->newval, strlen(test->newval)) == -1) newval 36 tools/testing/selftests/futex/include/atomic.h atomic_cmpxchg(atomic_t *addr, int oldval, int newval) newval 38 tools/testing/selftests/futex/include/atomic.h return __sync_val_compare_and_swap(&addr->val, oldval, newval); newval 73 tools/testing/selftests/futex/include/atomic.h atomic_set(atomic_t *addr, int newval) newval 75 tools/testing/selftests/futex/include/atomic.h addr->val = newval; newval 76 tools/testing/selftests/futex/include/atomic.h return newval; newval 219 tools/testing/selftests/futex/include/futextest.h futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) newval 221 tools/testing/selftests/futex/include/futextest.h return __sync_val_compare_and_swap(uaddr, oldval, newval); newval 256 tools/testing/selftests/futex/include/futextest.h futex_set(futex_t *uaddr, u_int32_t newval) newval 258 tools/testing/selftests/futex/include/futextest.h *uaddr = newval; newval 259 tools/testing/selftests/futex/include/futextest.h return newval; newval 142 tools/testing/selftests/rseq/basic_percpu_ops_test.c intptr_t *targetptr, newval, expect; newval 148 tools/testing/selftests/rseq/basic_percpu_ops_test.c newval = (intptr_t)node; newval 151 tools/testing/selftests/rseq/basic_percpu_ops_test.c ret = rseq_cmpeqv_storev(targetptr, expect, newval, cpu); newval 520 tools/testing/selftests/rseq/param_test.c intptr_t *targetptr, newval, expect; newval 526 tools/testing/selftests/rseq/param_test.c newval = (intptr_t)node; newval 529 tools/testing/selftests/rseq/param_test.c ret = rseq_cmpeqv_storev(targetptr, expect, newval, cpu); newval 733 tools/testing/selftests/rseq/param_test.c intptr_t *targetptr, newval; newval 745 tools/testing/selftests/rseq/param_test.c newval = offset - 1; newval 749 tools/testing/selftests/rseq/param_test.c (intptr_t)head, newval, cpu);