Home
last modified time | relevance | path

Searched full:led_function (Results 1 – 2 of 2) sorted by relevance

/openbmc/skeleton/ledctl/
H A Dled_controller.c113 const char *led_function = sd_bus_message_get_member(msg); in led_function_router() local
114 if(led_function == NULL) in led_function_router()
121 if( (strcmp(led_function, "setOn") == 0) || in led_function_router()
122 (strcmp(led_function, "setOff") == 0)) in led_function_router()
124 rc = led_stable_state_function(led_name, led_function); in led_function_router()
127 else if( (strcmp(led_function, "setBlinkFast") == 0) || in led_function_router()
128 (strcmp(led_function, "setBlinkSlow") == 0)) in led_function_router()
130 rc = led_default_blink(led_name, led_function); in led_function_router()
133 else if(strcmp(led_function, "BlinkCustom") == 0) in led_function_router()
138 else if(strcmp(led_function, "GetLedState") == 0) in led_function_router()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dcommon.yaml36 matching LED_FUNCTION available, add a new one.