Home
last modified time | relevance | path

Searched refs:volume_percent (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dlkkbd.c317 static unsigned char volume_to_hw(int volume_percent) in volume_to_hw() argument
321 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 > in volume_to_hw()
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dlkkbd.c314 static unsigned char volume_to_hw(int volume_percent) in volume_to_hw() argument
318 if (volume_percent < 0) in volume_to_hw()
319 volume_percent = 0; in volume_to_hw()
320 if (volume_percent > 100) in volume_to_hw()
321 volume_percent = 100; in volume_to_hw()
323 if (volume_percent >= 0) in volume_to_hw()
325 if (volume_percent >= 13) /* 12.5 */ in volume_to_hw()
327 if (volume_percent >= 25) in volume_to_hw()
329 if (volume_percent >= 38) /* 37.5 */ in volume_to_hw()
331 if (volume_percent > in volume_to_hw()
[all...]

Completed in 2 milliseconds