Searched refs:currentleds (Results 1 – 1 of 1) sorted by relevance
444 unsigned char currentleds = 0; /* stores current value of the LEDs */ in led_work_func() local464 currentleds |= LED_HEARTBEAT; in led_work_func()467 if (likely(led_lanrxtx)) currentleds |= led_get_net_activity(); in led_work_func()468 if (likely(led_diskio)) currentleds |= led_get_diskio_activity(); in led_work_func()475 currentleds = (count_HZ <= (HZ/2)) ? 0 : 0xff; in led_work_func()479 currentleds &= ~(LED4|LED5|LED6|LED7); in led_work_func()481 currentleds |= (LED4|LED5|LED6|LED7); in led_work_func()485 if (currentleds != lastleds) in led_work_func()487 led_func_ptr(currentleds); /* Update the LCD/LEDs */ in led_work_func()488 lastleds = currentleds; in led_work_func()