/linux-4.4.14/drivers/net/bonding/ |
D | bond_options.c | 22 const struct bond_opt_value *newval); 24 const struct bond_opt_value *newval); 26 const struct bond_opt_value *newval); 28 const struct bond_opt_value *newval); 30 const struct bond_opt_value *newval); 32 const struct bond_opt_value *newval); 36 const struct bond_opt_value *newval); 38 const struct bond_opt_value *newval); 40 const struct bond_opt_value *newval); 42 const struct bond_opt_value *newval); [all …]
|
D | bond_netlink.c | 137 struct bond_opt_value newval; in bond_slave_changelink() local 150 bond_opt_initstr(&newval, queue_id_str); in bond_slave_changelink() 151 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval); in bond_slave_changelink() 163 struct bond_opt_value newval; in bond_changelink() local 173 bond_opt_initval(&newval, mode); in bond_changelink() 174 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval); in bond_changelink() 190 bond_opt_initstr(&newval, active_slave); in bond_changelink() 191 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); in bond_changelink() 198 bond_opt_initval(&newval, miimon); in bond_changelink() 199 err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval); in bond_changelink() [all …]
|
D | bond_main.c | 3325 struct bond_opt_value newval; in bond_do_ioctl() local 3413 bond_opt_initstr(&newval, slave_dev->name); in bond_do_ioctl() 3414 res = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); in bond_do_ioctl() 4201 struct bond_opt_value newval; in bond_check_params() local 4209 bond_opt_initstr(&newval, mode); in bond_check_params() 4210 valptr = bond_opt_parse(bond_opt_get(BOND_OPT_MODE), &newval); in bond_check_params() 4225 bond_opt_initstr(&newval, xmit_hash_policy); in bond_check_params() 4227 &newval); in bond_check_params() 4242 bond_opt_initstr(&newval, lacp_rate); in bond_check_params() 4244 &newval); in bond_check_params() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | futex.h | 9 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument 19 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ 30 int oldval = 0, newval, ret; in futex_atomic_op_inuser() local 40 ret, oldval, newval, uaddr, oparg); in futex_atomic_op_inuser() 44 ret, oldval, newval, uaddr, oparg); in futex_atomic_op_inuser() 48 ret, oldval, newval, uaddr, oparg); in futex_atomic_op_inuser() 52 ret, oldval, newval, uaddr, oparg); in futex_atomic_op_inuser() 56 ret, oldval, newval, uaddr, oparg); in futex_atomic_op_inuser() 78 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 90 : "0" (-EFAULT), "d" (newval), "a" (uaddr), "m" (*uaddr) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/drivers/hwmon/ |
D | asc7621.c | 485 u8 currval, newval = 0; in store_ap2_temp() local 496 newval = i; in store_ap2_temp() 501 newval = (newval & param->mask[0]) << param->shift[0]; in store_ap2_temp() 503 newval |= (currval & ~(param->mask[0] << param->shift[0])); in store_ap2_temp() 504 data->reg[param->msb[0]] = newval; in store_ap2_temp() 505 write_byte(client, param->msb[0], newval); in store_ap2_temp() 535 u8 currval, config, altbit, newval; in store_pwm_ac() local 561 newval = config | (currval & ~(param->mask[0] << param->shift[0])); in store_pwm_ac() 562 newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); in store_pwm_ac() 563 data->reg[param->msb[0]] = newval; in store_pwm_ac() [all …]
|
/linux-4.4.14/tools/testing/selftests/futex/include/ |
D | atomic.h | 40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 42 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg() 77 atomic_set(atomic_t *addr, int newval) in atomic_set() argument 79 addr->val = newval; in atomic_set() 80 return newval; in atomic_set()
|
D | futextest.h | 223 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 225 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg() 260 futex_set(futex_t *uaddr, u_int32_t newval) in futex_set() argument 262 *uaddr = newval; in futex_set() 263 return newval; in futex_set()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | auxio_64.c | 34 u8 regval, newval; in __auxio_rmw() local 41 newval = regval | bits_on; in __auxio_rmw() 42 newval &= ~bits_off; in __auxio_rmw() 44 newval &= ~AUXIO_AUX1_MASK; in __auxio_rmw() 46 writel((u32) newval, auxio_register); in __auxio_rmw() 48 sbus_writeb(newval, auxio_register); in __auxio_rmw()
|
/linux-4.4.14/Documentation/zh_CN/arm/ |
D | kernel_user_helpers.txt | 136 int __kuser_cmpxchg(int32_t oldval, int32_t newval, volatile int32_t *ptr); 141 r1 = newval 156 仅在 *ptr 为 oldval 时原子保存 newval 于 *ptr 中。 163 typedef int (__kuser_cmpxchg_t)(int oldval, int newval, volatile int *ptr); 229 const int64_t *newval, 235 r1 = 指向 newval 250 仅在 *ptr 等于 *oldval 指向的 64 位值时,原子保存 *newval 260 const int64_t *newval,
|
/linux-4.4.14/scripts/kconfig/ |
D | symbol.c | 315 struct symbol_value newval, oldval; in sym_calc_value() local 340 newval = symbol_empty.curr; in sym_calc_value() 344 newval = symbol_no.curr; in sym_calc_value() 357 sym->curr = newval; in sym_calc_value() 364 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 372 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 383 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value() 400 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value() 402 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value() 403 newval.tri = yes; in sym_calc_value() [all …]
|
D | lkc_proto.h | 42 bool sym_string_valid(struct symbol *sym, const char *newval); 44 bool sym_set_string_value(struct symbol *sym, const char *newval);
|
D | conf.c | 169 tristate oldval, newval; in conf_sym() local 204 newval = no; in conf_sym() 210 newval = mod; in conf_sym() 216 newval = yes; in conf_sym() 221 newval = oldval; in conf_sym() 228 if (sym_set_tristate_value(sym, newval)) in conf_sym()
|
D | gconf.c | 809 tristate newval; in change_sym_value() local 815 newval = no; in change_sym_value() 817 newval = mod; in change_sym_value() 819 newval = yes; in change_sym_value() 826 if (!sym_tristate_within_range(sym, newval)) in change_sym_value() 827 newval = yes; in change_sym_value() 828 sym_set_tristate_value(sym, newval); in change_sym_value()
|
/linux-4.4.14/arch/mips/paravirt/ |
D | paravirt-smp.c | 30 int newval; in set_numcpus() local 32 if (get_option(&str, &newval)) { in set_numcpus() 33 if (newval < 1 || newval >= NR_CPUS) in set_numcpus() 35 numcpus = newval; in set_numcpus()
|
/linux-4.4.14/drivers/net/phy/ |
D | micrel.c | 300 int newval; in ksz9021_load_values_from_of() local 319 newval = kszphy_extended_read(phydev, reg); in ksz9021_load_values_from_of() 321 newval = 0; in ksz9021_load_values_from_of() 324 newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); in ksz9021_load_values_from_of() 327 newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4); in ksz9021_load_values_from_of() 330 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); in ksz9021_load_values_from_of() 333 newval = ((newval & 0x0fff) | ((val4 / PS_TO_REG) & 0xf) << 12); in ksz9021_load_values_from_of() 335 return kszphy_extended_write(phydev, reg, newval); in ksz9021_load_values_from_of() 415 u16 newval; in ksz9031_of_load_skew_values() local 426 newval = ksz9031_extended_read(phydev, OP_DATA, 2, reg); in ksz9031_of_load_skew_values() [all …]
|
/linux-4.4.14/drivers/mmc/host/ |
D | sdhci-iproc.c | 103 u32 oldval, newval; in sdhci_iproc_writew() local 120 newval = (oldval & ~mask) | (val << word_shift); in sdhci_iproc_writew() 124 iproc_host->shadow_cmd = newval; in sdhci_iproc_writew() 127 iproc_host->shadow_blk = newval; in sdhci_iproc_writew() 130 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writew() 139 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb() local 141 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writeb()
|
D | sdhci-bcm2835.c | 83 u32 newval = (oldval & ~mask) | (val << word_shift); in bcm2835_sdhci_writew() local 86 bcm2835_host->shadow = newval; in bcm2835_sdhci_writew() 88 bcm2835_sdhci_writel(host, newval, reg & ~3); in bcm2835_sdhci_writew() 107 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb() local 109 bcm2835_sdhci_writel(host, newval, reg & ~3); in bcm2835_sdhci_writeb()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | futex_64.h | 88 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 105 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 106 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 109 *uval = newval; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | futex.h | 25 int val, newval; \ 38 "=&r" (newval) \ 103 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 118 : "r" (uaddr), "r" (newval), in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/kernel/ |
D | sysctl_binary.c | 23 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen); 922 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dir() argument 929 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_string() argument 958 if (newval && newlen) { in bin_string() 961 result = vfs_write(file, newval, newlen, &pos); in bin_string() 972 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_intvec() argument 1013 if (newval && newlen) { in bin_intvec() 1014 unsigned __user *vec = newval; in bin_intvec() 1043 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_ulongvec() argument 1084 if (newval && newlen) { in bin_ulongvec() [all …]
|
D | futex.c | 668 u32 uval, u32 newval) in cmpxchg_futex_value_locked() argument 673 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in cmpxchg_futex_value_locked() 1050 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) in lock_pi_update_atomic() argument 1057 if (unlikely(cmpxchg_futex_value_locked(&curval, uaddr, uval, newval))) in lock_pi_update_atomic() 1087 u32 uval, newval, vpid = task_pid_vnr(task); in futex_lock_pi_atomic() local 1129 newval = uval & FUTEX_OWNER_DIED; in futex_lock_pi_atomic() 1130 newval |= vpid; in futex_lock_pi_atomic() 1134 newval |= FUTEX_WAITERS; in futex_lock_pi_atomic() 1136 ret = lock_pi_update_atomic(uaddr, uval, newval); in futex_lock_pi_atomic() 1146 newval = uval | FUTEX_WAITERS; in futex_lock_pi_atomic() [all …]
|
/linux-4.4.14/net/dccp/ccids/lib/ |
D | tfrc.h | 53 static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) in tfrc_ewma() argument 55 return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; in tfrc_ewma()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | clock.c | 82 static __u16 verify_ckctl_value(__u16 newval) in verify_ckctl_value() argument 104 per_exp = (newval >> CKCTL_PERDIV_OFFSET) & 3; in verify_ckctl_value() 105 lcd_exp = (newval >> CKCTL_LCDDIV_OFFSET) & 3; in verify_ckctl_value() 106 arm_exp = (newval >> CKCTL_ARMDIV_OFFSET) & 3; in verify_ckctl_value() 107 dsp_exp = (newval >> CKCTL_DSPDIV_OFFSET) & 3; in verify_ckctl_value() 108 tc_exp = (newval >> CKCTL_TCDIV_OFFSET) & 3; in verify_ckctl_value() 109 dspmmu_exp = (newval >> CKCTL_DSPMMUDIV_OFFSET) & 3; in verify_ckctl_value() 124 newval &= 0xf000; in verify_ckctl_value() 125 newval |= per_exp << CKCTL_PERDIV_OFFSET; in verify_ckctl_value() 126 newval |= lcd_exp << CKCTL_LCDDIV_OFFSET; in verify_ckctl_value() [all …]
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 116 static void hns_gmac_set_tx_auto_pause_frames(void *mac_drv, u16 newval) in hns_gmac_set_tx_auto_pause_frames() argument 121 GMAC_FC_TX_TIMER_S, newval); in hns_gmac_set_tx_auto_pause_frames() 124 static void hns_gmac_get_tx_auto_pause_frames(void *mac_drv, u16 *newval) in hns_gmac_get_tx_auto_pause_frames() argument 128 *newval = dsaf_get_dev_field(drv, GMAC_FC_TX_TIMER_REG, in hns_gmac_get_tx_auto_pause_frames() 132 static void hns_gmac_set_rx_auto_pause_frames(void *mac_drv, u32 newval) in hns_gmac_set_rx_auto_pause_frames() argument 137 GMAC_PAUSE_EN_RX_FDFC_B, !!newval); in hns_gmac_set_rx_auto_pause_frames() 140 static void hns_gmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_gmac_config_max_frame_length() argument 145 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 148 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 151 static void hns_gmac_config_an_mode(void *mac_drv, u8 newval) in hns_gmac_config_an_mode() argument [all …]
|
D | hns_dsaf_mac.h | 358 void (*config_max_frame_length)(void *mac_drv, u16 newval); 360 void (*config_pad_and_crc)(void *mac_drv, u8 newval); 362 void (*config_half_duplex)(void *mac_drv, u8 newval);
|
D | hns_dsaf_xgmac.c | 218 static void hns_xgmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_xgmac_config_pad_and_crc() argument 223 dsaf_set_bit(origin, XGMAC_CTL_TX_PAD_B, !!newval); in hns_xgmac_config_pad_and_crc() 224 dsaf_set_bit(origin, XGMAC_CTL_TX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc() 225 dsaf_set_bit(origin, XGMAC_CTL_RX_FCS_B, !!newval); in hns_xgmac_config_pad_and_crc() 302 static void hns_xgmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_xgmac_config_max_frame_length() argument 306 dsaf_write_dev(drv, XGMAC_MAC_MAX_PKT_SIZE_REG, newval); in hns_xgmac_config_max_frame_length()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | futex.h | 46 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 69 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 100 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 118 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
D | spinlock.h | 61 u32 newval; in arch_spin_lock() local 71 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp) in arch_spin_lock()
|
D | atomic.h | 107 int oldval, newval; in __atomic_add_unless() local 122 : "=&r" (oldval), "=&r" (newval), "=&r" (tmp), "+Qo" (v->counter) in __atomic_add_unless()
|
/linux-4.4.14/Documentation/zh_CN/ |
D | io_ordering.txt | 38 CPU A: writel(newval, ring_ptr); 48 上述例子中,设备可能会先接收到newval2的值,然后接收到newval的值,问题就 55 CPU A: writel(newval, ring_ptr);
|
/linux-4.4.14/include/asm-generic/ |
D | futex.h | 106 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 116 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic() 172 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
|
/linux-4.4.14/arch/mips/include/asm/ |
D | futex.h | 144 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 178 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic() 207 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/Documentation/arm/ |
D | kernel_user_helpers.txt | 122 int __kuser_cmpxchg(int32_t oldval, int32_t newval, volatile int32_t *ptr); 127 r1 = newval 142 Atomically store newval in *ptr only if *ptr is equal to oldval. 149 typedef int (__kuser_cmpxchg_t)(int oldval, int newval, volatile int *ptr); 213 const int64_t *newval, 219 r1 = pointer to newval 234 Atomically store the 64-bit value pointed by *newval in *ptr only if *ptr 244 const int64_t *newval,
|
/linux-4.4.14/arch/m68k/kernel/ |
D | sys_m68k.c | 461 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 493 __put_user(newval, mem); in sys_atomic_cmpxchg_32() 508 struct pt_regs *fp = (struct pt_regs *)&newval; in sys_atomic_cmpxchg_32() 534 sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, int d4, int d5, in sys_atomic_cmpxchg_32() argument 544 *mem = newval; in sys_atomic_cmpxchg_32()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | futex.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 74 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
|
D | futex-irq.h | 92 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 102 ret = put_user(newval, uaddr); in atomic_futex_op_cmpxchg_inatomic()
|
/linux-4.4.14/drivers/staging/media/lirc/ |
D | lirc_sir.c | 317 int newval; in add_read_queue() local 321 newval = val & PULSE_MASK; in add_read_queue() 329 if (newval > TIME_CONST/2) in add_read_queue() 330 newval -= TIME_CONST/2; in add_read_queue() 332 newval = 1; in add_read_queue() 333 newval |= PULSE_BIT; in add_read_queue() 335 newval += TIME_CONST/2; in add_read_queue() 342 rx_buf[rx_tail] = newval; in add_read_queue()
|
/linux-4.4.14/Documentation/ |
D | io_ordering.txt | 17 CPU A: writel(newval, ring_ptr); 27 In the case above, the device may receive newval2 before it receives newval, 34 CPU A: writel(newval, ring_ptr);
|
/linux-4.4.14/sound/mips/ |
D | ad1843.c | 201 int newval) in ad1843_write_bits() argument 208 newbits = (newval << field->lo_bit) & mask; in ad1843_write_bits() 337 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval) in ad1843_set_gain() argument 342 int lg = (newval >> 0) & mask; in ad1843_set_gain() 343 int rg = (newval >> 8) & mask; in ad1843_set_gain()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | futex.h | 109 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 139 : "r" (uaddr), "r" (oldval), "r" (newval), "I" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | futex.h | 104 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 129 : "r" (uaddr), "r" (oldval), "r" (newval), "i"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | futex.h | 98 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 121 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT)); in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | futex.h | 85 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 111 : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | futex.h | 87 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 113 : "r" (uaddr), "r" (oldval), "r" (newval), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | futex.h | 115 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 141 : "r" (oldval), "r" (newval), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
D | spinlock.h | 38 arch_spinlock_t lockval, newval; in arch_spin_lock() local 71 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp), "+Q" (*lock) in arch_spin_lock()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | futex.h | 111 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 113 return user_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | futex.h | 154 u32 newval) in futex_atomic_cmpxchg_inatomic() argument 189 : "r"(expval), "r"(newval), "r"(uaddr), "ir"(-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | futex.h | 118 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 144 ret = put_user(newval, uaddr); in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | futex.h | 14 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dmap.c | 79 static void dbSplit(dmtree_t * tp, int leafno, int splitsz, int newval); 81 static int dbJoin(dmtree_t * tp, int leafno, int newval); 82 static void dbAdjTree(dmtree_t * tp, int leafno, int newval); 83 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 2508 dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, int level) in dbAdjCtl() argument 2569 dbSplit((dmtree_t *) dcp, leafno, dcp->budmin, newval); in dbAdjCtl() 2571 rc = dbJoin((dmtree_t *) dcp, leafno, newval); in dbAdjCtl() 2660 static void dbSplit(dmtree_t * tp, int leafno, int splitsz, int newval) in dbSplit() argument 2694 dbAdjTree(tp, leafno, newval); in dbSplit() 2804 static int dbJoin(dmtree_t * tp, int leafno, int newval) in dbJoin() argument [all …]
|
/linux-4.4.14/include/sound/ |
D | ad1843.h | 29 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval);
|
/linux-4.4.14/sound/oss/ |
D | sb_mixer.c | 235 static void oss_change_bits(sb_devc *devc, unsigned char *regval, int dev, int chn, int newval) in oss_change_bits() argument 241 newval = (int) ((newval * mask) + 50) / 100; /* Scale */ in oss_change_bits() 246 *regval |= (newval & mask) << shift; /* Set the new value */ in oss_change_bits()
|
D | ad1848.c | 460 unsigned char *muteval, int dev, int chn, int newval) in oss_change_bits() argument 468 set_mute_bit = (newval == 0) ^ devc->mix_devices[dev][chn].mutepol; in oss_change_bits() 471 newval = 100 - newval; in oss_change_bits() 487 newval = (int) ((newval * mask) + 50) / 100; /* Scale it */ in oss_change_bits() 489 *regval |= (newval & mask) << shift; /* Set new value */ in oss_change_bits()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | diskonchip.c | 1525 unsigned char newval; in doc_probe() local 1534 newval = ReadDOC(virtadr, Mplus_AliasResolution); in doc_probe() 1537 newval = ReadDOC(virtadr, AliasResolution); in doc_probe() 1539 if (oldval != newval) in doc_probe() 1542 WriteDOC(~newval, virtadr, Mplus_AliasResolution); in doc_probe() 1544 WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it in doc_probe() 1546 WriteDOC(~newval, virtadr, AliasResolution); in doc_probe() 1548 WriteDOC(newval, virtadr, AliasResolution); // restore it in doc_probe() 1550 newval = ~newval; in doc_probe() 1551 if (oldval == newval) { in doc_probe()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 219 u8 newval; in em28xx_write_reg_bits() local 225 newval = (((u8)oldval) & ~bitmask) | (val & bitmask); in em28xx_write_reg_bits() 227 return em28xx_write_regs(dev, reg, &newval, 1); in em28xx_write_reg_bits() 238 u8 newval; in em28xx_toggle_reg_bits() local 244 newval = (~oldval & bitmask) | (oldval & ~bitmask); in em28xx_toggle_reg_bits() 246 return em28xx_write_reg(dev, reg, newval); in em28xx_toggle_reg_bits()
|
/linux-4.4.14/kernel/time/ |
D | posix-cpu-timers.c | 1250 cputime_t *newval, cputime_t *oldval) in set_process_cpu_timer() argument 1272 if (!*newval) in set_process_cpu_timer() 1274 *newval += now; in set_process_cpu_timer() 1283 if (expires_gt(tsk->signal->cputime_expires.prof_exp, *newval)) in set_process_cpu_timer() 1284 tsk->signal->cputime_expires.prof_exp = *newval; in set_process_cpu_timer() 1287 if (expires_gt(tsk->signal->cputime_expires.virt_exp, *newval)) in set_process_cpu_timer() 1288 tsk->signal->cputime_expires.virt_exp = *newval; in set_process_cpu_timer()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | amba-clcd.c | 354 u32 val, mask, newval; in clcdfb_setcolreg() local 356 newval = (red >> 11) & 0x001f; in clcdfb_setcolreg() 357 newval |= (green >> 6) & 0x03e0; in clcdfb_setcolreg() 358 newval |= (blue >> 1) & 0x7c00; in clcdfb_setcolreg() 368 newval <<= 16; in clcdfb_setcolreg() 375 writel(val | newval, fb->regs + hw_reg); in clcdfb_setcolreg()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 137 uint32_t newval; member
|
/linux-4.4.14/drivers/watchdog/ |
D | bcm_kona_wdt.c | 191 unsigned mask, unsigned newval) in bcm_kona_wdt_ctrl_reg_modify() argument 204 val |= newval; in bcm_kona_wdt_ctrl_reg_modify()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_reg.h | 226 u16 oldval, u16 newval) in asd_ddbsite_update_word() argument 233 asd_write_reg_word(asd_ha, ANEWDATA, newval); in asd_ddbsite_update_word()
|
/linux-4.4.14/net/rds/ |
D | iw_send.c | 344 long oldval, newval; in rds_iw_send_grab_credits() local 352 oldval = newval = atomic_read(&ic->i_credits); in rds_iw_send_grab_credits() 373 newval -= IB_SET_SEND_CREDITS(got); in rds_iw_send_grab_credits() 382 newval -= IB_SET_POST_CREDITS(advertise); in rds_iw_send_grab_credits() 386 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) in rds_iw_send_grab_credits()
|
D | ib_send.c | 358 long oldval, newval; in rds_ib_send_grab_credits() local 366 oldval = newval = atomic_read(&ic->i_credits); in rds_ib_send_grab_credits() 387 newval -= IB_SET_SEND_CREDITS(got); in rds_ib_send_grab_credits() 396 newval -= IB_SET_POST_CREDITS(advertise); in rds_ib_send_grab_credits() 400 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) in rds_ib_send_grab_credits()
|
/linux-4.4.14/sound/ppc/ |
D | snd_ps3.c | 79 u32 newval = read_reg(reg) | or_val; in update_reg() local 80 write_reg(reg, newval); in update_reg() 84 u32 newval = (read_reg(reg) & mask) | or_val; in update_mask_reg() local 85 write_reg(reg, newval); in update_mask_reg()
|
/linux-4.4.14/include/linux/ |
D | posix-timers.h | 135 cputime_t *newval, cputime_t *oldval);
|
/linux-4.4.14/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 639 static int netdev_set_wol(struct net_device *dev, u32 newval); 641 static int netdev_set_sopass(struct net_device *dev, u8 *newval); 2703 static int netdev_set_wol(struct net_device *dev, u32 newval) in netdev_set_wol() argument 2710 if (newval & WAKE_PHY) in netdev_set_wol() 2712 if (newval & WAKE_UCAST) in netdev_set_wol() 2714 if (newval & WAKE_MCAST) in netdev_set_wol() 2716 if (newval & WAKE_BCAST) in netdev_set_wol() 2718 if (newval & WAKE_ARP) in netdev_set_wol() 2720 if (newval & WAKE_MAGIC) in netdev_set_wol() 2723 if (newval & WAKE_MAGICSECURE) { in netdev_set_wol() [all …]
|
/linux-4.4.14/fs/ceph/ |
D | xattr.c | 922 char *newval = NULL; in __ceph_setxattr() local 945 newval = kmemdup(value, val_len, GFP_NOFS); in __ceph_setxattr() 946 if (!newval) in __ceph_setxattr() 995 err = __set_xattr(ci, newname, name_len, newval, val_len, in __ceph_setxattr() 1022 kfree(newval); in __ceph_setxattr()
|
/linux-4.4.14/include/net/ |
D | ndisc.h | 215 void __user *newval, size_t newlen);
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 593 u64 newval = 0; in epb_access() local 595 qib_write_kreg(dd, acc, newval); in epb_access() 605 u64 newval = EPB_ACC_REQ | oct_sel; in epb_access() local 607 qib_write_kreg(dd, acc, newval); in epb_access()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | compat.h | 80 unsigned int newval; member
|
/linux-4.4.14/arch/arm/kvm/ |
D | coproc.c | 817 u32 val, newval; in demux_c15_set() local 834 if (get_user(newval, uval)) in demux_c15_set() 838 if (newval != get_ccsidr(val)) in demux_c15_set()
|
/linux-4.4.14/include/uapi/linux/ |
D | sysctl.h | 41 void __user *newval; member
|
/linux-4.4.14/sound/usb/ |
D | mixer_quirks.c | 789 u8 newval = ucontrol->value.integer.value[0]; in snd_nativeinstruments_control_put() local 792 if (oldval == newval) in snd_nativeinstruments_control_put() 796 kcontrol->private_value |= (unsigned int)newval << 24; in snd_nativeinstruments_control_put()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | main.c | 325 long newval; in send_cmd() local 334 newval = atomic64_dec_if_positive(&afu->room); in send_cmd() 335 if (!newval) { in send_cmd() 348 } else if (unlikely(newval < 0)) { in send_cmd()
|
/linux-4.4.14/arch/arm64/kvm/ |
D | sys_regs.c | 1493 u32 val, newval; in demux_c15_set() local 1510 if (get_user(newval, uval)) in demux_c15_set() 1514 if (newval != get_ccsidr(val)) in demux_c15_set()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | cxusb.c | 103 u8 newval) in cxusb_bluebird_gpio_rw() argument 109 o[1] = newval & changemask; /* new values for bits */ in cxusb_bluebird_gpio_rw() 112 if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) in cxusb_bluebird_gpio_rw()
|
/linux-4.4.14/drivers/usb/serial/ |
D | iuu_phoenix.c | 898 u32 newval = cflag & supported_mask; in iuu_set_termios() local 938 tty->termios.c_cflag |= newval | csize; in iuu_set_termios()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_codec.c | 939 unsigned int oldval, newval; in update_pcm_stream_id() local 943 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id() 944 if (oldval != newval) in update_pcm_stream_id() 947 newval); in update_pcm_stream_id()
|
/linux-4.4.14/drivers/tty/ |
D | synclinkmp.c | 3067 unsigned char newval = oldval + in wait_mgsl_event() local 3070 if ( oldval != newval ) { in wait_mgsl_event() 3071 info->ie1_value = newval; in wait_mgsl_event()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6133 static void tg3_refclk_write(struct tg3 *tp, u64 newval) in tg3_refclk_write() argument 6138 tw32(TG3_EAV_REF_CLCK_LSB, newval & 0xffffffff); in tg3_refclk_write() 6139 tw32(TG3_EAV_REF_CLCK_MSB, newval >> 32); in tg3_refclk_write()
|