Searched refs:VOL_STEP_mB (Results 1 – 1 of 1) sorted by relevance
1425 #define VOL_STEP_mB 1 macro1442 step_gain_mB = VOL_STEP_mB; 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()1464 ucontrol->value.integer.value[0] = an_gain_mB[0] / VOL_STEP_mB; in snd_asihpi_volume_get()1465 ucontrol->value.integer.value[1] = an_gain_mB[1] / VOL_STEP_mB; in snd_asihpi_volume_get()1477 (ucontrol->value.integer.value[0]) * VOL_STEP_mB; in snd_asihpi_volume_put()1479 (ucontrol->value.integer.value[1]) * VOL_STEP_mB; in snd_asihpi_volume_put()1487 static const DECLARE_TLV_DB_SCALE(db_scale_100, -10000, VOL_STEP_mB, 0);