Lines Matching refs:uinfo
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()
1570 uinfo->value.integer.max = max_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1571 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1638 struct snd_ctl_elem_info *uinfo) in snd_asihpi_aesebu_format_info() argument
1640 return snd_ctl_enum_info(uinfo, 1, 3, asihpi_aesebu_format_names); in snd_asihpi_aesebu_format_info()
1698 struct snd_ctl_elem_info *uinfo) in snd_asihpi_aesebu_rxstatus_info() argument
1700 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_aesebu_rxstatus_info()
1701 uinfo->count = 1; in snd_asihpi_aesebu_rxstatus_info()
1703 uinfo->value.integer.min = 0; in snd_asihpi_aesebu_rxstatus_info()
1704 uinfo->value.integer.max = 0X1F; in snd_asihpi_aesebu_rxstatus_info()
1705 uinfo->value.integer.step = 1; in snd_asihpi_aesebu_rxstatus_info()
1782 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_gain_info() argument
1796 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_tuner_gain_info()
1797 uinfo->count = 1; in snd_asihpi_tuner_gain_info()
1798 uinfo->value.integer.min = ((int)gain_range[0]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1799 uinfo->value.integer.max = ((int)gain_range[1]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1800 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1856 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_band_info() argument
1867 return snd_ctl_enum_info(uinfo, 1, num_bands, asihpi_tuner_band_names); in snd_asihpi_tuner_band_info()
1923 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_freq_info() argument
1959 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_tuner_freq_info()
1960 uinfo->count = 1; in snd_asihpi_tuner_freq_info()
1961 uinfo->value.integer.min = ((int)freq_range[0]); in snd_asihpi_tuner_freq_info()
1962 uinfo->value.integer.max = ((int)freq_range[1]); in snd_asihpi_tuner_freq_info()
1963 uinfo->value.integer.step = ((int)freq_range[2]); in snd_asihpi_tuner_freq_info()
2031 struct snd_ctl_elem_info *uinfo) in snd_asihpi_meter_info() argument
2040 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_meter_info()
2041 uinfo->count = count; in snd_asihpi_meter_info()
2042 uinfo->value.integer.min = 0; in snd_asihpi_meter_info()
2043 uinfo->value.integer.max = 0x7FFFFFFF; in snd_asihpi_meter_info()
2134 struct snd_ctl_elem_info *uinfo) in snd_asihpi_mux_info() argument
2139 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_mux_info()
2140 uinfo->count = 1; in snd_asihpi_mux_info()
2141 uinfo->value.enumerated.items = in snd_asihpi_mux_info()
2144 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info()
2145 uinfo->value.enumerated.item = in snd_asihpi_mux_info()
2146 uinfo->value.enumerated.items - 1; in snd_asihpi_mux_info()
2149 uinfo->value.enumerated.item, in snd_asihpi_mux_info()
2152 sprintf(uinfo->value.enumerated.name, "%s %d", in snd_asihpi_mux_info()
2228 struct snd_ctl_elem_info *uinfo) in snd_asihpi_cmode_info() argument
2256 return snd_ctl_enum_info(uinfo, 1, valid_modes, mapped_names); in snd_asihpi_cmode_info()
2318 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clksrc_info() argument
2323 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_clksrc_info()
2324 uinfo->count = 1; in snd_asihpi_clksrc_info()
2325 uinfo->value.enumerated.items = clkcache->count; in snd_asihpi_clksrc_info()
2327 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_clksrc_info()
2328 uinfo->value.enumerated.item = in snd_asihpi_clksrc_info()
2329 uinfo->value.enumerated.items - 1; in snd_asihpi_clksrc_info()
2331 strcpy(uinfo->value.enumerated.name, in snd_asihpi_clksrc_info()
2332 clkcache->s[uinfo->value.enumerated.item].name); in snd_asihpi_clksrc_info()
2393 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clklocal_info() argument
2395 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_clklocal_info()
2396 uinfo->count = 1; in snd_asihpi_clklocal_info()
2397 uinfo->value.integer.min = 8000; in snd_asihpi_clklocal_info()
2398 uinfo->value.integer.max = 192000; in snd_asihpi_clklocal_info()
2399 uinfo->value.integer.step = 100; in snd_asihpi_clklocal_info()
2435 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clkrate_info() argument
2437 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_clkrate_info()
2438 uinfo->count = 1; in snd_asihpi_clkrate_info()
2439 uinfo->value.integer.min = 8000; in snd_asihpi_clkrate_info()
2440 uinfo->value.integer.max = 192000; in snd_asihpi_clkrate_info()
2441 uinfo->value.integer.step = 100; in snd_asihpi_clkrate_info()