Lines Matching refs:uinfo
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()
847 struct snd_ctl_elem_info *uinfo) in snd_emu1010_optical_in_info() argument
853 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_emu1010_optical_in_info()
898 struct snd_ctl_elem_info *uinfo) in snd_audigy_i2c_capture_source_info() argument
909 return snd_ctl_enum_info(uinfo, 1, 2, texts); in snd_audigy_i2c_capture_source_info()
977 struct snd_ctl_elem_info *uinfo) in snd_audigy_i2c_volume_info() argument
979 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_audigy_i2c_volume_info()
980 uinfo->count = 2; in snd_audigy_i2c_volume_info()
981 uinfo->value.integer.min = 0; in snd_audigy_i2c_volume_info()
982 uinfo->value.integer.max = 255; in snd_audigy_i2c_volume_info()
1060 …t snd_audigy_spdif_output_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1064 return snd_ctl_enum_info(uinfo, 1, 3, texts);
1218 …c int snd_emu10k1_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_send_routing_info() argument
1221 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_send_routing_info()
1222 uinfo->count = emu->audigy ? 3*8 : 3*4; in snd_emu10k1_send_routing_info()
1223 uinfo->value.integer.min = 0; in snd_emu10k1_send_routing_info()
1224 uinfo->value.integer.max = emu->audigy ? 0x3f : 0x0f; in snd_emu10k1_send_routing_info()
1294 …ic int snd_emu10k1_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_send_volume_info() argument
1297 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_send_volume_info()
1298 uinfo->count = emu->audigy ? 3*8 : 3*4; in snd_emu10k1_send_volume_info()
1299 uinfo->value.integer.min = 0; in snd_emu10k1_send_volume_info()
1300 uinfo->value.integer.max = 255; in snd_emu10k1_send_volume_info()
1365 static int snd_emu10k1_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_attn_info() argument
1367 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_attn_info()
1368 uinfo->count = 3; in snd_emu10k1_attn_info()
1369 uinfo->value.integer.min = 0; in snd_emu10k1_attn_info()
1370 uinfo->value.integer.max = 0xffff; in snd_emu10k1_attn_info()
1432 …t snd_emu10k1_efx_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_efx_send_routing_info() argument
1435 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_efx_send_routing_info()
1436 uinfo->count = emu->audigy ? 8 : 4; in snd_emu10k1_efx_send_routing_info()
1437 uinfo->value.integer.min = 0; in snd_emu10k1_efx_send_routing_info()
1438 uinfo->value.integer.max = emu->audigy ? 0x3f : 0x0f; in snd_emu10k1_efx_send_routing_info()
1502 …nt snd_emu10k1_efx_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_efx_send_volume_info() argument
1505 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_efx_send_volume_info()
1506 uinfo->count = emu->audigy ? 8 : 4; in snd_emu10k1_efx_send_volume_info()
1507 uinfo->value.integer.min = 0; in snd_emu10k1_efx_send_volume_info()
1508 uinfo->value.integer.max = 255; in snd_emu10k1_efx_send_volume_info()
1569 static int snd_emu10k1_efx_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_efx_attn_info() argument
1571 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_emu10k1_efx_attn_info()
1572 uinfo->count = 1; in snd_emu10k1_efx_attn_info()
1573 uinfo->value.integer.min = 0; in snd_emu10k1_efx_attn_info()
1574 uinfo->value.integer.max = 0xffff; in snd_emu10k1_efx_attn_info()