Lines Matching defs:currentleds
442 unsigned char currentleds = 0; /* stores current value of the LEDs */
462 currentleds |= LED_HEARTBEAT;
465 if (likely(led_lanrxtx)) currentleds |= led_get_net_activity();
466 if (likely(led_diskio)) currentleds |= led_get_diskio_activity();
473 currentleds = (count_HZ <= (HZ/2)) ? 0 : 0xff;
477 currentleds &= ~(LED4|LED5|LED6|LED7);
479 currentleds |= (LED4|LED5|LED6|LED7);
483 if (currentleds != lastleds)
485 led_func_ptr(currentleds); /* Update the LCD/LEDs */
486 lastleds = currentleds;