Lines Matching refs:volume_percent
329 static unsigned char volume_to_hw(int volume_percent) in volume_to_hw() argument
333 if (volume_percent < 0) in volume_to_hw()
334 volume_percent = 0; in volume_to_hw()
335 if (volume_percent > 100) in volume_to_hw()
336 volume_percent = 100; in volume_to_hw()
338 if (volume_percent >= 0) in volume_to_hw()
340 if (volume_percent >= 13) /* 12.5 */ in volume_to_hw()
342 if (volume_percent >= 25) in volume_to_hw()
344 if (volume_percent >= 38) /* 37.5 */ in volume_to_hw()
346 if (volume_percent >= 50) in volume_to_hw()
348 if (volume_percent >= 63) /* 62.5 */ in volume_to_hw()
350 if (volume_percent >= 75) in volume_to_hw()
352 if (volume_percent >= 88) /* 87.5 */ in volume_to_hw()