/kernel/linux/linux-5.10/sound/drivers/pcsp/ |
H A D | pcsp_mixer.c | 15 struct snd_ctl_elem_info *uinfo) in pcsp_enable_info() 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() 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 in pcsp_treble_info() 14 pcsp_enable_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_enable_info() argument 45 pcsp_treble_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_treble_info() argument 83 pcsp_pcspkr_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_pcspkr_info() argument [all...] |
/kernel/linux/linux-6.6/sound/drivers/pcsp/ |
H A D | pcsp_mixer.c | 15 struct snd_ctl_elem_info *uinfo) in pcsp_enable_info() 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() 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 in pcsp_treble_info() 14 pcsp_enable_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_enable_info() argument 45 pcsp_treble_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_treble_info() argument 83 pcsp_pcspkr_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) pcsp_pcspkr_info() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-ctl.c | 31 struct snd_ctl_elem_info *uinfo) in snd_bcm2835_ctl_info() 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 in snd_bcm2835_ctl_info() 30 snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_ctl_info() argument 122 snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_spdif_default_info() argument 165 snd_bcm2835_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_spdif_mask_info() argument [all...] |
/kernel/linux/linux-6.6/net/xfrm/ |
H A 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...] |
/kernel/linux/linux-5.10/net/xfrm/ |
H A 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...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-ctl.c | 31 struct snd_ctl_elem_info *uinfo) in snd_bcm2835_ctl_info() 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 in snd_bcm2835_ctl_info() 30 snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_ctl_info() argument 131 snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_spdif_default_info() argument 174 snd_bcm2835_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_bcm2835_spdif_mask_info() argument [all...] |
/kernel/linux/linux-5.10/sound/i2c/other/ |
H A D | ak4113.c | 174 struct snd_ctl_elem_info *uinfo) in snd_ak4113_in_error_info() 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() 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 in snd_ak4113_rx_info() 173 snd_ak4113_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_in_error_info() argument 211 snd_ak4113_rx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_rx_info() argument 249 snd_ak4113_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_rate_info() argument 269 snd_ak4113_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_info() argument 289 snd_ak4113_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_mask_info() argument 304 snd_ak4113_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_pinfo() argument 331 snd_ak4113_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_qinfo() argument [all...] |
H A D | ak4117.c | 143 struct snd_ctl_elem_info *uinfo) in snd_ak4117_in_error_info() 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() 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 in snd_ak4117_rx_info() 142 snd_ak4117_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_in_error_info() argument 179 snd_ak4117_rx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_rx_info() argument 214 snd_ak4117_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_rate_info() argument 233 snd_ak4117_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_info() argument 251 snd_ak4117_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_mask_info() argument 265 snd_ak4117_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_pinfo() argument 289 snd_ak4117_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_qinfo() argument [all...] |
H A D | ak4114.c | 169 struct snd_ctl_elem_info *uinfo) in snd_ak4114_in_error_info() 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() 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 in snd_ak4114_rate_info() 168 snd_ak4114_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_in_error_info() argument 205 snd_ak4114_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_rate_info() argument 224 snd_ak4114_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_info() argument 264 snd_ak4114_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_mask_info() argument 278 snd_ak4114_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_pinfo() argument 302 snd_ak4114_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_qinfo() argument [all...] |
/kernel/linux/linux-6.6/sound/i2c/other/ |
H A D | ak4113.c | 174 struct snd_ctl_elem_info *uinfo) in snd_ak4113_in_error_info() 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() 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 in snd_ak4113_rx_info() 173 snd_ak4113_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_in_error_info() argument 211 snd_ak4113_rx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_rx_info() argument 249 snd_ak4113_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_rate_info() argument 269 snd_ak4113_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_info() argument 289 snd_ak4113_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_mask_info() argument 304 snd_ak4113_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_pinfo() argument 331 snd_ak4113_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4113_spdif_qinfo() argument [all...] |
H A D | ak4117.c | 144 struct snd_ctl_elem_info *uinfo) in snd_ak4117_in_error_info() 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() 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 in snd_ak4117_rx_info() 143 snd_ak4117_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_in_error_info() argument 180 snd_ak4117_rx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_rx_info() argument 215 snd_ak4117_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_rate_info() argument 234 snd_ak4117_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_info() argument 252 snd_ak4117_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_mask_info() argument 266 snd_ak4117_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_pinfo() argument 290 snd_ak4117_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4117_spdif_qinfo() argument [all...] |
H A D | ak4114.c | 170 struct snd_ctl_elem_info *uinfo) in snd_ak4114_in_error_info() 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() 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 in snd_ak4114_rate_info() 169 snd_ak4114_in_error_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_in_error_info() argument 206 snd_ak4114_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_rate_info() argument 225 snd_ak4114_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_info() argument 265 snd_ak4114_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_mask_info() argument 279 snd_ak4114_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_pinfo() argument 303 snd_ak4114_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_ak4114_spdif_qinfo() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
H A D | cs5535audio_olpc.c | 62 struct snd_ctl_elem_info *uinfo) in olpc_dc_info() 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() 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 in olpc_mic_info() 61 olpc_dc_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) olpc_dc_info() argument 85 olpc_mic_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) olpc_mic_info() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/cs5535audio/ |
H A D | cs5535audio_olpc.c | 62 struct snd_ctl_elem_info *uinfo) in olpc_dc_info() 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() 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 in olpc_mic_info() 61 olpc_dc_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) olpc_dc_info() argument 85 olpc_mic_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) olpc_mic_info() argument [all...] |
/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | mixer_oss.c | 535 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 in snd_mixer_oss_get_volume1_vol() 573 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_get_volume1_sw() local 637 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_volume1_vol() local 678 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_volume1_sw() local 819 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_get_recsrc2() local 869 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_recsrc2() local 1063 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_build_input() local [all...] |
/kernel/linux/linux-6.6/sound/core/oss/ |
H A 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 in snd_mixer_oss_get_volume1_vol() 574 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_get_volume1_sw() local 639 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_volume1_vol() local 682 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_volume1_sw() local 825 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_get_recsrc2() local 877 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_put_recsrc2() local 1076 struct snd_ctl_elem_info *uinfo; snd_mixer_oss_build_input() local [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A 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() 184 follower_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) follower_info() argument 286 master_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) master_info() argument [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A 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() 184 follower_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) follower_info() argument 314 master_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) master_info() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-ops.c | 32 * @uinfo: control element information 40 struct snd_ctl_elem_info *uinfo) in snd_soc_info_enum_double() 44 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double() 167 * @uinfo: control element information 175 struct snd_ctl_elem_info *uinfo) in snd_soc_info_volsw() 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 in snd_soc_info_volsw() 39 snd_soc_info_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_info_enum_double() argument 174 snd_soc_info_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_info_volsw() argument 218 snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_info_volsw_sx() argument 500 snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_info_volsw_range() argument 673 snd_soc_bytes_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_bytes_info() argument 850 snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_soc_info_xr_sx() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | asihpi.c | 1427 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() 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() 1567 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info() 1568 uinfo->count = 2; in snd_asihpi_level_info() 1569 uinfo in snd_asihpi_level_info() 1426 snd_asihpi_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_volume_info() argument 1549 snd_asihpi_level_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_level_info() argument 1637 snd_asihpi_aesebu_format_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_aesebu_format_info() argument 1697 snd_asihpi_aesebu_rxstatus_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_aesebu_rxstatus_info() argument 1781 snd_asihpi_tuner_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_gain_info() argument 1855 snd_asihpi_tuner_band_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_band_info() argument 1922 snd_asihpi_tuner_freq_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_freq_info() argument 2030 snd_asihpi_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_meter_info() argument 2133 snd_asihpi_mux_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_mux_info() argument 2227 snd_asihpi_cmode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_cmode_info() argument 2317 snd_asihpi_clksrc_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clksrc_info() argument 2392 snd_asihpi_clklocal_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clklocal_info() argument 2434 snd_asihpi_clkrate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clkrate_info() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | asihpi.c | 1425 struct snd_ctl_elem_info *uinfo) in snd_asihpi_volume_info() 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() 1565 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_level_info() 1566 uinfo->count = 2; in snd_asihpi_level_info() 1567 uinfo in snd_asihpi_level_info() 1424 snd_asihpi_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_volume_info() argument 1547 snd_asihpi_level_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_level_info() argument 1635 snd_asihpi_aesebu_format_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_aesebu_format_info() argument 1695 snd_asihpi_aesebu_rxstatus_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_aesebu_rxstatus_info() argument 1779 snd_asihpi_tuner_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_gain_info() argument 1853 snd_asihpi_tuner_band_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_band_info() argument 1920 snd_asihpi_tuner_freq_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_tuner_freq_info() argument 2028 snd_asihpi_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_meter_info() argument 2131 snd_asihpi_mux_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_mux_info() argument 2225 snd_asihpi_cmode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_cmode_info() argument 2315 snd_asihpi_clksrc_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clksrc_info() argument 2390 snd_asihpi_clklocal_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clklocal_info() argument 2432 snd_asihpi_clkrate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_asihpi_clkrate_info() argument [all...] |
/kernel/linux/linux-5.10/sound/aoa/codecs/ |
H A D | tas.c | 225 struct snd_ctl_elem_info *uinfo) in tas_snd_vol_info() 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() 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 in tas_snd_mixer_info() 224 tas_snd_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_vol_info() argument 325 tas_snd_mixer_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_mixer_info() argument 385 tas_snd_drc_range_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_drc_range_info() argument 477 tas_snd_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_capture_source_info() argument 546 tas_snd_treble_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_treble_info() argument 597 tas_snd_bass_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_bass_info() argument [all...] |
/kernel/linux/linux-6.6/sound/aoa/codecs/ |
H A D | tas.c | 224 struct snd_ctl_elem_info *uinfo) in tas_snd_vol_info() 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() 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 in tas_snd_mixer_info() 223 tas_snd_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_vol_info() argument 324 tas_snd_mixer_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_mixer_info() argument 384 tas_snd_drc_range_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_drc_range_info() argument 476 tas_snd_capture_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_capture_source_info() argument 545 tas_snd_treble_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_treble_info() argument 596 tas_snd_bass_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) tas_snd_bass_info() argument [all...] |
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | burgundy.c | 162 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume() 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() 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 in snd_pmac_burgundy_info_volume_2b() 161 snd_pmac_burgundy_info_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_volume() argument 237 snd_pmac_burgundy_info_volume_2b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_volume_2b() argument 283 snd_pmac_burgundy_info_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_gain() argument 345 snd_pmac_burgundy_info_switch_w(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_switch_w() argument 401 snd_pmac_burgundy_info_switch_b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_switch_b() argument [all...] |
/kernel/linux/linux-6.6/sound/ppc/ |
H A D | burgundy.c | 163 struct snd_ctl_elem_info *uinfo) in snd_pmac_burgundy_info_volume() 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() 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 in snd_pmac_burgundy_info_volume_2b() 162 snd_pmac_burgundy_info_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_volume() argument 238 snd_pmac_burgundy_info_volume_2b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_volume_2b() argument 284 snd_pmac_burgundy_info_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_gain() argument 346 snd_pmac_burgundy_info_switch_w(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_switch_w() argument 402 snd_pmac_burgundy_info_switch_b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) snd_pmac_burgundy_info_switch_b() argument [all...] |