Home
last modified time | relevance | path

Searched refs:HPI_UNITS_PER_dB (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/sound/pci/asihpi/
Dasihpi.c1618 uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1619 uinfo->value.integer.max = max_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1620 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1632 an_gain_mB[0] / HPI_UNITS_PER_dB; in snd_asihpi_level_get()
1634 an_gain_mB[1] / HPI_UNITS_PER_dB; in snd_asihpi_level_get()
1647 (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; in snd_asihpi_level_put()
1649 (ucontrol->value.integer.value[1]) * HPI_UNITS_PER_dB; in snd_asihpi_level_put()
1847 uinfo->value.integer.min = ((int)gain_range[0]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1848 uinfo->value.integer.max = ((int)gain_range[1]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1849 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
[all …]
Dhpi.h651 #define HPI_UNITS_PER_dB 100 macro
655 #define HPI_GAIN_OFF (-100 * HPI_UNITS_PER_dB)
665 #define HPI_METER_MINIMUM (-150 * HPI_UNITS_PER_dB)