/linux-6.1.9/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 15 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.1.9/net/xfrm/ |
D | xfrm_algo.c | 30 .uinfo = { 49 .uinfo = { 68 .uinfo = { 87 .uinfo = { 106 .uinfo = { 125 .uinfo = { 144 .uinfo = { 163 .uinfo = { 178 .uinfo = { 198 .uinfo = { [all …]
|
/linux-6.1.9/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 31 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.1.9/sound/i2c/other/ |
D | ak4117.c | 144 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 …]
|
D | ak4113.c | 174 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 …]
|
D | ak4114.c | 170 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.1.9/sound/core/oss/ |
D | mixer_oss.c | 535 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.1.9/sound/pci/cs5535audio/ |
D | cs5535audio_olpc.c | 62 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.1.9/sound/core/ |
D | vmaster.c | 79 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.1.9/sound/i2c/ |
D | tea6330t.c | 72 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.1.9/sound/pci/asihpi/ |
D | asihpi.c | 1427 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() argument 1449 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_volume_info() 1450 uinfo->count = count; in snd_asihpi_volume_info() 1451 uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info() 1452 uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info() 1453 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info() 1550 struct snd_ctl_elem_info *uinfo) in snd_asihpi_level_info() argument 1567 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info() 1568 uinfo->count = 2; in snd_asihpi_level_info() 1569 uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info() [all …]
|
/linux-6.1.9/sound/ppc/ |
D | burgundy.c | 162 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 …]
|
D | awacs.c | 123 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 …]
|
/linux-6.1.9/sound/aoa/codecs/ |
D | tas.c | 224 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.1.9/sound/soc/ |
D | soc-ops.c | 40 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.1.9/sound/soc/img/ |
D | img-spdif-in.c | 271 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.1.9/sound/usb/line6/ |
D | toneport.c | 144 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 …]
|
D | pcm.c | 21 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.1.9/sound/pci/ice1712/ |
D | phase.c | 319 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 …]
|
D | aureon.c | 189 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 …]
|
D | prodigy_hifi.c | 242 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.1.9/sound/pci/emu10k1/ |
D | emumixer.c | 32 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 …]
|
/linux-6.1.9/sound/usb/ |
D | mixer_scarlett.c | 233 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.1.9/sound/pci/ca0106/ |
D | ca0106_mixer.c | 172 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.1.9/sound/drivers/opl4/ |
D | opl4_mixer.c | 10 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()
|