Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/parisc/
H A Dled.c439 unsigned char currentleds = 0; /* stores current value of the LEDs */ in led_work_func() local
459 currentleds |= LED_HEARTBEAT; in led_work_func()
462 if (likely(led_lanrxtx)) currentleds |= led_get_net_activity(); in led_work_func()
463 if (likely(led_diskio)) currentleds |= led_get_diskio_activity(); in led_work_func()
470 currentleds = (count_HZ <= (HZ/2)) ? 0 : 0xff; in led_work_func()
474 currentleds &= ~(LED4|LED5|LED6|LED7); in led_work_func()
476 currentleds |= (LED4|LED5|LED6|LED7); in led_work_func()
480 if (currentleds != lastleds) in led_work_func()
482 led_func_ptr(currentleds); /* Update the LCD/LEDs */ in led_work_func()
483 lastleds = currentleds; in led_work_func()