• Home
  • Raw
  • Download

Lines Matching refs:uinfo

1408 				  struct snd_ctl_elem_info *uinfo)  in snd_asihpi_volume_info()  argument
1430 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_volume_info()
1431 uinfo->count = count; in snd_asihpi_volume_info()
1432 uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1433 uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1434 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()
1554 uinfo->value.integer.max = max_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1555 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1622 struct snd_ctl_elem_info *uinfo) in snd_asihpi_aesebu_format_info() argument
1624 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_aesebu_format_info()
1625 uinfo->count = 1; in snd_asihpi_aesebu_format_info()
1626 uinfo->value.enumerated.items = 3; in snd_asihpi_aesebu_format_info()
1628 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_aesebu_format_info()
1629 uinfo->value.enumerated.item = in snd_asihpi_aesebu_format_info()
1630 uinfo->value.enumerated.items - 1; in snd_asihpi_aesebu_format_info()
1632 strcpy(uinfo->value.enumerated.name, in snd_asihpi_aesebu_format_info()
1633 asihpi_aesebu_format_names[uinfo->value.enumerated.item]); in snd_asihpi_aesebu_format_info()
1693 struct snd_ctl_elem_info *uinfo) in snd_asihpi_aesebu_rxstatus_info() argument
1695 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_aesebu_rxstatus_info()
1696 uinfo->count = 1; in snd_asihpi_aesebu_rxstatus_info()
1698 uinfo->value.integer.min = 0; in snd_asihpi_aesebu_rxstatus_info()
1699 uinfo->value.integer.max = 0X1F; in snd_asihpi_aesebu_rxstatus_info()
1700 uinfo->value.integer.step = 1; in snd_asihpi_aesebu_rxstatus_info()
1777 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_gain_info() argument
1791 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_tuner_gain_info()
1792 uinfo->count = 1; in snd_asihpi_tuner_gain_info()
1793 uinfo->value.integer.min = ((int)gain_range[0]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1794 uinfo->value.integer.max = ((int)gain_range[1]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1795 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1851 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_band_info() argument
1862 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_tuner_band_info()
1863 uinfo->count = 1; in snd_asihpi_tuner_band_info()
1864 uinfo->value.enumerated.items = num_bands; in snd_asihpi_tuner_band_info()
1867 if (uinfo->value.enumerated.item >= in snd_asihpi_tuner_band_info()
1868 uinfo->value.enumerated.items) in snd_asihpi_tuner_band_info()
1869 uinfo->value.enumerated.item = in snd_asihpi_tuner_band_info()
1870 uinfo->value.enumerated.items - 1; in snd_asihpi_tuner_band_info()
1872 strcpy(uinfo->value.enumerated.name, in snd_asihpi_tuner_band_info()
1874 tuner_bands[uinfo->value.enumerated.item]]); in snd_asihpi_tuner_band_info()
1929 struct snd_ctl_elem_info *uinfo) in snd_asihpi_tuner_freq_info() argument
1965 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_tuner_freq_info()
1966 uinfo->count = 1; in snd_asihpi_tuner_freq_info()
1967 uinfo->value.integer.min = ((int)freq_range[0]); in snd_asihpi_tuner_freq_info()
1968 uinfo->value.integer.max = ((int)freq_range[1]); in snd_asihpi_tuner_freq_info()
1969 uinfo->value.integer.step = ((int)freq_range[2]); in snd_asihpi_tuner_freq_info()
2037 struct snd_ctl_elem_info *uinfo) in snd_asihpi_meter_info() argument
2046 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_meter_info()
2047 uinfo->count = count; in snd_asihpi_meter_info()
2048 uinfo->value.integer.min = 0; in snd_asihpi_meter_info()
2049 uinfo->value.integer.max = 0x7FFFFFFF; in snd_asihpi_meter_info()
2140 struct snd_ctl_elem_info *uinfo) in snd_asihpi_mux_info() argument
2146 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_mux_info()
2147 uinfo->count = 1; in snd_asihpi_mux_info()
2148 uinfo->value.enumerated.items = in snd_asihpi_mux_info()
2151 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info()
2152 uinfo->value.enumerated.item = in snd_asihpi_mux_info()
2153 uinfo->value.enumerated.items - 1; in snd_asihpi_mux_info()
2157 uinfo->value.enumerated.item, in snd_asihpi_mux_info()
2160 sprintf(uinfo->value.enumerated.name, "%s %d", in snd_asihpi_mux_info()
2236 struct snd_ctl_elem_info *uinfo) in snd_asihpi_cmode_info() argument
2264 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_cmode_info()
2265 uinfo->count = 1; in snd_asihpi_cmode_info()
2266 uinfo->value.enumerated.items = valid_modes; in snd_asihpi_cmode_info()
2268 if (uinfo->value.enumerated.item >= valid_modes) in snd_asihpi_cmode_info()
2269 uinfo->value.enumerated.item = valid_modes - 1; in snd_asihpi_cmode_info()
2271 strcpy(uinfo->value.enumerated.name, in snd_asihpi_cmode_info()
2272 mode_names[mode_map[uinfo->value.enumerated.item]]); in snd_asihpi_cmode_info()
2331 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clksrc_info() argument
2336 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in snd_asihpi_clksrc_info()
2337 uinfo->count = 1; in snd_asihpi_clksrc_info()
2338 uinfo->value.enumerated.items = clkcache->count; in snd_asihpi_clksrc_info()
2340 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_clksrc_info()
2341 uinfo->value.enumerated.item = in snd_asihpi_clksrc_info()
2342 uinfo->value.enumerated.items - 1; in snd_asihpi_clksrc_info()
2344 strcpy(uinfo->value.enumerated.name, in snd_asihpi_clksrc_info()
2345 clkcache->s[uinfo->value.enumerated.item].name); in snd_asihpi_clksrc_info()
2405 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clklocal_info() argument
2407 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_clklocal_info()
2408 uinfo->count = 1; in snd_asihpi_clklocal_info()
2409 uinfo->value.integer.min = 8000; in snd_asihpi_clklocal_info()
2410 uinfo->value.integer.max = 192000; in snd_asihpi_clklocal_info()
2411 uinfo->value.integer.step = 100; in snd_asihpi_clklocal_info()
2447 struct snd_ctl_elem_info *uinfo) in snd_asihpi_clkrate_info() argument
2449 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_asihpi_clkrate_info()
2450 uinfo->count = 1; in snd_asihpi_clkrate_info()
2451 uinfo->value.integer.min = 8000; in snd_asihpi_clkrate_info()
2452 uinfo->value.integer.max = 192000; in snd_asihpi_clkrate_info()
2453 uinfo->value.integer.step = 100; in snd_asihpi_clkrate_info()