Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-led.c112 static int led_blink(unsigned char on_eighths, unsigned char off_eighths) in led_blink() argument
118 on_eighths, /* blink on in eigths of a second */ in led_blink()
134 unsigned long on_eighths; in dell_led_blink() local
142 on_eighths = DIV_ROUND_UP(*delay_on, 125); in dell_led_blink()
143 on_eighths = clamp_t(unsigned long, on_eighths, 1, 255); in dell_led_blink()
144 *delay_on = on_eighths * 125; in dell_led_blink()
150 led_blink(on_eighths, off_eighths); in dell_led_blink()