Home
last modified time | relevance | path

Searched refs:uinfo (Results 1 – 25 of 155) sorted by relevance

1234567

/sound/drivers/pcsp/
Dpcsp_mixer.c15 struct snd_ctl_elem_info *uinfo) in pcsp_enable_info() argument
17 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in pcsp_enable_info()
18 uinfo->count = 1; in pcsp_enable_info()
19 uinfo->value.integer.min = 0; in pcsp_enable_info()
20 uinfo->value.integer.max = 1; in pcsp_enable_info()
46 struct snd_ctl_elem_info *uinfo) in pcsp_treble_info() argument
49 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in pcsp_treble_info()
50 uinfo->count = 1; in pcsp_treble_info()
51 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
52 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
[all …]
/sound/i2c/other/
Dak4117.c143 struct snd_ctl_elem_info *uinfo) in snd_ak4117_in_error_info() argument
145 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_in_error_info()
146 uinfo->count = 1; in snd_ak4117_in_error_info()
147 uinfo->value.integer.min = 0; in snd_ak4117_in_error_info()
148 uinfo->value.integer.max = LONG_MAX; in snd_ak4117_in_error_info()
180 struct snd_ctl_elem_info *uinfo) in snd_ak4117_rx_info() argument
182 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_rx_info()
183 uinfo->count = 1; in snd_ak4117_rx_info()
184 uinfo->value.integer.min = 0; in snd_ak4117_rx_info()
185 uinfo->value.integer.max = 1; in snd_ak4117_rx_info()
[all …]
Dak4113.c174 struct snd_ctl_elem_info *uinfo) in snd_ak4113_in_error_info() argument
176 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4113_in_error_info()
177 uinfo->count = 1; in snd_ak4113_in_error_info()
178 uinfo->value.integer.min = 0; in snd_ak4113_in_error_info()
179 uinfo->value.integer.max = LONG_MAX; in snd_ak4113_in_error_info()
212 struct snd_ctl_elem_info *uinfo) in snd_ak4113_rx_info() argument
214 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4113_rx_info()
215 uinfo->count = 1; in snd_ak4113_rx_info()
216 uinfo->value.integer.min = 0; in snd_ak4113_rx_info()
217 uinfo->value.integer.max = 5; in snd_ak4113_rx_info()
[all …]
Dak4114.c169 struct snd_ctl_elem_info *uinfo) in snd_ak4114_in_error_info() argument
171 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_in_error_info()
172 uinfo->count = 1; in snd_ak4114_in_error_info()
173 uinfo->value.integer.min = 0; in snd_ak4114_in_error_info()
174 uinfo->value.integer.max = LONG_MAX; in snd_ak4114_in_error_info()
206 struct snd_ctl_elem_info *uinfo) in snd_ak4114_rate_info() argument
208 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_rate_info()
209 uinfo->count = 1; in snd_ak4114_rate_info()
210 uinfo->value.integer.min = 0; in snd_ak4114_rate_info()
211 uinfo->value.integer.max = 192000; in snd_ak4114_rate_info()
[all …]
/sound/core/oss/
Dmixer_oss.c535 struct snd_ctl_elem_info *uinfo; in snd_mixer_oss_get_volume1_vol() local
547 uinfo = kzalloc(sizeof(*uinfo), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
549 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
551 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol()
555 if (uinfo->type == SNDRV_CTL_ELEM_TYPE_BOOLEAN && in snd_mixer_oss_get_volume1_vol()
556 uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) in snd_mixer_oss_get_volume1_vol()
558 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
559 if (uinfo->count > 1) in snd_mixer_oss_get_volume1_vol()
560 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
564 kfree(uinfo); in snd_mixer_oss_get_volume1_vol()
[all …]
/sound/pci/cs5535audio/
Dcs5535audio_olpc.c62 struct snd_ctl_elem_info *uinfo) in olpc_dc_info() argument
64 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in olpc_dc_info()
65 uinfo->count = 1; in olpc_dc_info()
66 uinfo->value.integer.min = 0; in olpc_dc_info()
67 uinfo->value.integer.max = 1; in olpc_dc_info()
86 struct snd_ctl_elem_info *uinfo) in olpc_mic_info() argument
88 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in olpc_mic_info()
89 uinfo->count = 1; in olpc_mic_info()
90 uinfo->value.integer.min = 0; in olpc_mic_info()
91 uinfo->value.integer.max = 1; in olpc_mic_info()
/sound/core/
Dvmaster.c79 struct snd_ctl_elem_info *uinfo; in slave_init() local
89 uinfo = kmalloc(sizeof(*uinfo), GFP_KERNEL); in slave_init()
90 if (!uinfo) in slave_init()
92 uinfo->id = slave->slave.id; in slave_init()
93 err = slave->slave.info(&slave->slave, uinfo); in slave_init()
95 kfree(uinfo); in slave_init()
98 slave->info.type = uinfo->type; in slave_init()
99 slave->info.count = uinfo->count; in slave_init()
104 kfree(uinfo); in slave_init()
107 slave->info.min_val = uinfo->value.integer.min; in slave_init()
[all …]
/sound/i2c/
Dtea6330t.c72 struct snd_ctl_elem_info *uinfo) in snd_tea6330t_info_master_volume() argument
74 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_tea6330t_info_master_volume()
75 uinfo->count = 2; in snd_tea6330t_info_master_volume()
76 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
77 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
175 struct snd_ctl_elem_info *uinfo) in snd_tea6330t_info_bass() argument
179 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_tea6330t_info_bass()
180 uinfo->count = 1; in snd_tea6330t_info_bass()
181 uinfo->value.integer.min = 0; in snd_tea6330t_info_bass()
182 uinfo->value.integer.max = tea->max_bass; in snd_tea6330t_info_bass()
[all …]
/sound/ppc/
Dburgundy.c162 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume() argument
164 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_burgundy_info_volume()
165 uinfo->count = 2; in snd_pmac_burgundy_info_volume()
166 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
167 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
238 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume_2b() argument
240 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_burgundy_info_volume_2b()
241 uinfo->count = 2; in snd_pmac_burgundy_info_volume_2b()
242 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b()
243 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b()
[all …]
Dawacs.c123 struct snd_ctl_elem_info *uinfo) in snd_pmac_awacs_info_volume() argument
125 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_awacs_info_volume()
126 uinfo->count = 2; in snd_pmac_awacs_info_volume()
127 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume()
128 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
321 struct snd_ctl_elem_info *uinfo) in snd_pmac_awacs_info_volume_amp() argument
323 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_awacs_info_volume_amp()
324 uinfo->count = 2; in snd_pmac_awacs_info_volume_amp()
325 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
326 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
[all …]
/sound/aoa/codecs/
Dtas.c225 struct snd_ctl_elem_info *uinfo) in tas_snd_vol_info() argument
227 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tas_snd_vol_info()
228 uinfo->count = 2; in tas_snd_vol_info()
229 uinfo->value.integer.min = 0; in tas_snd_vol_info()
230 uinfo->value.integer.max = 177; in tas_snd_vol_info()
326 struct snd_ctl_elem_info *uinfo) in tas_snd_mixer_info() argument
328 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tas_snd_mixer_info()
329 uinfo->count = 2; in tas_snd_mixer_info()
330 uinfo->value.integer.min = 0; in tas_snd_mixer_info()
331 uinfo->value.integer.max = 177; in tas_snd_mixer_info()
[all …]
/sound/pci/asihpi/
Dasihpi.c1476 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() argument
1498 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_volume_info()
1499 uinfo->count = count; in snd_asihpi_volume_info()
1500 uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1501 uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1502 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1599 struct snd_ctl_elem_info *uinfo) in snd_asihpi_level_info() argument
1616 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info()
1617 uinfo->count = 2; in snd_asihpi_level_info()
1618 uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
[all …]
/sound/soc/img/
Dimg-spdif-in.c271 struct snd_ctl_elem_info *uinfo) in img_spdif_in_iec958_info() argument
273 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in img_spdif_in_iec958_info()
274 uinfo->count = 1; in img_spdif_in_iec958_info()
311 struct snd_ctl_elem_info *uinfo) in img_spdif_in_info_multi_freq() argument
313 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in img_spdif_in_info_multi_freq()
314 uinfo->count = IMG_SPDIF_IN_NUM_ACLKGEN; in img_spdif_in_info_multi_freq()
315 uinfo->value.integer.min = 0; in img_spdif_in_info_multi_freq()
316 uinfo->value.integer.max = LONG_MAX; in img_spdif_in_info_multi_freq()
385 struct snd_ctl_elem_info *uinfo) in img_spdif_in_info_lock_freq() argument
387 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in img_spdif_in_info_lock_freq()
[all …]
/sound/usb/line6/
Dtoneport.c143 struct snd_ctl_elem_info *uinfo) in snd_toneport_monitor_info() argument
145 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_toneport_monitor_info()
146 uinfo->count = 1; in snd_toneport_monitor_info()
147 uinfo->value.integer.min = 0; in snd_toneport_monitor_info()
148 uinfo->value.integer.max = 256; in snd_toneport_monitor_info()
190 struct snd_ctl_elem_info *uinfo) in snd_toneport_source_info() argument
194 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_toneport_source_info()
195 uinfo->count = 1; in snd_toneport_source_info()
196 uinfo->value.enumerated.items = size; in snd_toneport_source_info()
198 if (uinfo->value.enumerated.item >= size) in snd_toneport_source_info()
[all …]
Dpcm.c21 struct snd_ctl_elem_info *uinfo) in snd_line6_impulse_volume_info() argument
23 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_line6_impulse_volume_info()
24 uinfo->count = 1; in snd_line6_impulse_volume_info()
25 uinfo->value.integer.min = 0; in snd_line6_impulse_volume_info()
26 uinfo->value.integer.max = 255; in snd_line6_impulse_volume_info()
64 struct snd_ctl_elem_info *uinfo) in snd_line6_impulse_period_info() argument
66 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_line6_impulse_period_info()
67 uinfo->count = 1; in snd_line6_impulse_period_info()
68 uinfo->value.integer.min = 0; in snd_line6_impulse_period_info()
69 uinfo->value.integer.max = 2000; in snd_line6_impulse_period_info()
[all …]
/sound/pci/ice1712/
Dphase.c319 struct snd_ctl_elem_info *uinfo) in wm_master_vol_info() argument
321 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_master_vol_info()
322 uinfo->count = 2; in wm_master_vol_info()
323 uinfo->value.integer.min = 0; in wm_master_vol_info()
324 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
465 struct snd_ctl_elem_info *uinfo) in wm_vol_info() argument
468 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_vol_info()
469 uinfo->count = voices; in wm_vol_info()
470 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
471 uinfo->value.integer.max = 0x7F; /* 0dB */ in wm_vol_info()
[all …]
Daureon.c189 struct snd_ctl_elem_info *uinfo) in aureon_universe_inmux_info() argument
194 return snd_ctl_enum_info(uinfo, 1, 3, texts); in aureon_universe_inmux_info()
347 static int aureon_ac97_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_ac97_vol_info() argument
349 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in aureon_ac97_vol_info()
350 uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1; in aureon_ac97_vol_info()
351 uinfo->value.integer.min = 0; in aureon_ac97_vol_info()
352 uinfo->value.integer.max = 31; in aureon_ac97_vol_info()
733 static int wm_master_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_master_vol_info() argument
735 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_master_vol_info()
736 uinfo->count = 2; in wm_master_vol_info()
[all …]
Dprodigy_hifi.c242 struct snd_ctl_elem_info *uinfo) in ak4396_dac_vol_info() argument
244 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in ak4396_dac_vol_info()
245 uinfo->count = 2; in ak4396_dac_vol_info()
246 uinfo->value.integer.min = 0; /* mute */ in ak4396_dac_vol_info()
247 uinfo->value.integer.max = 0xFF; /* linear */ in ak4396_dac_vol_info()
351 struct snd_ctl_elem_info *uinfo) in wm_dac_vol_info() argument
353 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in wm_dac_vol_info()
354 uinfo->count = 2; in wm_dac_vol_info()
355 uinfo->value.integer.min = 0; /* mute */ in wm_dac_vol_info()
356 uinfo->value.integer.max = DAC_RES; /* 0dB, 0.5dB step */ in wm_dac_vol_info()
[all …]
/sound/pci/emu10k1/
Demumixer.c32 static int snd_emu10k1_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_spdif_info() argument
34 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_emu10k1_spdif_info()
35 uinfo->count = 1; in snd_emu10k1_spdif_info()
379 struct snd_ctl_elem_info *uinfo) in snd_emu1010_input_output_source_info() argument
384 return snd_ctl_enum_info(uinfo, 1, 49, emu1616_src_texts); in snd_emu1010_input_output_source_info()
386 return snd_ctl_enum_info(uinfo, 1, 53, emu1010_src_texts); in snd_emu1010_input_output_source_info()
674 struct snd_ctl_elem_info *uinfo) in snd_emu1010_internal_clock_info() argument
680 return snd_ctl_enum_info(uinfo, 1, 4, texts); in snd_emu1010_internal_clock_info()
796 struct snd_ctl_elem_info *uinfo) in snd_emu1010_optical_out_info() argument
802 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_emu1010_optical_out_info()
[all …]
/sound/pci/echoaudio/
Dechoaudio.c978 struct snd_ctl_elem_info *uinfo) in snd_echo_output_gain_info() argument
983 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_echo_output_gain_info()
984 uinfo->count = num_busses_out(chip); in snd_echo_output_gain_info()
985 uinfo->value.integer.min = ECHOGAIN_MINOUT; in snd_echo_output_gain_info()
986 uinfo->value.integer.max = ECHOGAIN_MAXOUT; in snd_echo_output_gain_info()
1059 struct snd_ctl_elem_info *uinfo) in snd_echo_input_gain_info() argument
1064 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_echo_input_gain_info()
1065 uinfo->count = num_analog_busses_in(chip); in snd_echo_input_gain_info()
1066 uinfo->value.integer.min = ECHOGAIN_MININP; in snd_echo_input_gain_info()
1067 uinfo->value.integer.max = ECHOGAIN_MAXINP; in snd_echo_input_gain_info()
[all …]
/sound/pci/ca0106/
Dca0106_mixer.c172 struct snd_ctl_elem_info *uinfo) in snd_ca0106_capture_source_info() argument
178 return snd_ctl_enum_info(uinfo, 1, 6, texts); in snd_ca0106_capture_source_info()
209 struct snd_ctl_elem_info *uinfo) in snd_ca0106_i2c_capture_source_info() argument
215 return snd_ctl_enum_info(uinfo, 1, 4, texts); in snd_ca0106_i2c_capture_source_info()
248 struct snd_ctl_elem_info *uinfo) in snd_ca0106_capture_line_in_side_out_info() argument
252 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_ca0106_capture_line_in_side_out_info()
256 struct snd_ctl_elem_info *uinfo) in snd_ca0106_capture_mic_line_in_info() argument
260 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_ca0106_capture_mic_line_in_info()
310 struct snd_ctl_elem_info *uinfo) in snd_ca0106_spdif_info() argument
312 uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958; in snd_ca0106_spdif_info()
[all …]
/sound/usb/
Dmixer_scarlett.c223 struct snd_ctl_elem_info *uinfo) in scarlett_ctl_switch_info() argument
227 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in scarlett_ctl_switch_info()
228 uinfo->count = elem->channels; in scarlett_ctl_switch_info()
229 uinfo->value.integer.min = 0; in scarlett_ctl_switch_info()
230 uinfo->value.integer.max = 1; in scarlett_ctl_switch_info()
291 struct snd_ctl_elem_info *uinfo) in scarlett_ctl_info() argument
295 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in scarlett_ctl_info()
296 uinfo->count = elem->channels; in scarlett_ctl_info()
297 uinfo->value.integer.min = 0; in scarlett_ctl_info()
298 uinfo->value.integer.max = (int)kctl->private_value + in scarlett_ctl_info()
[all …]
/sound/soc/
Dsoc-ops.c41 struct snd_ctl_elem_info *uinfo) in snd_soc_info_enum_double() argument
45 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
182 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
193 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw()
195 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
197 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
198 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
199 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
217 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw_sx() argument
222 snd_soc_info_volsw(kcontrol, uinfo); in snd_soc_info_volsw_sx()
[all …]
/sound/drivers/opl4/
Dopl4_mixer.c10 static int snd_opl4_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_opl4_ctl_info() argument
12 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_opl4_ctl_info()
13 uinfo->count = 2; in snd_opl4_ctl_info()
14 uinfo->value.integer.min = 0; in snd_opl4_ctl_info()
15 uinfo->value.integer.max = 7; in snd_opl4_ctl_info()
/sound/pci/pcxhr/
Dpcxhr_mixer.c75 struct snd_ctl_elem_info *uinfo) in pcxhr_analog_vol_info() argument
79 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in pcxhr_analog_vol_info()
80 uinfo->count = 2; in pcxhr_analog_vol_info()
83 uinfo->value.integer.min = in pcxhr_analog_vol_info()
85 uinfo->value.integer.max = in pcxhr_analog_vol_info()
88 uinfo->value.integer.min = in pcxhr_analog_vol_info()
90 uinfo->value.integer.max = in pcxhr_analog_vol_info()
95 uinfo->value.integer.min = in pcxhr_analog_vol_info()
97 uinfo->value.integer.max = in pcxhr_analog_vol_info()
100 uinfo->value.integer.min = in pcxhr_analog_vol_info()
[all …]

1234567