/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | wtm.c | 27 /* rate change needs atomic mute/unmute of all dacs*/ 68 int id, idx, change; in stac9460_dac_mute_all() local 79 change = (new != old); in stac9460_dac_mute_all() 80 if (change) { in stac9460_dac_mute_all() 98 change = (new != old); in stac9460_dac_mute_all() 99 if (change) { in stac9460_dac_mute_all() 146 int change; in stac9460_dac_mute_put() local 153 change = (new != old); in stac9460_dac_mute_put() 154 if (change) { in stac9460_dac_mute_put() 167 change in stac9460_dac_mute_put() 219 int change; stac9460_dac_vol_put() local 286 int change; stac9460_adc_mute_put() local 356 int change; stac9460_adc_vol_put() local 416 int change, id; stac9460_mic_sw_put() local [all...] |
H A D | prodigy192.c | 57 /* rate change needs atomic mute/unmute of all dacs*/ 82 int change; in stac9460_dac_mute() local 85 change = (new != old); in stac9460_dac_mute() 86 if (change) in stac9460_dac_mute() 89 return change; in stac9460_dac_mute() 113 int idx, change; in stac9460_dac_mute_put() local 125 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put() 127 return change; in stac9460_dac_mute_put() 163 int change; in stac9460_dac_vol_put() local 172 change in stac9460_dac_vol_put() 208 int change; stac9460_adc_mute_put() local 254 int change; stac9460_adc_vol_put() local 293 int change; stac9460_mic_sw_put() local 567 int change; ak4114_input_sw_put() local [all...] |
H A D | aureon.c | 212 int change; in aureon_universe_inmux_put() local 219 change = (oval != nval); in aureon_universe_inmux_put() 220 if (change) { in aureon_universe_inmux_put() 225 return change; in aureon_universe_inmux_put() 376 int change; in aureon_ac97_vol_put() local 386 change = (ovol != nvol); in aureon_ac97_vol_put() 387 if (change) in aureon_ac97_vol_put() 392 return change; in aureon_ac97_vol_put() 417 int change; in aureon_ac97_mute_put() local 424 change in aureon_ac97_mute_put() 454 int change; aureon_ac97_micboost_put() local 657 int change; aureon_ac97_mmute_put() local 717 int change; wm_pcm_mute_put() local 757 int ch, change = 0; wm_master_vol_put() local 811 int change = 0; wm_vol_put() local 864 int change = 0, voices, ofs, i; wm_mute_put() local 907 int change = 0, i; wm_master_mute_put() local 959 int change = 0; wm_pcm_vol_put() local 1000 int i, change = 0; wm_adc_mute_put() local 1049 int change = 0; wm_adc_vol_put() local 1112 int change; wm_adc_mux_put() local 1163 int change; aureon_cs8415_mux_put() local 1213 int change; aureon_cs8415_mute_put() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | wtm.c | 27 /* rate change needs atomic mute/unmute of all dacs*/ 68 int id, idx, change; in stac9460_dac_mute_all() local 79 change = (new != old); in stac9460_dac_mute_all() 80 if (change) { in stac9460_dac_mute_all() 98 change = (new != old); in stac9460_dac_mute_all() 99 if (change) { in stac9460_dac_mute_all() 146 int change; in stac9460_dac_mute_put() local 153 change = (new != old); in stac9460_dac_mute_put() 154 if (change) { in stac9460_dac_mute_put() 167 change in stac9460_dac_mute_put() 219 int change; stac9460_dac_vol_put() local 286 int change; stac9460_adc_mute_put() local 356 int change; stac9460_adc_vol_put() local 416 int change, id; stac9460_mic_sw_put() local [all...] |
H A D | prodigy192.c | 57 /* rate change needs atomic mute/unmute of all dacs*/ 82 int change; in stac9460_dac_mute() local 85 change = (new != old); in stac9460_dac_mute() 86 if (change) in stac9460_dac_mute() 89 return change; in stac9460_dac_mute() 113 int idx, change; in stac9460_dac_mute_put() local 125 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put() 127 return change; in stac9460_dac_mute_put() 163 int change; in stac9460_dac_vol_put() local 172 change in stac9460_dac_vol_put() 208 int change; stac9460_adc_mute_put() local 254 int change; stac9460_adc_vol_put() local 293 int change; stac9460_mic_sw_put() local 567 int change; ak4114_input_sw_put() local [all...] |
H A D | aureon.c | 212 int change; in aureon_universe_inmux_put() local 219 change = (oval != nval); in aureon_universe_inmux_put() 220 if (change) { in aureon_universe_inmux_put() 225 return change; in aureon_universe_inmux_put() 376 int change; in aureon_ac97_vol_put() local 386 change = (ovol != nvol); in aureon_ac97_vol_put() 387 if (change) in aureon_ac97_vol_put() 392 return change; in aureon_ac97_vol_put() 417 int change; in aureon_ac97_mute_put() local 424 change in aureon_ac97_mute_put() 454 int change; aureon_ac97_micboost_put() local 657 int change; aureon_ac97_mmute_put() local 717 int change; wm_pcm_mute_put() local 757 int ch, change = 0; wm_master_vol_put() local 811 int change = 0; wm_vol_put() local 864 int change = 0, voices, ofs, i; wm_mute_put() local 907 int change = 0, i; wm_master_mute_put() local 959 int change = 0; wm_pcm_vol_put() local 1000 int i, change = 0; wm_adc_mute_put() local 1049 int change = 0; wm_adc_vol_put() local 1112 int change; wm_adc_mux_put() local 1163 int change; aureon_cs8415_mux_put() local 1213 int change; aureon_cs8415_mute_put() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | sma1303.c | 256 unsigned int reg, unsigned int mask, unsigned int val, bool *change) in sma1303_regmap_update_bits() 263 mask, val, change); in sma1303_regmap_update_bits() 329 bool change = false, val = (bool)ucontrol->value.integer.value[0]; in sma1303_force_mute_put() local 332 change = false; in sma1303_force_mute_put() 334 change = true; in sma1303_force_mute_put() 340 return change; in sma1303_force_mute_put() 367 bool change; in sma1303_postscaler_put() local 370 SMA1303_90_POSTSCALER, 0x7E, (val << 1), &change); in sma1303_postscaler_put() 374 return change; in sma1303_postscaler_put() 402 bool change; in sma1303_tdm_slot_rx_put() local 255 sma1303_regmap_update_bits(struct sma1303_priv *sma1303, unsigned int reg, unsigned int mask, unsigned int val, bool *change) sma1303_regmap_update_bits() argument 437 bool change; sma1303_tdm_slot_tx_put() local 450 bool change = false, temp = false; sma1303_startup() local 500 bool change = false, temp = false; sma1303_shutdown() local 531 bool change = false, temp = false; sma1303_aif_in_event() local 601 bool change = false, temp = false; sma1303_aif_out_event() local 740 bool change = false, temp = false; sma1303_sdo_event() local 792 bool change = false; sma1303_post_scaler_event() local [all...] |
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | emumixer.c | 655 int change; in snd_emu1010_output_source_put() local 661 change = (emu->emu1010.output_source[channel] != val); in snd_emu1010_output_source_put() 662 if (change) { in snd_emu1010_output_source_put() 666 return change; in snd_emu1010_output_source_put() 699 int change; in snd_emu1010_input_source_put() local 705 change = (emu->emu1010.input_source[channel] != val); in snd_emu1010_input_source_put() 706 if (change) { in snd_emu1010_input_source_put() 710 return change; in snd_emu1010_input_source_put() 767 int change; in snd_emu1010_adc_pads_put() local 775 change in snd_emu1010_adc_pads_put() 825 int change; snd_emu1010_dac_pads_put() local 978 int change = 0; snd_emu1010_clock_source_put() local 1037 int change; snd_emu1010_clock_fallback_put() local 1085 int change = 0; snd_emu1010_optical_out_put() local 1136 int change = 0; snd_emu1010_optical_in_put() local 1193 int change = 0; snd_audigy_i2c_capture_source_put() local 1274 int change = 0; snd_audigy_i2c_volume_put() local 1402 int change; snd_emu10k1_spdif_put() local 1501 int change = 0, voice, idx, val; snd_emu10k1_send_routing_put() local 1570 int change = 0, idx, val; snd_emu10k1_send_volume_put() local 1635 int change = 0, idx, val; snd_emu10k1_attn_put() local 1703 int change = 0, idx, val; snd_emu10k1_efx_send_routing_put() local 1767 int change = 0, idx, val; snd_emu10k1_efx_send_volume_put() local 1826 int change = 0, val; snd_emu10k1_efx_attn_put() local 1879 int change = 0; snd_emu10k1_shared_spdif_put() local [all...] |
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | daca.c | 98 int change; in daca_put_deemphasis() local 102 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 103 if (change) { in daca_put_deemphasis() 107 return change; in daca_put_deemphasis() 139 int change; in daca_put_volume() local 147 change = mix->left_vol != vol[0] || in daca_put_volume() 149 if (change) { in daca_put_volume() 154 return change; in daca_put_volume() 176 int change; in daca_put_amp() local 180 change in daca_put_amp() [all...] |
/kernel/linux/linux-6.6/sound/ppc/ |
H A D | daca.c | 99 int change; in daca_put_deemphasis() local 104 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 105 if (change) { in daca_put_deemphasis() 109 return change; in daca_put_deemphasis() 142 int change; in daca_put_volume() local 151 change = mix->left_vol != vol[0] || in daca_put_volume() 153 if (change) { in daca_put_volume() 158 return change; in daca_put_volume() 181 int change; in daca_put_amp() local 186 change in daca_put_amp() [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | ar7_wdt.c | 52 u32 change; member 105 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 109 pr_err("failed to unlock WDT change reg\n"); in ar7_wdt_change() 130 u32 change; in ar7_wdt_update_margin() local 134 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 135 if (change < 1) in ar7_wdt_update_margin() 136 change = 1; in ar7_wdt_update_margin() 137 if (change > 0xffff) in ar7_wdt_update_margin() 138 change = 0xffff; in ar7_wdt_update_margin() 139 ar7_wdt_change(change); in ar7_wdt_update_margin() [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | ar7_wdt.c | 52 u32 change; member 103 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 107 pr_err("failed to unlock WDT change reg\n"); in ar7_wdt_change() 128 u32 change; in ar7_wdt_update_margin() local 132 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 133 if (change < 1) in ar7_wdt_update_margin() 134 change = 1; in ar7_wdt_update_margin() 135 if (change > 0xffff) in ar7_wdt_update_margin() 136 change = 0xffff; in ar7_wdt_update_margin() 137 ar7_wdt_change(change); in ar7_wdt_update_margin() [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | ops.c | 42 bool change; in snd_sof_pci_update_bits() local 45 change = snd_sof_pci_update_bits_unlocked(sdev, offset, mask, value); in snd_sof_pci_update_bits() 47 return change; in snd_sof_pci_update_bits() 94 bool change; in snd_sof_dsp_update_bits() local 97 change = snd_sof_dsp_update_bits_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits() 100 return change; in snd_sof_dsp_update_bits() 108 bool change; in snd_sof_dsp_update_bits64() local 111 change = snd_sof_dsp_update_bits64_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits64() 114 return change; in snd_sof_dsp_update_bits64()
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ops.c | 42 bool change; in snd_sof_pci_update_bits() local 45 change = snd_sof_pci_update_bits_unlocked(sdev, offset, mask, value); in snd_sof_pci_update_bits() 47 return change; in snd_sof_pci_update_bits() 94 bool change; in snd_sof_dsp_update_bits() local 97 change = snd_sof_dsp_update_bits_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits() 100 return change; in snd_sof_dsp_update_bits() 108 bool change; in snd_sof_dsp_update_bits64() local 111 change = snd_sof_dsp_update_bits64_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits64() 114 return change; in snd_sof_dsp_update_bits64()
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emumixer.c | 697 int change = 0; in snd_emu1010_internal_clock_put() local 703 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put() 704 if (change) { in snd_emu1010_internal_clock_put() 781 return change; in snd_emu1010_internal_clock_put() 820 int change = 0; in snd_emu1010_optical_out_put() local 826 change = (emu->emu1010.optical_out != val); in snd_emu1010_optical_out_put() 827 if (change) { in snd_emu1010_optical_out_put() 833 return change; in snd_emu1010_optical_out_put() 871 int change = 0; in snd_emu1010_optical_in_put() local 877 change in snd_emu1010_optical_in_put() 928 int change = 0; snd_audigy_i2c_capture_source_put() local 1010 int change = 0; snd_audigy_i2c_volume_put() local 1145 int change; snd_emu10k1_spdif_put() local 1254 int change = 0, voice, idx, val; snd_emu10k1_send_routing_put() local 1327 int change = 0, idx, val; snd_emu10k1_send_volume_put() local 1396 int change = 0, idx, val; snd_emu10k1_attn_put() local 1467 int change = 0, idx, val; snd_emu10k1_efx_send_routing_put() local 1535 int change = 0, idx, val; snd_emu10k1_efx_send_volume_put() local 1598 int change = 0, val; snd_emu10k1_efx_attn_put() local 1650 int change = 0; snd_emu10k1_shared_spdif_put() local [all...] |
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 39 struct addr_change change; in etap_change() local 43 change.what = op; in etap_change() 44 memcpy(change.addr, addr, sizeof(change.addr)); in etap_change() 45 memcpy(change.netmask, netmask, sizeof(change.netmask)); in etap_change() 46 CATCH_EINTR(n = write(fd, &change, sizeof(change))); in etap_change() 47 if (n != sizeof(change)) { in etap_change()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 39 struct addr_change change; in etap_change() local 43 change.what = op; in etap_change() 44 memcpy(change.addr, addr, sizeof(change.addr)); in etap_change() 45 memcpy(change.netmask, netmask, sizeof(change.netmask)); in etap_change() 46 CATCH_EINTR(n = write(fd, &change, sizeof(change))); in etap_change() 47 if (n != sizeof(change)) { in etap_change()
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | sb_mixer.c | 79 int change; in snd_sbmixer_put_single() local 86 change = val != oval; in snd_sbmixer_put_single() 87 if (change) in snd_sbmixer_put_single() 90 return change; in snd_sbmixer_put_single() 137 int change; in snd_sbmixer_put_double() local 146 change = left != oleft; in snd_sbmixer_put_double() 147 if (change) in snd_sbmixer_put_double() 154 change = left != oleft || right != oright; in snd_sbmixer_put_double() 155 if (change) { in snd_sbmixer_put_double() 161 return change; in snd_sbmixer_put_double() 217 int change; snd_dt019x_input_sw_put() local 287 int change; snd_als4k_mono_capture_route_put() local 345 int change; snd_sb8mixer_put_mux() local 413 int change; snd_sb16mixer_put_input_sw() local [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb_mixer.c | 79 int change; in snd_sbmixer_put_single() local 86 change = val != oval; in snd_sbmixer_put_single() 87 if (change) in snd_sbmixer_put_single() 90 return change; in snd_sbmixer_put_single() 137 int change; in snd_sbmixer_put_double() local 146 change = left != oleft; in snd_sbmixer_put_double() 147 if (change) in snd_sbmixer_put_double() 154 change = left != oleft || right != oright; in snd_sbmixer_put_double() 155 if (change) { in snd_sbmixer_put_double() 161 return change; in snd_sbmixer_put_double() 217 int change; snd_dt019x_input_sw_put() local 287 int change; snd_als4k_mono_capture_route_put() local 345 int change; snd_sb8mixer_put_mux() local 413 int change; snd_sb16mixer_put_input_sw() local [all...] |
/kernel/linux/linux-5.10/sound/i2c/ |
H A D | tea6330t.c | 97 int change, count, err; in snd_tea6330t_put_master_volume() local 104 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 119 change = err; in snd_tea6330t_put_master_volume() 122 return change; in snd_tea6330t_put_master_volume() 148 int change, err; in snd_tea6330t_put_master_switch() local 157 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 164 change = err; in snd_tea6330t_put_master_switch() 166 return change; in snd_tea6330t_put_master_switch() 199 int change, err; in snd_tea6330t_put_bass() local 207 change in snd_tea6330t_put_bass() 246 int change, err; snd_tea6330t_put_treble() local [all...] |
/kernel/linux/linux-6.6/sound/i2c/ |
H A D | tea6330t.c | 97 int change, count, err; in snd_tea6330t_put_master_volume() local 104 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 120 change = err; in snd_tea6330t_put_master_volume() 123 return change; in snd_tea6330t_put_master_volume() 149 int change, err; in snd_tea6330t_put_master_switch() local 158 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 166 change = err; in snd_tea6330t_put_master_switch() 168 return change; in snd_tea6330t_put_master_switch() 201 int change, err; in snd_tea6330t_put_bass() local 209 change in snd_tea6330t_put_bass() 249 int change, err; snd_tea6330t_put_treble() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
H A D | tsnep_tc.c | 8 /* save one operation at the end for additional operation at list change */ 61 /* change needs to be triggered one or two operations before start of in tsnep_change_duration() 63 * - change is triggered at start of operation (minimum one operation) in tsnep_change_duration() 109 /* calculate change limit; i.e., the time needed between enable and in tsnep_write_gcl() 113 /* case 1: extend cycle time for change in tsnep_write_gcl() 114 * - change duration of last operation in tsnep_write_gcl() 120 /* case 2: cut cycle time for change in tsnep_write_gcl() 121 * - maximum change duration in tsnep_write_gcl() 159 static u64 tsnep_set_gcl_change(struct tsnep_gcl *gcl, int index, u64 change, in tsnep_set_gcl_change() argument 162 /* previous operation triggers change an in tsnep_set_gcl_change() 203 tsnep_insert_gcl_operation(struct tsnep_gcl *gcl, int ref, u64 change, u32 interval) tsnep_insert_gcl_operation() argument 289 u64 change; tsnep_enable_gcl() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 100 unsigned long change; in testcase() local 111 /* change one byte */ in testcase() 112 change = random() % comp_size; in testcase() 113 rand_s2[change] = random() & 0xff; in testcase() 126 unsigned long change; in testcase() local 137 /* change multiple bytes, 1/8 of total */ in testcase() 139 change = random() % comp_size; in testcase() 140 s2[change] = random() & 0xff; in testcase()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 100 unsigned long change; in testcase() local 111 /* change one byte */ in testcase() 112 change = random() % comp_size; in testcase() 113 rand_s2[change] = random() & 0xff; in testcase() 126 unsigned long change; in testcase() local 137 /* change multiple bytes, 1/8 of total */ in testcase() 139 change = random() % comp_size; in testcase() 140 s2[change] = random() & 0xff; in testcase()
|
/kernel/linux/linux-5.10/sound/isa/msnd/ |
H A D | msnd_pinnacle_mixer.c | 85 int change; in snd_msndmix_set_mux() local 104 change = newrecsrc != chip->recsrc; in snd_msndmix_set_mux() 105 if (change) { in snd_msndmix_set_mux() 106 change = 0; in snd_msndmix_set_mux() 110 change = 1; in snd_msndmix_set_mux() 113 return change; in snd_msndmix_set_mux() 254 int change, addr = kcontrol->private_value; in snd_msndmix_volume_put() local 261 change = msnd->left_levels[addr] != left in snd_msndmix_volume_put() 265 return change; in snd_msndmix_volume_put()
|