Home
last modified time | relevance | path

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

12345678910

/linux-6.6.21/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 …]
/linux-6.6.21/net/xfrm/
Dxfrm_algo.c30 .uinfo = {
49 .uinfo = {
68 .uinfo = {
87 .uinfo = {
106 .uinfo = {
125 .uinfo = {
144 .uinfo = {
163 .uinfo = {
178 .uinfo = {
198 .uinfo = {
[all …]
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-ctl.c31 struct snd_ctl_elem_info *uinfo) in snd_bcm2835_ctl_info() argument
34 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_bcm2835_ctl_info()
35 uinfo->count = 1; in snd_bcm2835_ctl_info()
36 uinfo->value.integer.min = CTRL_VOL_MIN; in snd_bcm2835_ctl_info()
37 uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */ in snd_bcm2835_ctl_info()
39 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_bcm2835_ctl_info()
40 uinfo->count = 1; in snd_bcm2835_ctl_info()
41 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info()
42 uinfo->value.integer.max = 1; in snd_bcm2835_ctl_info()
44 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_bcm2835_ctl_info()
[all …]
/linux-6.6.21/sound/i2c/other/
Dak4117.c144 struct snd_ctl_elem_info *uinfo) in snd_ak4117_in_error_info() argument
146 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_in_error_info()
147 uinfo->count = 1; in snd_ak4117_in_error_info()
148 uinfo->value.integer.min = 0; in snd_ak4117_in_error_info()
149 uinfo->value.integer.max = LONG_MAX; in snd_ak4117_in_error_info()
181 struct snd_ctl_elem_info *uinfo) in snd_ak4117_rx_info() argument
183 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_rx_info()
184 uinfo->count = 1; in snd_ak4117_rx_info()
185 uinfo->value.integer.min = 0; in snd_ak4117_rx_info()
186 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.c170 struct snd_ctl_elem_info *uinfo) in snd_ak4114_in_error_info() argument
172 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_in_error_info()
173 uinfo->count = 1; in snd_ak4114_in_error_info()
174 uinfo->value.integer.min = 0; in snd_ak4114_in_error_info()
175 uinfo->value.integer.max = LONG_MAX; in snd_ak4114_in_error_info()
207 struct snd_ctl_elem_info *uinfo) in snd_ak4114_rate_info() argument
209 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_rate_info()
210 uinfo->count = 1; in snd_ak4114_rate_info()
211 uinfo->value.integer.min = 0; in snd_ak4114_rate_info()
212 uinfo->value.integer.max = 192000; in snd_ak4114_rate_info()
[all …]
/linux-6.6.21/sound/core/oss/
Dmixer_oss.c535 struct snd_ctl_elem_info *uinfo; in snd_mixer_oss_get_volume1_vol() local
548 uinfo = kzalloc(sizeof(*uinfo), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
550 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
552 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol()
556 if (uinfo->type == SNDRV_CTL_ELEM_TYPE_BOOLEAN && in snd_mixer_oss_get_volume1_vol()
557 uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) in snd_mixer_oss_get_volume1_vol()
559 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
560 if (uinfo->count > 1) in snd_mixer_oss_get_volume1_vol()
561 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
565 kfree(uinfo); in snd_mixer_oss_get_volume1_vol()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/sound/core/
Dvmaster.c79 struct snd_ctl_elem_info *uinfo; in follower_init() local
89 uinfo = kmalloc(sizeof(*uinfo), GFP_KERNEL); in follower_init()
90 if (!uinfo) in follower_init()
92 uinfo->id = follower->follower.id; in follower_init()
93 err = follower->follower.info(&follower->follower, uinfo); in follower_init()
95 kfree(uinfo); in follower_init()
98 follower->info.type = uinfo->type; in follower_init()
99 follower->info.count = uinfo->count; in follower_init()
104 kfree(uinfo); in follower_init()
107 follower->info.min_val = uinfo->value.integer.min; in follower_init()
[all …]
/linux-6.6.21/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()
177 struct snd_ctl_elem_info *uinfo) in snd_tea6330t_info_bass() argument
181 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_tea6330t_info_bass()
182 uinfo->count = 1; in snd_tea6330t_info_bass()
183 uinfo->value.integer.min = 0; in snd_tea6330t_info_bass()
184 uinfo->value.integer.max = tea->max_bass; in snd_tea6330t_info_bass()
[all …]
/linux-6.6.21/sound/pci/asihpi/
Dasihpi.c1425 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() argument
1447 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_volume_info()
1448 uinfo->count = count; in snd_asihpi_volume_info()
1449 uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1450 uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1451 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1548 struct snd_ctl_elem_info *uinfo) in snd_asihpi_level_info() argument
1565 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info()
1566 uinfo->count = 2; in snd_asihpi_level_info()
1567 uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
[all …]
/linux-6.6.21/sound/ppc/
Dburgundy.c163 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume() argument
165 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_burgundy_info_volume()
166 uinfo->count = 2; in snd_pmac_burgundy_info_volume()
167 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
168 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
239 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume_2b() argument
241 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_burgundy_info_volume_2b()
242 uinfo->count = 2; in snd_pmac_burgundy_info_volume_2b()
243 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b()
244 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b()
[all …]
Dawacs.c124 struct snd_ctl_elem_info *uinfo) in snd_pmac_awacs_info_volume() argument
126 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_awacs_info_volume()
127 uinfo->count = 2; in snd_pmac_awacs_info_volume()
128 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume()
129 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
322 struct snd_ctl_elem_info *uinfo) in snd_pmac_awacs_info_volume_amp() argument
324 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_pmac_awacs_info_volume_amp()
325 uinfo->count = 2; in snd_pmac_awacs_info_volume_amp()
326 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
327 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
[all …]
/linux-6.6.21/sound/aoa/codecs/
Dtas.c224 struct snd_ctl_elem_info *uinfo) in tas_snd_vol_info() argument
226 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tas_snd_vol_info()
227 uinfo->count = 2; in tas_snd_vol_info()
228 uinfo->value.integer.min = 0; in tas_snd_vol_info()
229 uinfo->value.integer.max = 177; in tas_snd_vol_info()
325 struct snd_ctl_elem_info *uinfo) in tas_snd_mixer_info() argument
327 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tas_snd_mixer_info()
328 uinfo->count = 2; in tas_snd_mixer_info()
329 uinfo->value.integer.min = 0; in tas_snd_mixer_info()
330 uinfo->value.integer.max = 177; in tas_snd_mixer_info()
[all …]
/linux-6.6.21/sound/soc/
Dsoc-ops.c40 struct snd_ctl_elem_info *uinfo) in snd_soc_info_enum_double() argument
44 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double()
175 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
182 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
190 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
192 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in snd_soc_info_volsw()
194 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 = max; in snd_soc_info_volsw()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/usb/line6/
Dtoneport.c144 struct snd_ctl_elem_info *uinfo) in snd_toneport_monitor_info() argument
146 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_toneport_monitor_info()
147 uinfo->count = 1; in snd_toneport_monitor_info()
148 uinfo->value.integer.min = 0; in snd_toneport_monitor_info()
149 uinfo->value.integer.max = 256; in snd_toneport_monitor_info()
191 struct snd_ctl_elem_info *uinfo) in snd_toneport_source_info() argument
195 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_toneport_source_info()
196 uinfo->count = 1; in snd_toneport_source_info()
197 uinfo->value.enumerated.items = size; in snd_toneport_source_info()
199 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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/sound/usb/
Dmixer_scarlett.c233 struct snd_ctl_elem_info *uinfo) in scarlett_ctl_switch_info() argument
237 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in scarlett_ctl_switch_info()
238 uinfo->count = elem->channels; in scarlett_ctl_switch_info()
239 uinfo->value.integer.min = 0; in scarlett_ctl_switch_info()
240 uinfo->value.integer.max = 1; in scarlett_ctl_switch_info()
301 struct snd_ctl_elem_info *uinfo) in scarlett_ctl_info() argument
305 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in scarlett_ctl_info()
306 uinfo->count = elem->channels; in scarlett_ctl_info()
307 uinfo->value.integer.min = 0; in scarlett_ctl_info()
308 uinfo->value.integer.max = (int)kctl->private_value + in scarlett_ctl_info()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/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 …]

12345678910