Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.0/include/zephyr/drivers/led/
Dlp50xx.h28 #define LP50XX_BANK_COL1_CHAN(led) (LP50XX_BANK_CHAN_BASE + 1) argument
29 #define LP50XX_BANK_COL2_CHAN(led) (LP50XX_BANK_CHAN_BASE + 2) argument
30 #define LP50XX_BANK_COL3_CHAN(led) (LP50XX_BANK_CHAN_BASE + 3) argument
34 #define LP50XX_LED_BRIGHT_CHAN(led) (LP50XX_LED_BRIGHT_CHAN_BASE + led) argument
45 #define LP5012_LED_COL1_CHAN(led) \ argument
47 #define LP5012_LED_COL2_CHAN(led) \ argument
49 #define LP5012_LED_COL3_CHAN(led) \ argument
53 #define LP5024_LED_COL1_CHAN(led) \ argument
55 #define LP5024_LED_COL2_CHAN(led) \ argument
57 #define LP5024_LED_COL3_CHAN(led) \ argument
[all …]
/Zephyr-Core-3.7.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
Dncp5623.c44 static const struct led_info *ncp5623_led_to_info(const struct ncp5623_config *config, uint32_t led) in ncp5623_led_to_info()
53 static int ncp5623_get_info(const struct device *dev, uint32_t led, const struct led_info **info) in ncp5623_get_info()
67 static int ncp5623_set_color(const struct device *dev, uint32_t led, uint8_t num_colors, in ncp5623_set_color()
93 static int ncp5623_set_brightness(const struct device *dev, uint32_t led, uint8_t value) in ncp5623_set_brightness()
123 static inline int ncp5623_led_on(const struct device *dev, uint32_t led) in ncp5623_led_on()
128 static inline int ncp5623_led_off(const struct device *dev, uint32_t led) in ncp5623_led_off()
Dled_npm1300.c33 static int led_npm1300_on(const struct device *dev, uint32_t led) in led_npm1300_on()
49 static int led_npm1300_off(const struct device *dev, uint32_t led) in led_npm1300_off()
78 for (uint8_t led = 0U; led < NPM1300_LED_PINS; led++) { in led_npm1300_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()
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()
Dis31fl3194.c54 uint32_t led) in is31fl3194_led_to_info()
64 uint32_t led, in is31fl3194_get_info()
78 static int is31fl3194_set_color(const struct device *dev, uint32_t led, uint8_t num_colors, in is31fl3194_set_color()
134 static int is31fl3194_set_brightness(const struct device *dev, uint32_t led, uint8_t value) in is31fl3194_set_brightness()
169 static inline int is31fl3194_led_on(const struct device *dev, uint32_t led) in is31fl3194_led_on()
174 static inline int is31fl3194_led_off(const struct device *dev, uint32_t led) in is31fl3194_led_off()
Dled_shell.c25 const struct device * *dev, uint32_t *led) in parse_common_args()
49 uint32_t led; in cmd_off() local
70 uint32_t led; in cmd_on() local
113 uint32_t led; in cmd_get_info() local
151 uint32_t led; in cmd_set_brightness() local
187 uint32_t led; in cmd_set_color() local
Dlp5569.c41 static int lp5569_led_set_brightness(const struct device *dev, uint32_t led, in lp5569_led_set_brightness()
64 static inline int lp5569_led_on(const struct device *dev, uint32_t led) in lp5569_led_on()
70 static inline int lp5569_led_off(const struct device *dev, uint32_t led) in lp5569_led_off()
Dpca9633.c56 static int pca9633_led_blink(const struct device *dev, uint32_t led, in pca9633_led_blink()
120 static int pca9633_led_set_brightness(const struct device *dev, uint32_t led, in pca9633_led_set_brightness()
154 static inline int pca9633_led_on(const struct device *dev, uint32_t led) in pca9633_led_on()
170 static inline int pca9633_led_off(const struct device *dev, uint32_t led) in pca9633_led_off()
/Zephyr-Core-3.7.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.7.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.7.0/samples/boards/google_twinkie_v2_pda/src/
Dview.c19 static void set_led(const struct device *const led, enum led_color_t led_color) in set_led()
40 const struct device *const led = DEVICE_DT_GET_ONE(gpio_leds); in main() local
/Zephyr-Core-3.7.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.7.0/boards/others/stm32f030_demo/
Dstm32f030_demo.dts24 led: led { label
/Zephyr-Core-3.7.0/samples/drivers/led_is31fl3733/src/
Dmain.c20 static int led_channel_write(const struct device *led) in led_channel_write()
58 static int led_brightness(const struct device *led) in led_brightness()
81 static int led_on_off(const struct device *led) in led_on_off()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dled.h141 static inline int z_impl_led_blink(const struct device *dev, uint32_t led, in z_impl_led_blink()
166 static inline int z_impl_led_get_info(const struct device *dev, uint32_t led, in z_impl_led_get_info()
198 uint32_t led, in z_impl_led_set_brightness()
283 static inline int z_impl_led_set_color(const struct device *dev, uint32_t led, in z_impl_led_set_color()
306 static inline int z_impl_led_on(const struct device *dev, uint32_t led) in z_impl_led_on()
325 static inline int z_impl_led_off(const struct device *dev, uint32_t led) in z_impl_led_off()
/Zephyr-Core-3.7.0/boards/arduino/uno_r4/
Darduino_uno_r4_minima.dts16 led: led { label
Darduino_uno_r4_wifi.dts16 led: led { label
/Zephyr-Core-3.7.0/boards/adafruit/feather_stm32f405/
Dadafruit_feather_stm32f405.dts26 led: led { label
/Zephyr-Core-3.7.0/boards/others/stm32_min_dev/
Dstm32_min_dev.dts25 led: led { label
/Zephyr-Core-3.7.0/samples/drivers/led_is31fl3216a/src/
Dmain.c23 static void pulse_led(int led, const struct device *const dev) in pulse_led()
82 int led; in main() local
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/blinky/src/
Dmain.c15 static const struct gpio_dt_spec led = variable

12