Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-mlxreg.c39 u8 base_color; member
127 if (regval >= led_data->base_color && in mlxreg_led_get_hw()
128 regval <= (led_data->base_color + MLXREG_LED_OFFSET_BLINK_6HZ)) in mlxreg_led_get_hw()
140 return mlxreg_led_store_hw(led_data, led_data->base_color); in mlxreg_led_brightness_set()
173 err = mlxreg_led_store_hw(led_data, led_data->base_color + in mlxreg_led_blink_set()
176 err = mlxreg_led_store_hw(led_data, led_data->base_color + in mlxreg_led_blink_set()
179 err = mlxreg_led_store_hw(led_data, led_data->base_color); in mlxreg_led_blink_set()
223 led_data->base_color = MLXREG_LED_RED_SOLID; in mlxreg_led_config()
226 led_data->base_color = MLXREG_LED_AMBER_SOLID; in mlxreg_led_config()
229 led_data->base_color = MLXREG_LED_GREEN_SOLID; in mlxreg_led_config()
H A Dleds-mlxcpld.c75 u8 base_color; member
101 u8 base_color; member
289 pled->param.base_color); in mlxcpld_led_brightness_set()
316 pled->param.base_color + in mlxcpld_led_blink_set()
320 pled->param.base_color + in mlxcpld_led_blink_set()
352 cpld->pled[i].param.base_color = in mlxcpld_led_config()
353 mlxcpld_led->profile[i].base_color; in mlxcpld_led_config()