Home
last modified time | relevance | path

Searched defs:led (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.4.0/include/zephyr/drivers/led/
Dlp503x.h23 #define LP503X_BANK_COL1_CHAN(led) (LP503X_BANK_CHAN_BASE + 1) argument
24 #define LP503X_BANK_COL2_CHAN(led) (LP503X_BANK_CHAN_BASE + 2) argument
25 #define LP503X_BANK_COL3_CHAN(led) (LP503X_BANK_CHAN_BASE + 3) argument
29 #define LP503X_LED_BRIGHT_CHAN(led) (LP503X_LED_BRIGHT_CHAN_BASE + led) argument
33 #define LP503X_LED_COL1_CHAN(led) (LP503X_LED_COL_CHAN_BASE + \ argument
35 #define LP503X_LED_COL2_CHAN(led) (LP503X_LED_COL_CHAN_BASE + \ argument
37 #define LP503X_LED_COL3_CHAN(led) (LP503X_LED_COL_CHAN_BASE + \ argument
/Zephyr-Core-3.4.0/drivers/led/
Dled_handlers.c10 static inline int z_vrfy_led_blink(const struct device *dev, uint32_t led, in z_vrfy_led_blink()
19 static inline int z_vrfy_led_get_info(const struct device *dev, uint32_t led, in z_vrfy_led_get_info()
29 uint32_t led, in z_vrfy_led_set_brightness()
56 static inline int z_vrfy_led_set_color(const struct device *dev, uint32_t led, in z_vrfy_led_set_color()
65 static inline int z_vrfy_led_on(const struct device *dev, uint32_t led) in z_vrfy_led_on()
72 static inline int z_vrfy_led_off(const struct device *dev, uint32_t led) in z_vrfy_led_off()
Dled_pwm.c26 const struct pwm_dt_spec *led; member
29 static int led_pwm_blink(const struct device *dev, uint32_t led, in led_pwm_blink()
56 uint32_t led, uint8_t value) in led_pwm_set_brightness()
71 static int led_pwm_on(const struct device *dev, uint32_t led) in led_pwm_on()
76 static int led_pwm_off(const struct device *dev, uint32_t led) in led_pwm_off()
93 const struct pwm_dt_spec *led = &config->led[i]; in led_pwm_init() local
113 const struct pwm_dt_spec *led = &config->led[i]; in led_pwm_pm_action() local
Dled_gpio.c24 const struct gpio_dt_spec *led; member
27 static int led_gpio_set_brightness(const struct device *dev, uint32_t led, uint8_t value) in led_gpio_set_brightness()
42 static int led_gpio_on(const struct device *dev, uint32_t led) in led_gpio_on()
47 static int led_gpio_off(const struct device *dev, uint32_t led) in led_gpio_off()
63 const struct gpio_dt_spec *led = &config->led[i]; in led_gpio_init() local
Dtlc59108.c60 static int tlc59108_set_ledout(const struct device *dev, uint32_t led, in tlc59108_set_ledout()
83 static int tlc59108_led_blink(const struct device *dev, uint32_t led, in tlc59108_led_blink()
137 static int tlc59108_led_set_brightness(const struct device *dev, uint32_t led, in tlc59108_led_set_brightness()
165 static inline int tlc59108_led_on(const struct device *dev, uint32_t led) in tlc59108_led_on()
175 static inline int tlc59108_led_off(const struct device *dev, uint32_t led) in tlc59108_led_off()
Dled_shell.c24 const struct device * *dev, uint32_t *led) in parse_common_args()
48 uint32_t led; in cmd_off() local
69 uint32_t led; in cmd_on() local
90 uint32_t led; in cmd_get_info() local
128 uint32_t led; in cmd_set_brightness() local
164 uint32_t led; in cmd_set_color() local
Dlp3943.c62 static int lp3943_get_led_reg(uint32_t *led, uint8_t *reg) in lp3943_get_led_reg()
105 uint32_t led, uint8_t mode) in lp3943_set_dim_states()
125 static int lp3943_led_blink(const struct device *dev, uint32_t led, in lp3943_led_blink()
168 static int lp3943_led_set_brightness(const struct device *dev, uint32_t led, in lp3943_led_set_brightness()
209 static inline int lp3943_led_on(const struct device *dev, uint32_t led) in lp3943_led_on()
231 static inline int lp3943_led_off(const struct device *dev, uint32_t led) in lp3943_led_off()
Dpca9633.c54 static int pca9633_led_blink(const struct device *dev, uint32_t led, in pca9633_led_blink()
118 static int pca9633_led_set_brightness(const struct device *dev, uint32_t led, in pca9633_led_set_brightness()
152 static inline int pca9633_led_on(const struct device *dev, uint32_t led) in pca9633_led_on()
168 static inline int pca9633_led_off(const struct device *dev, uint32_t led) in pca9633_led_off()
Dlp503x.c75 lp503x_led_to_info(const struct lp503x_config *config, uint32_t led) in lp503x_led_to_info()
87 static int lp503x_get_info(const struct device *dev, uint32_t led, in lp503x_get_info()
103 uint32_t led, uint8_t value) in lp503x_set_brightness()
119 static int lp503x_on(const struct device *dev, uint32_t led) in lp503x_on()
124 static int lp503x_off(const struct device *dev, uint32_t led) in lp503x_off()
129 static int lp503x_set_color(const struct device *dev, uint32_t led, in lp503x_set_color()
/Zephyr-Core-3.4.0/samples/basic/threads/src/
Dmain.c33 uint32_t led; member
39 struct led { struct
44 static const struct led led0 = { argument
54 void blink(const struct led *led, uint32_t sleep_ms, uint32_t id) in blink()
/Zephyr-Core-3.4.0/tests/drivers/led/led_api/src/
Dtest_led_api.c70 uint8_t led; in ZTEST_USER() local
126 uint8_t led; in ZTEST_USER() local
141 uint8_t led; in ZTEST_USER() local
156 uint8_t led; in ZTEST_USER() local
217 uint8_t led; in ZTEST_USER() local
/Zephyr-Core-3.4.0/boards/arm/stm32f030_demo/
Dstm32f030_demo.dts24 led: led { label
/Zephyr-Core-3.4.0/boards/arm/stm32_min_dev/
Dstm32_min_dev_black.dts15 led: led { label
Dstm32_min_dev_blue.dts15 led: led { label
Dstm32_min_dev.dtsi25 led: led { label
/Zephyr-Core-3.4.0/samples/drivers/led_pwm/src/
Dmain.c36 static void run_led_test(const struct device *led_pwm, uint8_t led) in run_led_test()
104 uint8_t led; in main() local
/Zephyr-Core-3.4.0/samples/drivers/led_lp503x/src/
Dmain.c46 static int run_led_test(const struct device *lp503x_dev, uint8_t led) in run_led_test()
121 uint8_t led; in run_channel_test() local
217 uint8_t led; in main() local
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dled.h140 static inline int z_impl_led_blink(const struct device *dev, uint32_t led, in z_impl_led_blink()
165 static inline int z_impl_led_get_info(const struct device *dev, uint32_t led, in z_impl_led_get_info()
197 uint32_t led, in z_impl_led_set_brightness()
282 static inline int z_impl_led_set_color(const struct device *dev, uint32_t led, in z_impl_led_set_color()
305 static inline int z_impl_led_on(const struct device *dev, uint32_t led) in z_impl_led_on()
324 static inline int z_impl_led_off(const struct device *dev, uint32_t led) in z_impl_led_off()
/Zephyr-Core-3.4.0/boards/arm/adafruit_feather_stm32f405/
Dadafruit_feather_stm32f405.dts26 led: led { label
/Zephyr-Core-3.4.0/samples/boards/stm32/power_mgmt/blinky/src/
Dmain.c15 static const struct gpio_dt_spec led = variable
/Zephyr-Core-3.4.0/samples/basic/blinky/src/
Dmain.c20 static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios); variable
/Zephyr-Core-3.4.0/boards/arm/seeeduino_xiao/
Dseeeduino_xiao.dts26 led: led_0 { label
/Zephyr-Core-3.4.0/samples/drivers/led_xec/
DREADME.rst1 .. _led: target
/Zephyr-Core-3.4.0/samples/bluetooth/st_ble_sensor/src/
Dled_svc.c19 static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); variable
/Zephyr-Core-3.4.0/samples/subsys/debug/debugmon/src/
Dmain.c14 static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios); variable

12