Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/parisc/
Dled.c446 static unsigned long count_HZ; /* counter in range 0..HZ */ in led_work_func() local
454 count_HZ += jiffies - last_jiffies; in led_work_func()
456 if (count_HZ >= HZ) in led_work_func()
457 count_HZ = 0; in led_work_func()
464 if (count_HZ < HEARTBEAT_LEN || in led_work_func()
465 (count_HZ >= HEARTBEAT_2ND_RANGE_START && in led_work_func()
466 count_HZ < HEARTBEAT_2ND_RANGE_END)) in led_work_func()
478 currentleds = (count_HZ <= (HZ/2)) ? 0 : 0xff; in led_work_func()
481 if (count_HZ <= (HZ/2)) in led_work_func()