Home
last modified time | relevance | path

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

12345678910>>...12

/linux/sound/i2c/other/
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/sound/pci/
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/sound/ppc/
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 …]
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/sound/usb/
A Dmixer_quirks.c521 .private_value = 0,
589 .private_value = 0x05,
841 .private_value = 0
852 .private_value = 0
1007 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
1928 .private_value = 0,
3313 .private_value = 0,
3338 .private_value = 1,
3811 unsigned long private_value = kctl->private_value; in snd_djm_controls_info() local
3876 unsigned long private_value = kctl->private_value; in snd_djm_controls_put() local
[all …]
/linux/sound/isa/cs423x/
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/drivers/staging/vc04_services/bcm2835-audio/
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/sound/spi/
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/sound/pci/oxygen/
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 …]
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/sound/soc/sof/
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/sound/isa/sb/
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/sound/pci/ice1712/
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 …]
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 …]
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/sound/isa/gus/
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/sound/soc/
A Dsoc-ops.c179 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw()
223 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx()
259 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw()
319 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw()
505 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
535 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
609 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
848 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
876 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
921 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
[all …]
/linux/sound/isa/
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/sound/isa/ad1816a/
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/sound/pci/mixart/
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/sound/isa/es1688/
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/sound/core/
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/include/sound/
A Dsoc.h79 .private_value = (unsigned long)&(struct soc_mixer_control) \
99 .private_value = (unsigned long)&(struct soc_mixer_control) \
258 .private_value = (unsigned long)&xenum }
270 .private_value = \
341 .private_value = xdata }
346 .private_value = (unsigned long)&xenum }
353 .put = snd_soc_bytes_put, .private_value = \
359 .put = xhandler_put, .private_value = \
366 .put = snd_soc_bytes_put, .private_value = \
378 .private_value = (unsigned long)&(struct soc_bytes_ext) \
[all …]
/linux/sound/drivers/vx/
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 …]
/linux/sound/drivers/opl4/
A Dopl4_mixer.c23 u8 reg = kcontrol->private_value; in snd_opl4_ctl_get()
38 u8 reg = kcontrol->private_value; in snd_opl4_ctl_put()
57 .private_value = OPL4_REG_MIX_CONTROL_FM
65 .private_value = OPL4_REG_MIX_CONTROL_PCM

Completed in 91 milliseconds

12345678910>>...12