Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-pm8058.c23 u32 ledtype; member
36 switch (led->ledtype) { in pm8058_led_set()
69 switch (led->ledtype) { in pm8058_led_get()
102 led->ledtype = (u32)(unsigned long)of_device_get_match_data(dev); in pm8058_led_probe()
121 if (led->ledtype == PM8058_LED_TYPE_COMMON) in pm8058_led_probe()
143 if (led->ledtype == PM8058_LED_TYPE_KEYPAD || in pm8058_led_probe()
144 led->ledtype == PM8058_LED_TYPE_FLASH) in pm8058_led_probe()
/openbmc/ipmitool/lib/
H A Dipmi_sunoem.c250 int ledtype, struct ipmi_rs **loc_rsp) in sunoem_led_get() argument
263 if (ledtype == 0xFF) in sunoem_led_get()
266 rqdata[1] = ledtype; in sunoem_led_get()
300 int ledtype, int ledmode) in sunoem_led_set() argument
312 if (ledtype == 0xFF) in sunoem_led_set()
315 rqdata[1] = ledtype; in sunoem_led_set()
347 uint8_t entity_inst, int ledtype) in sunoem_led_get_byentity() argument
372 res = sunoem_led_get(intf, e->record.genloc, ledtype, &rsp); in sunoem_led_get_byentity()
391 uint8_t entity_inst, int ledtype, int ledmode) in sunoem_led_set_byentity() argument
416 rsp = sunoem_led_set(intf, e->record.genloc, ledtype, ledmode); in sunoem_led_set_byentity()
[all …]