Lines Matching refs:FUNC_LEDS
70 #define FUNC_LEDS (BIT(12) | BIT(0))
593 ret = call_fext_func(device, FUNC_LEDS, 0x1, LOGOLAMP_POWERON, poweron);
597 return call_fext_func(device, FUNC_LEDS, 0x1, LOGOLAMP_ALWAYS, always);
605 ret = call_fext_func(device, FUNC_LEDS, 0x2, LOGOLAMP_ALWAYS, 0x0);
609 ret = call_fext_func(device, FUNC_LEDS, 0x2, LOGOLAMP_POWERON, 0x0);
622 return call_fext_func(device, FUNC_LEDS, 0x1, KEYBOARD_LAMPS,
625 return call_fext_func(device, FUNC_LEDS, 0x1, KEYBOARD_LAMPS,
635 FUNC_LEDS, 0x2, KEYBOARD_LAMPS, 0x0) == FUNC_LED_ON)
671 curr = call_fext_func(device, FUNC_LEDS, 0x2, ECO_LED, 0x0);
673 return call_fext_func(device, FUNC_LEDS, 0x1, ECO_LED,
676 return call_fext_func(device, FUNC_LEDS, 0x1, ECO_LED,
685 if (call_fext_func(device, FUNC_LEDS, 0x2, ECO_LED, 0x0) & ECO_LED_ON)
698 FUNC_LEDS, 0x0, 0x0, 0x0) & LOGOLAMP_POWERON) {
712 FUNC_LEDS, 0x0, 0x0, 0x0) & KEYBOARD_LAMPS) &&
754 if ((call_fext_func(device, FUNC_LEDS, 0x0, 0x0, 0x0) & BIT(14)) &&
756 FUNC_LEDS, 0x2, ECO_LED, 0x0) != UNSUPPORTED_CMD)) {