Home
last modified time | relevance | path

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

/linux/drivers/leds/flash/
H A Dleds-rt4505.c191 u32 val, led_faults = 0; in rt4505_fault_get() local
199 led_faults |= LED_FAULT_OVER_VOLTAGE; in rt4505_fault_get()
202 led_faults |= LED_FAULT_SHORT_CIRCUIT; in rt4505_fault_get()
205 led_faults |= LED_FAULT_OVER_TEMPERATURE; in rt4505_fault_get()
208 led_faults |= LED_FAULT_TIMEOUT; in rt4505_fault_get()
210 *fault = led_faults; in rt4505_fault_get()
H A Dleds-sy7802.c264 u32 val, led_faults = 0; in sy7802_fault_get() local
273 led_faults |= LED_FAULT_INPUT_VOLTAGE; in sy7802_fault_get()
276 led_faults |= LED_FAULT_OVER_TEMPERATURE; in sy7802_fault_get()
279 led_faults |= LED_FAULT_TIMEOUT; in sy7802_fault_get()
281 *fault = led_faults; in sy7802_fault_get()