Lines Matching full:spec
355 * @param spec LED device specification from devicetree.
361 static inline int led_set_brightness_dt(const struct led_dt_spec *spec, in led_set_brightness_dt() argument
364 return led_set_brightness(spec->dev, spec->index, value); in led_set_brightness_dt()
370 * @param spec LED device specification from devicetree.
375 static inline int led_on_dt(const struct led_dt_spec *spec) in led_on_dt() argument
377 return led_on(spec->dev, spec->index); in led_on_dt()
383 * @param spec LED device specification from devicetree.
388 static inline int led_off_dt(const struct led_dt_spec *spec) in led_off_dt() argument
390 return led_off(spec->dev, spec->index); in led_off_dt()
396 * @param spec LED specification from devicetree.
401 static inline bool led_is_ready_dt(const struct led_dt_spec *spec) in led_is_ready_dt() argument
403 return device_is_ready(spec->dev); in led_is_ready_dt()
426 * const struct led_dt_spec spec = LED_DT_SPEC_GET(DT_NODELABEL(led0));
428 * // Initializes 'spec' to: