Home
last modified time | relevance | path

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

12345678910

/linux-6.12.1/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.12.1/net/xfrm/
Dxfrm_algo.c31 .uinfo = {
50 .uinfo = {
69 .uinfo = {
88 .uinfo = {
107 .uinfo = {
126 .uinfo = {
145 .uinfo = {
164 .uinfo = {
179 .uinfo = {
199 .uinfo = {
[all …]
/linux-6.12.1/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.12.1/sound/i2c/other/
Dak4117.c133 struct snd_ctl_elem_info *uinfo) in snd_ak4117_in_error_info() argument
135 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_in_error_info()
136 uinfo->count = 1; in snd_ak4117_in_error_info()
137 uinfo->value.integer.min = 0; in snd_ak4117_in_error_info()
138 uinfo->value.integer.max = LONG_MAX; in snd_ak4117_in_error_info()
170 struct snd_ctl_elem_info *uinfo) in snd_ak4117_rx_info() argument
172 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4117_rx_info()
173 uinfo->count = 1; in snd_ak4117_rx_info()
174 uinfo->value.integer.min = 0; in snd_ak4117_rx_info()
175 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.c159 struct snd_ctl_elem_info *uinfo) in snd_ak4114_in_error_info() argument
161 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_in_error_info()
162 uinfo->count = 1; in snd_ak4114_in_error_info()
163 uinfo->value.integer.min = 0; in snd_ak4114_in_error_info()
164 uinfo->value.integer.max = LONG_MAX; in snd_ak4114_in_error_info()
196 struct snd_ctl_elem_info *uinfo) in snd_ak4114_rate_info() argument
198 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4114_rate_info()
199 uinfo->count = 1; in snd_ak4114_rate_info()
200 uinfo->value.integer.min = 0; in snd_ak4114_rate_info()
201 uinfo->value.integer.max = 192000; in snd_ak4114_rate_info()
[all …]
/linux-6.12.1/sound/core/oss/
Dmixer_oss.c520 struct snd_ctl_elem_info *uinfo __free(kfree) = NULL; in snd_mixer_oss_get_volume1_vol()
531 uinfo = kzalloc(sizeof(*uinfo), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
533 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
535 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol()
539 if (uinfo->type == SNDRV_CTL_ELEM_TYPE_BOOLEAN && in snd_mixer_oss_get_volume1_vol()
540 uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) in snd_mixer_oss_get_volume1_vol()
542 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
543 if (uinfo->count > 1) in snd_mixer_oss_get_volume1_vol()
544 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
553 struct snd_ctl_elem_info *uinfo __free(kfree) = NULL; in snd_mixer_oss_get_volume1_sw()
[all …]
/linux-6.12.1/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.12.1/sound/pci/asihpi/
Dasihpi.c1411 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() argument
1433 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_volume_info()
1434 uinfo->count = count; in snd_asihpi_volume_info()
1435 uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1436 uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1437 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1534 struct snd_ctl_elem_info *uinfo) in snd_asihpi_level_info() argument
1551 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info()
1552 uinfo->count = 2; in snd_asihpi_level_info()
1553 uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
[all …]
/linux-6.12.1/sound/i2c/
Dtea6330t.c69 struct snd_ctl_elem_info *uinfo) in snd_tea6330t_info_master_volume() argument
71 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_tea6330t_info_master_volume()
72 uinfo->count = 2; in snd_tea6330t_info_master_volume()
73 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
74 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
174 struct snd_ctl_elem_info *uinfo) in snd_tea6330t_info_bass() argument
178 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_tea6330t_info_bass()
179 uinfo->count = 1; in snd_tea6330t_info_bass()
180 uinfo->value.integer.min = 0; in snd_tea6330t_info_bass()
181 uinfo->value.integer.max = tea->max_bass; in snd_tea6330t_info_bass()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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()
176 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() argument
183 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
191 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_soc_info_volsw()
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()
198 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
199 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
200 uinfo->value.integer.max = max; in snd_soc_info_volsw()
[all …]
/linux-6.12.1/sound/core/
Dvmaster.c77 struct snd_ctl_elem_info *uinfo __free(kfree) = NULL; in follower_init()
87 uinfo = kmalloc(sizeof(*uinfo), GFP_KERNEL); in follower_init()
88 if (!uinfo) in follower_init()
90 uinfo->id = follower->follower.id; in follower_init()
91 err = follower->follower.info(&follower->follower, uinfo); in follower_init()
94 follower->info.type = uinfo->type; in follower_init()
95 follower->info.count = uinfo->count; in follower_init()
102 follower->info.min_val = uinfo->value.integer.min; in follower_init()
103 follower->info.max_val = uinfo->value.integer.max; in follower_init()
179 struct snd_ctl_elem_info *uinfo) in follower_info() argument
[all …]
/linux-6.12.1/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.12.1/sound/virtio/
Dvirtio_kctl.c48 struct snd_ctl_elem_info *uinfo) in virtsnd_kctl_info() argument
56 uinfo->type = g_v2a_type_map[le32_to_cpu(kinfo->type)]; in virtsnd_kctl_info()
57 uinfo->count = le32_to_cpu(kinfo->count); in virtsnd_kctl_info()
59 switch (uinfo->type) { in virtsnd_kctl_info()
61 uinfo->value.integer.min = in virtsnd_kctl_info()
63 uinfo->value.integer.max = in virtsnd_kctl_info()
65 uinfo->value.integer.step = in virtsnd_kctl_info()
70 uinfo->value.integer64.min = in virtsnd_kctl_info()
72 uinfo->value.integer64.max = in virtsnd_kctl_info()
74 uinfo->value.integer64.step = in virtsnd_kctl_info()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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()

12345678910