Home
last modified time | relevance | path

Searched refs:private_value (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/linux-6.15/sound/i2c/other/
H A Dak4xxx-adda.c390 if (AK_GET_INVERT(kcontrol->private_value)) in put_ak_reg()
622 knew.private_value = in build_dac_controls()
653 knew.private_value = in build_dac_controls()
660 knew.private_value = in build_dac_controls()
668 knew.private_value = in build_dac_controls()
681 knew.private_value = in build_dac_controls()
688 knew.private_value = in build_dac_controls()
694 knew.private_value = in build_dac_controls()
748 knew.private_value = in build_adc_controls()
769 knew.private_value = in build_adc_controls()
[all …]
/linux-6.15/sound/pci/
H A Dak4531_codec.c62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single()
74 int reg = kcontrol->private_value & 0xff; in snd_ak4531_get_single()
76 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single()
77 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_get_single()
93 int reg = kcontrol->private_value & 0xff; in snd_ak4531_put_single()
95 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single()
96 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_put_single()
141 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_get_double()
165 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_put_double()
216 int reg1 = kcontrol->private_value & 0xff; in snd_ak4531_get_input_sw()
[all …]
/linux-6.15/sound/ppc/
H A Dburgundy.c177 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_volume()
188 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_volume()
253 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_get_volume_2b()
264 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_put_volume_2b()
287 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain()
301 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_get_gain()
319 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_put_gain()
396 .private_value = ((lbit) | ((rbit) << 8)\
418 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_get_switch_b()
433 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_put_switch_b()
[all …]
H A Dawacs.c335 int index = kcontrol->private_value; in snd_pmac_awacs_get_volume_amp()
347 int index = kcontrol->private_value; in snd_pmac_awacs_put_volume_amp()
362 int index = kcontrol->private_value; in snd_pmac_awacs_get_switch_amp()
376 int index = kcontrol->private_value; in snd_pmac_awacs_put_switch_amp()
401 int index = kcontrol->private_value; in snd_pmac_awacs_get_tone_amp()
474 .private_value = AMP_CH_SPK,
481 .private_value = AMP_CH_HD,
488 .private_value = 0,
495 .private_value = 1,
511 .private_value = AMP_CH_HD,
[all …]
/linux-6.15/sound/isa/cs423x/
H A Dcs4236_lib.c407 int reg = kcontrol->private_value & 0xff; in snd_cs4236_get_single()
424 int reg = kcontrol->private_value & 0xff; in snd_cs4236_put_single()
453 int reg = kcontrol->private_value & 0xff; in snd_cs4236_get_singlec()
470 int reg = kcontrol->private_value & 0xff; in snd_cs4236_put_singlec()
520 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double()
542 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double()
596 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_get_double1()
618 int left_reg = kcontrol->private_value & 0xff; in snd_cs4236_put_double1()
650 .private_value = 71 << 24, \
694 .private_value = 3 << 24, \
[all …]
/linux-6.15/sound/usb/
H A Dmixer_quirks.c522 .private_value = 0,
590 .private_value = 0x05,
842 .private_value = 0
853 .private_value = 0
1008 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
1929 .private_value = 0,
3314 .private_value = 0,
3339 .private_value = 1,
3870 unsigned long private_value = kctl->private_value; in snd_djm_controls_info() local
3935 unsigned long private_value = kctl->private_value; in snd_djm_controls_put() local
[all …]
/linux-6.15/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c33 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info()
38 } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) { in snd_bcm2835_ctl_info()
43 } else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) { in snd_bcm2835_ctl_info()
59 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_get()
61 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_get()
63 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_get()
77 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_put()
79 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_put()
81 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_put()
105 .private_value = PCM_PLAYBACK_VOLUME,
[all …]
/linux-6.15/sound/spi/
H A Dat73c213.c399 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_get()
400 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_get()
401 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get()
422 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_put()
469 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get()
474 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_get()
499 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put()
504 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_put()
548 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_get()
570 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_put()
[all …]
/linux-6.15/sound/pci/oxygen/
H A Doxygen_mixer.c432 u32 bit = ctl->private_value; in spdif_bit_switch_get()
443 u32 bit = ctl->private_value; in spdif_bit_switch_put()
474 u8 bit = ctl->private_value; in monitor_get()
486 u8 bit = ctl->private_value; in monitor_put()
838 .private_value = OXYGEN_SPDIF_LOOPBACK,
846 .private_value = OXYGEN_SPDIF_SPDVALID,
863 .private_value = OXYGEN_ADC_MONITOR_A,
888 .private_value = OXYGEN_ADC_MONITOR_B,
914 .private_value = OXYGEN_ADC_MONITOR_B,
941 .private_value = OXYGEN_ADC_MONITOR_C,
[all …]
H A Dxonar_wm87x6.c504 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get()
518 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put()
622 if (!(ctl->private_value & mode)) in wm8776_field_set_from_ctl()
625 value = ctl->private_value & 0xf; in wm8776_field_set_from_ctl()
626 min = (ctl->private_value >> 8) & 0xf; in wm8776_field_set_from_ctl()
654 ctl->private_value = (ctl->private_value & ~0xf) | value; in wm8776_field_set()
877 if (ctl->private_value & mode) in activate_control()
1037 .private_value = 1 << 0,
1045 .private_value = 1 << 1,
1064 .private_value = 0,
[all …]
/linux-6.15/sound/soc/sof/
H A Dcontrol.c21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get()
36 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put()
50 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info()
73 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get()
103 struct soc_enum *se = (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_get()
118 struct soc_enum *se = (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_put()
133 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_get()
148 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_put()
164 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_put()
183 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_volatile_get()
[all …]
/linux-6.15/sound/isa/sb/
H A Dsb_mixer.c47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single()
60 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single()
61 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single()
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single()
76 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_single()
78 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single()
112 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double()
132 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double()
388 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_get_input_sw()
409 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_put_input_sw()
[all …]
/linux-6.15/sound/soc/
H A Dsoc-ops.c287 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw()
310 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx()
330 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw()
351 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw()
372 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_sx()
392 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_sx()
447 (struct soc_mixer_control *)kctl->private_value; in snd_soc_limit_volume()
631 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
661 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
705 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
[all …]
/linux-6.15/sound/pci/ice1712/
H A Dmaya44.c160 unsigned int idx = kcontrol->private_value; in maya_vol_info()
176 unsigned int idx = kcontrol->private_value; in maya_vol_get()
191 unsigned int idx = kcontrol->private_value; in maya_vol_put()
261 GET_SW_VAL_REG(kcontrol->private_value), in maya_sw_put()
304 if (GET_GPIO_VAL_INV(kcontrol->private_value)) in maya_gpio_sw_get()
321 if (GET_GPIO_VAL_INV(kcontrol->private_value)) in maya_gpio_sw_put()
437 .private_value = WM_VOL_HP,
449 .private_value = WM_VOL_DAC,
461 .private_value = WM_VOL_ADC,
470 .private_value = COMPOSE_SW_VAL(WM_SW_DAC,
[all …]
H A Daureon.c1548 .private_value = 5
1599 .private_value = AC97_CD
1618 .private_value = AC97_AUX,
1637 .private_value = AC97_LINE
1656 .private_value = AC97_MIC
1666 .private_value = AC97_MIC,
1704 .private_value = AC97_AUX
1723 .private_value = AC97_CD
1742 .private_value = AC97_LINE
1761 .private_value = AC97_MIC
[all …]
H A Dphase.c483 ofs = kcontrol->private_value & 0xff; in wm_vol_get()
772 .private_value = (2 << 8) | 0
782 .private_value = (2 << 8) | 0,
791 .private_value = (2 << 8) | 2
801 .private_value = (2 << 8) | 2,
810 .private_value = (1 << 8) | 4
820 .private_value = (1 << 8) | 4,
829 .private_value = (1 << 8) | 5
839 .private_value = (1 << 8) | 5,
848 .private_value = (2 << 8) | 6
[all …]
/linux-6.15/sound/isa/gus/
H A Dgus_mixer.c21 .private_value = shift | (invert << 8) }
28 int shift = kcontrol->private_value & 0xff; in snd_gf1_get_single()
29 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_get_single()
41 int shift = kcontrol->private_value & 0xff; in snd_gf1_put_single()
42 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single()
64 .private_value = addr }
79 int addr = kcontrol->private_value & 0xff; in snd_ics_get_double()
95 int addr = kcontrol->private_value & 0xff; in snd_ics_put_double()
/linux-6.15/sound/isa/
H A Dopl3sa2.c340 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_single()
341 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_single()
342 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single()
357 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_single()
358 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_single()
359 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single()
395 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double()
399 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_double()
400 int invert = (kcontrol->private_value >> 22) & 1; in snd_opl3sa2_get_double()
417 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double()
[all …]
/linux-6.15/sound/isa/ad1816a/
H A Dad1816a_lib.c726 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single()
739 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_single()
740 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_get_single()
741 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single()
756 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_single()
757 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_put_single()
758 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single()
791 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_double()
804 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_double()
807 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_double()
[all …]
/linux-6.15/include/sound/
H A Dsoc.h121 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, \
169 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, \
233 .private_value = (unsigned long)&xenum }
245 .private_value = \
313 .private_value = xdata }
318 .private_value = (unsigned long)&xenum }
325 .put = snd_soc_bytes_put, .private_value = \
331 .put = xhandler_put, .private_value = \
338 .put = snd_soc_bytes_put, .private_value = \
350 .private_value = (unsigned long)&(struct soc_bytes_ext) \
[all …]
/linux-6.15/sound/pci/mixart/
H A Dmixart_mixer.c334 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_info()
348 if(kcontrol->private_value == 0) { /* playback */ in mixart_analog_vol_get()
366 is_capture = (kcontrol->private_value != 0); in mixart_analog_vol_put()
826 int is_capture = kcontrol->private_value & MIXART_VOL_REC_MASK; in mixart_pcm_vol_get()
827 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_vol_get()
849 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_vol_put()
919 int is_aes = kcontrol->private_value & MIXART_VOL_AES_MASK; in mixart_pcm_sw_put()
1116 temp.private_value = 0; /* playback */ in snd_mixart_create_mixer()
1129 temp.private_value = 1; /* capture */ in snd_mixart_create_mixer()
1138 temp.private_value = 0; /* playback analog */ in snd_mixart_create_mixer()
[all …]
/linux-6.15/sound/isa/es1688/
H A Des1688_lib.c765 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single()
778 int reg = kcontrol->private_value & 0xff; in snd_es1688_get_single()
779 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_single()
780 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single()
795 int reg = kcontrol->private_value & 0xff; in snd_es1688_put_single()
796 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_single()
797 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single()
837 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double()
842 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1688_get_double()
871 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double()
[all …]
/linux-6.15/sound/core/
H A Dctljack.c18 ucontrol->value.integer.value[0] = kcontrol->private_value; in jack_detect_kctl_get()
73 kctl->private_value = 0; in snd_kctl_jack_new()
80 if (kctl->private_value == status) in snd_kctl_jack_report()
82 kctl->private_value = status; in snd_kctl_jack_report()
/linux-6.15/sound/pci/lola/
H A Dlola_mixer.c462 int dir = kcontrol->private_value; in lola_analog_vol_info()
475 int dir = kcontrol->private_value; in lola_analog_vol_get()
488 int dir = kcontrol->private_value; in lola_analog_vol_put()
505 int dir = kcontrol->private_value; in lola_analog_vol_tlv()
548 lola_analog_mixer.private_value = dir; in create_analog_mixer()
634 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_get()
657 unsigned int ofs = kcontrol->private_value & 0xff; in lola_src_gain_put()
690 lola_src_gain_mixer.private_value = ofs + (num << 8); in create_src_gain_mixer()
715 unsigned int src_ofs = kcontrol->private_value & 0xff;
740 unsigned int src_ofs = kcontrol->private_value & 0xff;
[all …]
/linux-6.15/sound/drivers/vx/
H A Dvx_mixer.c571 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get()
584 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put()
607 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_get()
924 temp.private_value = val; in snd_vx_mixer_new()
930 temp.private_value = val; in snd_vx_mixer_new()
936 temp.private_value = val; in snd_vx_mixer_new()
942 temp.private_value = val; in snd_vx_mixer_new()
951 temp.private_value = (i * 2) | (1 << 8); in snd_vx_mixer_new()
980 temp.private_value = val; in snd_vx_mixer_new()
989 temp.private_value = val; in snd_vx_mixer_new()
[all …]

12345678910>>...12