Searched refs:volume_percent (Results 1 – 1 of 1) sorted by relevance
317 static unsigned char volume_to_hw(int volume_percent) in volume_to_hw() argument321 if (volume_percent < 0) in volume_to_hw()322 volume_percent = 0; in volume_to_hw()323 if (volume_percent > 100) in volume_to_hw()324 volume_percent = 100; in volume_to_hw()326 if (volume_percent >= 0) in volume_to_hw()328 if (volume_percent >= 13) /* 12.5 */ in volume_to_hw()330 if (volume_percent >= 25) in volume_to_hw()332 if (volume_percent >= 38) /* 37.5 */ in volume_to_hw()334 if (volume_percent >= 50) in volume_to_hw()[all …]