/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | percpu.h | 83 #define raw_cpu_generic_xchg(pcp, nval) \ 88 *__p = nval; \ 92 #define __cpu_fallback_try_cmpxchg(pcp, ovalp, nval, _cmpxchg) \ 95 __val = _cmpxchg(pcp, __old, nval); \ 101 #define raw_cpu_generic_try_cmpxchg(pcp, ovalp, nval) \ 107 *__p = nval; \ 116 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ 119 raw_cpu_generic_try_cmpxchg(pcp, &__old, nval); \ 171 #define this_cpu_generic_xchg(pcp, nval) \ 176 __ret = raw_cpu_generic_xchg(pcp, nval); \ [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | percpu.h | 83 #define raw_cpu_generic_xchg(pcp, nval) \ 88 *__p = nval; \ 92 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ 98 *__p = nval; \ 163 #define this_cpu_generic_xchg(pcp, nval) \ 168 __ret = raw_cpu_generic_xchg(pcp, nval); \ 173 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ 178 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \ 273 #define raw_cpu_xchg_1(pcp, nval) raw_cpu_generic_xchg(pcp, nval) [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | percpu.h | 134 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ 141 ret__ = cmpxchg(ptr__, oval, nval); \ 146 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 147 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 148 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 149 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) [all...] |
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | mipi_disco.c | 35 int nval, i; in sdw_master_read_prop() local 63 nval = fwnode_property_count_u32(link, "mipi-sdw-clock-frequencies-supported"); in sdw_master_read_prop() 64 if (nval > 0) { in sdw_master_read_prop() 65 prop->num_clk_freq = nval; in sdw_master_read_prop() 89 nval = fwnode_property_count_u32(link, "mipi-sdw-supported-clock-gears"); in sdw_master_read_prop() 90 if (nval > 0) { in sdw_master_read_prop() 91 prop->num_clk_gears = nval; in sdw_master_read_prop() 127 int nval; in sdw_slave_read_dp0() local 135 nval = fwnode_property_count_u32(port, "mipi-sdw-port-wordlength-configs"); in sdw_slave_read_dp0() 136 if (nval > in sdw_slave_read_dp0() 168 int nval; sdw_slave_read_dpn() local 292 int nval; sdw_slave_read_prop() local [all...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | mipi_disco.c | 35 int nval, i; in sdw_master_read_prop() local 63 nval = fwnode_property_count_u32(link, "mipi-sdw-clock-frequencies-supported"); in sdw_master_read_prop() 64 if (nval > 0) { in sdw_master_read_prop() 65 prop->num_clk_freq = nval; in sdw_master_read_prop() 89 nval = fwnode_property_count_u32(link, "mipi-sdw-supported-clock-gears"); in sdw_master_read_prop() 90 if (nval > 0) { in sdw_master_read_prop() 91 prop->num_clk_gears = nval; in sdw_master_read_prop() 127 int nval; in sdw_slave_read_dp0() local 135 nval = fwnode_property_count_u32(port, "mipi-sdw-port-wordlength-configs"); in sdw_slave_read_dp0() 136 if (nval > in sdw_slave_read_dp0() 168 int nval; sdw_slave_read_dpn() local 292 int nval; sdw_slave_read_prop() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/microchip/ |
H A D | sparx5_serdes.h | 83 u32 nval; in sdx5_rmw() local 88 nval = readl(addr); in sdx5_rmw() 89 nval = (nval & ~mask) | (val & mask); in sdx5_rmw() 90 writel(nval, addr); in sdx5_rmw() 98 u32 nval; in sdx5_inst_rmw() local 103 nval = readl(addr); in sdx5_inst_rmw() 104 nval = (nval & ~mask) | (val & mask); in sdx5_inst_rmw() 105 writel(nval, add in sdx5_inst_rmw() 110 u32 nval; sdx5_rmw_addr() local [all...] |
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | percpu.h | 134 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ 141 ret__ = cmpxchg(ptr__, oval, nval); \ 146 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 147 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 148 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) 149 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | percpu.h | 186 __pcpu_op2_##size("cmpxchg", "%[nval]", \ 191 : [nval] __pcpu_reg_##size(, pxo_new__) \ 204 asm qual (__pcpu_op2_##size("cmpxchg", "%[nval]", \ 208 : [nval] __pcpu_reg_##size(, pco_new__) \ 238 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) 239 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) 243 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); [all...] |
/kernel/linux/linux-5.10/drivers/base/ |
H A D | property.c | 65 * @nval: Size of the @val array 79 u8 *val, size_t nval) in device_property_read_u8_array() 81 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array() 90 * @nval: Size of the @val array 104 u16 *val, size_t nval) in device_property_read_u16_array() 106 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array() 115 * @nval: Size of the @val array 129 u32 *val, size_t nval) in device_property_read_u32_array() 131 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array() 140 * @nval 78 device_property_read_u8_array(struct device *dev, const char *propname, u8 *val, size_t nval) device_property_read_u8_array() argument 103 device_property_read_u16_array(struct device *dev, const char *propname, u16 *val, size_t nval) device_property_read_u16_array() argument 128 device_property_read_u32_array(struct device *dev, const char *propname, u32 *val, size_t nval) device_property_read_u32_array() argument 153 device_property_read_u64_array(struct device *dev, const char *propname, u64 *val, size_t nval) device_property_read_u64_array() argument 178 device_property_read_string_array(struct device *dev, const char *propname, const char **val, size_t nval) device_property_read_string_array() argument 229 fwnode_property_read_int_array(const struct fwnode_handle *fwnode, const char *propname, unsigned int elem_size, void *val, size_t nval) fwnode_property_read_int_array() argument 265 fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, const char *propname, u8 *val, size_t nval) fwnode_property_read_u8_array() argument 291 fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, const char *propname, u16 *val, size_t nval) fwnode_property_read_u16_array() argument 317 fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, const char *propname, u32 *val, size_t nval) fwnode_property_read_u32_array() argument 343 fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, const char *propname, u64 *val, size_t nval) fwnode_property_read_u64_array() argument 369 fwnode_property_read_string_array(const struct fwnode_handle *fwnode, const char *propname, const char **val, size_t nval) fwnode_property_read_string_array() argument 429 int nval, ret; fwnode_property_match_string() local [all...] |
H A D | swnode.c | 147 size_t nval) in property_entry_read_int_array() 159 length = nval * elem_size; in property_entry_read_int_array() 171 const char **strings, size_t nval) in property_entry_read_string_array() 187 array_len = min_t(size_t, nval, array_len); in property_entry_read_string_array() 202 size_t i, nval; in property_entry_free_data() local 206 nval = p->length / sizeof(*src_str); in property_entry_free_data() 207 for (i = 0; i < nval; i++) in property_entry_free_data() 219 size_t nval) in property_copy_string_array() 223 for (i = 0; i < nval; i++) { in property_copy_string_array() 240 size_t nval; in property_entry_copy_data() local 144 property_entry_read_int_array(const struct property_entry *props, const char *name, unsigned int elem_size, void *val, size_t nval) property_entry_read_int_array() argument 169 property_entry_read_string_array(const struct property_entry *props, const char *propname, const char **strings, size_t nval) property_entry_read_string_array() argument 217 property_copy_string_array(const char **dst_ptr, const char * const *src_ptr, size_t nval) property_copy_string_array() argument 374 software_node_read_int_array(const struct fwnode_handle *fwnode, const char *propname, unsigned int elem_size, void *val, size_t nval) software_node_read_int_array() argument 385 software_node_read_string_array(const struct fwnode_handle *fwnode, const char *propname, const char **val, size_t nval) software_node_read_string_array() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | property.c | 77 * @nval: Size of the @val array 83 * this function with @val equals %NULL and @nval equals 0. 94 u8 *val, size_t nval) in device_property_read_u8_array() 96 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array() 105 * @nval: Size of the @val array 111 * this function with @val equals %NULL and @nval equals 0. 122 u16 *val, size_t nval) in device_property_read_u16_array() 124 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array() 133 * @nval: Size of the @val array 139 * this function with @val equals %NULL and @nval equal 93 device_property_read_u8_array(const struct device *dev, const char *propname, u8 *val, size_t nval) device_property_read_u8_array() argument 121 device_property_read_u16_array(const struct device *dev, const char *propname, u16 *val, size_t nval) device_property_read_u16_array() argument 149 device_property_read_u32_array(const struct device *dev, const char *propname, u32 *val, size_t nval) device_property_read_u32_array() argument 177 device_property_read_u64_array(const struct device *dev, const char *propname, u64 *val, size_t nval) device_property_read_u64_array() argument 205 device_property_read_string_array(const struct device *dev, const char *propname, const char **val, size_t nval) device_property_read_string_array() argument 256 fwnode_property_read_int_array(const struct fwnode_handle *fwnode, const char *propname, unsigned int elem_size, void *val, size_t nval) fwnode_property_read_int_array() argument 296 fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, const char *propname, u8 *val, size_t nval) fwnode_property_read_u8_array() argument 325 fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, const char *propname, u16 *val, size_t nval) fwnode_property_read_u16_array() argument 354 fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, const char *propname, u32 *val, size_t nval) fwnode_property_read_u32_array() argument 383 fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, const char *propname, u64 *val, size_t nval) fwnode_property_read_u64_array() argument 412 fwnode_property_read_string_array(const struct fwnode_handle *fwnode, const char *propname, const char **val, size_t nval) fwnode_property_read_string_array() argument 474 int nval, ret; fwnode_property_match_string() local [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | percpu.h | 186 __pcpu_op2_##size("cmpxchg", "%[nval]", \ 191 : [nval] __pcpu_reg_##size(, pxo_new__) \ 204 asm qual (__pcpu_op2_##size("cmpxchg", "%[nval]", \ 208 : [nval] __pcpu_reg_##size(, pco_new__) \ 249 #define raw_percpu_xchg_op(var, nval) \ 252 raw_cpu_write(var, (nval)); \ 275 #define this_cpu_xchg_1(pcp, nval) percpu_xchg_op(1, volatile, pcp, nval) 276 #define this_cpu_xchg_2(pcp, nval) percpu_xchg_op(2, volatile, pcp, nval) [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | percpu-defs.h | 414 #define raw_cpu_xchg(pcp, nval) __pcpu_size_call_return2(raw_cpu_xchg_, pcp, nval) 415 #define raw_cpu_cmpxchg(pcp, oval, nval) \ 416 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval) 417 #define raw_cpu_try_cmpxchg(pcp, ovalp, nval) \ 418 __pcpu_size_call_return2bool(raw_cpu_try_cmpxchg_, pcp, ovalp, nval) 466 #define __this_cpu_xchg(pcp, nval) \ 469 raw_cpu_xchg(pcp, nval); \ 472 #define __this_cpu_cmpxchg(pcp, oval, nval) \ 475 raw_cpu_cmpxchg(pcp, oval, nval); \ [all...] |
/kernel/linux/linux-5.10/sound/isa/gus/ |
H A D | gus_mixer.c | 44 unsigned char oval, nval; in snd_gf1_put_single() local 46 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single() 48 nval ^= 1; in snd_gf1_put_single() 49 nval <<= shift; in snd_gf1_put_single() 52 nval = (oval & ~(1 << shift)) | nval; in snd_gf1_put_single() 53 change = nval != oval; in snd_gf1_put_single() 54 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); in snd_gf1_put_single()
|
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | gus_mixer.c | 44 unsigned char oval, nval; in snd_gf1_put_single() local 46 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single() 48 nval ^= 1; in snd_gf1_put_single() 49 nval <<= shift; in snd_gf1_put_single() 52 nval = (oval & ~(1 << shift)) | nval; in snd_gf1_put_single() 53 change = nval != oval; in snd_gf1_put_single() 54 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); in snd_gf1_put_single()
|
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.h | 233 u16 nval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); in asd_ddbsite_update_byte() local 235 if ((nval >> 8) != _oldval) in asd_ddbsite_update_byte() 237 nval = (_newval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte() 238 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte() 240 if ((nval & 0xFF) != _oldval) in asd_ddbsite_update_byte() 242 nval = (nval & 0xFF00) | _newval; in asd_ddbsite_update_byte() 243 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte() 245 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.h | 233 u16 nval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); in asd_ddbsite_update_byte() local 235 if ((nval >> 8) != _oldval) in asd_ddbsite_update_byte() 237 nval = (_newval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte() 238 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte() 240 if ((nval & 0xFF) != _oldval) in asd_ddbsite_update_byte() 242 nval = (nval & 0xFF00) | _newval; in asd_ddbsite_update_byte() 243 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte() 245 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte() [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | ice1712.c | 250 unsigned char val, nval; in snd_ice1712_digmix_route_ac97_put() local 254 nval = val & ~ICE1712_ROUTE_AC97; in snd_ice1712_digmix_route_ac97_put() 256 nval |= ICE1712_ROUTE_AC97; in snd_ice1712_digmix_route_ac97_put() 257 outb(nval, ICEMT(ice, MONITOR_ROUTECTRL)); in snd_ice1712_digmix_route_ac97_put() 259 return val != nval; in snd_ice1712_digmix_route_ac97_put() 320 unsigned char val, nval; in snd_ice1712_cs8427_set_input_clock() local 332 nval = val & 0xf0; in snd_ice1712_cs8427_set_input_clock() 334 nval |= 0x01; in snd_ice1712_cs8427_set_input_clock() 336 nval |= 0x04; in snd_ice1712_cs8427_set_input_clock() 337 if (val != nval) { in snd_ice1712_cs8427_set_input_clock() 1275 unsigned int nval, change; snd_ice1712_pro_mixer_switch_put() local 1317 unsigned int nval, change; snd_ice1712_pro_mixer_volume_put() local 1736 unsigned int val, nval; snd_ice1712_gpio_put() local 1916 int change = 0, nval; snd_ice1712_pro_rate_locking_put() local 1947 int change = 0, nval; snd_ice1712_pro_rate_reset_put() local 2014 unsigned int val, old_val, nval; snd_ice1712_pro_route_analog_put() local 2084 unsigned int val, old_val, nval; snd_ice1712_pro_route_spdif_put() local [all...] |
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | sb_mixer.c | 218 unsigned char nval, oval; in snd_dt019x_input_sw_put() local 224 nval = SB_DT019X_CAP_CD; in snd_dt019x_input_sw_put() 227 nval = SB_DT019X_CAP_MIC; in snd_dt019x_input_sw_put() 230 nval = SB_DT019X_CAP_LINE; in snd_dt019x_input_sw_put() 233 nval = SB_DT019X_CAP_SYNTH; in snd_dt019x_input_sw_put() 236 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put() 239 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put() 243 change = nval != oval; in snd_dt019x_input_sw_put() 245 snd_sbmixer_write(sb, SB_DT019X_CAPTURE_SW, nval); in snd_dt019x_input_sw_put() 288 unsigned char nval, ova in snd_als4k_mono_capture_route_put() local 346 unsigned char nval, oval; snd_sb8mixer_put_mux() local [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb_mixer.c | 218 unsigned char nval, oval; in snd_dt019x_input_sw_put() local 224 nval = SB_DT019X_CAP_CD; in snd_dt019x_input_sw_put() 227 nval = SB_DT019X_CAP_MIC; in snd_dt019x_input_sw_put() 230 nval = SB_DT019X_CAP_LINE; in snd_dt019x_input_sw_put() 233 nval = SB_DT019X_CAP_SYNTH; in snd_dt019x_input_sw_put() 236 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put() 239 nval = SB_DT019X_CAP_MAIN; in snd_dt019x_input_sw_put() 243 change = nval != oval; in snd_dt019x_input_sw_put() 245 snd_sbmixer_write(sb, SB_DT019X_CAPTURE_SW, nval); in snd_dt019x_input_sw_put() 288 unsigned char nval, ova in snd_als4k_mono_capture_route_put() local 346 unsigned char nval, oval; snd_sb8mixer_put_mux() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | property.c | 869 size_t nval) in acpi_copy_property_array_u8() 873 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u8() 885 u16 *val, size_t nval) in acpi_copy_property_array_u16() 889 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u16() 901 u32 *val, size_t nval) in acpi_copy_property_array_u32() 905 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u32() 917 u64 *val, size_t nval) in acpi_copy_property_array_u64() 921 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u64() 931 char **val, size_t nval) in acpi_copy_property_array_string() 935 for (i = 0; i < nval; in acpi_copy_property_array_string() 868 acpi_copy_property_array_u8(const union acpi_object *items, u8 *val, size_t nval) acpi_copy_property_array_u8() argument 884 acpi_copy_property_array_u16(const union acpi_object *items, u16 *val, size_t nval) acpi_copy_property_array_u16() argument 900 acpi_copy_property_array_u32(const union acpi_object *items, u32 *val, size_t nval) acpi_copy_property_array_u32() argument 916 acpi_copy_property_array_u64(const union acpi_object *items, u64 *val, size_t nval) acpi_copy_property_array_u64() argument 930 acpi_copy_property_array_string(const union acpi_object *items, char **val, size_t nval) acpi_copy_property_array_string() argument 944 acpi_data_prop_read(const struct acpi_device_data *data, const char *propname, enum dev_prop_type proptype, void *val, size_t nval) acpi_data_prop_read() argument 1008 acpi_dev_prop_read(const struct acpi_device *adev, const char *propname, enum dev_prop_type proptype, void *val, size_t nval) acpi_dev_prop_read() argument 1026 acpi_node_prop_read(const struct fwnode_handle *fwnode, const char *propname, enum dev_prop_type proptype, void *val, size_t nval) acpi_node_prop_read() argument 1294 acpi_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, const char *propname, unsigned int elem_size, void *val, size_t nval) acpi_fwnode_property_read_int_array() argument 1322 acpi_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, const char *propname, const char **val, size_t nval) acpi_fwnode_property_read_string_array() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_statistic.c | 33 int nval, oval; in statistic_mt() local 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt() 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt() 45 if (nval == 0) in statistic_mt()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_statistic.c | 33 int nval, oval; in statistic_mt() local 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt() 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt() 45 if (nval == 0) in statistic_mt()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | percpu-defs.h | 426 #define raw_cpu_xchg(pcp, nval) __pcpu_size_call_return2(raw_cpu_xchg_, pcp, nval) 427 #define raw_cpu_cmpxchg(pcp, oval, nval) \ 428 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval) 479 #define __this_cpu_xchg(pcp, nval) \ 482 raw_cpu_xchg(pcp, nval); \ 485 #define __this_cpu_cmpxchg(pcp, oval, nval) \ 488 raw_cpu_cmpxchg(pcp, oval, nval); \ 513 #define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, pcp, nval) [all...] |
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | pontis.c | 128 unsigned short oval, nval; in wm_dac_vol_put() local 133 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put() 134 nval = (nval ? (nval + DAC_MIN) : 0) & 0xff; in wm_dac_vol_put() 137 if (oval != nval) { in wm_dac_vol_put() 138 wm_put(ice, idx, nval); in wm_dac_vol_put() 139 wm_put_nocache(ice, idx, nval | 0x100); in wm_dac_vol_put() 221 unsigned short oval, nval; in wm_adc_mux_put() local 225 nval in wm_adc_mux_put() 511 unsigned int val, nval; pontis_gpio_data_put() local [all...] |