Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c5663 #define TPACPI_LED_NUMLEDS 16 macro
5665 static enum led_status_t tpacpi_led_state_cache[TPACPI_LED_NUMLEDS];
5666 static const char * const tpacpi_led_names[TPACPI_LED_NUMLEDS] = {
5753 if (unlikely(led >= TPACPI_LED_NUMLEDS)) in led_set_status()
5826 for (i = 0; i < TPACPI_LED_NUMLEDS; i++) in led_exit()
5947 tpacpi_leds = kcalloc(TPACPI_LED_NUMLEDS, sizeof(*tpacpi_leds), in led_init()
5954 for (i = 0; i < TPACPI_LED_NUMLEDS; i++) { in led_init()
6011 if (led < 0 || led > (TPACPI_LED_NUMLEDS - 1)) in led_write()