Home
last modified time | relevance | path

Searched refs:led_info (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/drivers/led/
Dncp5623.c41 const struct led_info *leds_info;
44 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()
56 const struct led_info *led_info = ncp5623_led_to_info(config, led); in ncp5623_get_info() local
58 if (!led_info) { in ncp5623_get_info()
62 *info = led_info; in ncp5623_get_info()
71 const struct led_info *led_info = ncp5623_led_to_info(config, led); in ncp5623_set_color() local
74 if (!led_info) { in ncp5623_set_color()
78 if (led_info->num_colors != 3) { in ncp5623_set_color()
96 const struct led_info *led_info = ncp5623_led_to_info(config, led); in ncp5623_set_brightness() local
[all …]
Dlp50xx.c86 const struct led_info *leds_info;
93 static const struct led_info *lp50xx_led_to_info( in lp50xx_led_to_info()
104 const struct led_info **info) in lp50xx_get_info()
107 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_get_info() local
109 if (!led_info) { in lp50xx_get_info()
113 *info = led_info; in lp50xx_get_info()
122 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_set_brightness() local
125 if (!led_info) { in lp50xx_set_brightness()
135 buf[0] = LP50XX_LED0_BRIGHTNESS(config->num_modules) + led_info->index; in lp50xx_set_brightness()
155 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_set_color() local
[all …]
Dis31fl3194.c49 const struct led_info *led_infos;
53 static const struct led_info *is31fl3194_led_to_info(const struct is31fl3194_config *config, in is31fl3194_led_to_info()
65 const struct led_info **info_out) in is31fl3194_get_info()
68 const struct led_info *info = is31fl3194_led_to_info(config, led); in is31fl3194_get_info()
82 const struct led_info *info = is31fl3194_led_to_info(config, led); in is31fl3194_set_color()
137 const struct led_info *info = is31fl3194_led_to_info(config, led); in is31fl3194_set_brightness()
211 const struct led_info *info; in is31fl3194_check_config()
263 const struct led_info *info = NULL; in is31fl3194_init()
342 static const struct led_info is31fl3194_leds_##id[] = \
Dled_handlers.c20 const struct led_info **info) in z_vrfy_led_get_info()
Dled_shell.c115 const struct led_info *info; in cmd_get_info()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dled.h38 struct led_info { struct
65 const struct led_info **info); argument
164 const struct led_info **info);
167 const struct led_info **info) in z_impl_led_get_info()
/Zephyr-Core-3.7.0/samples/drivers/led_lp50xx/src/
Dmain.c47 static int prepare_color_buffer(const struct led_info *info, uint8_t *buf, in prepare_color_buffer()
81 const struct led_info *info; in run_led_test()
176 const struct led_info *info; in run_channel_test()
285 const struct led_info *info; in run_test()
/Zephyr-Core-3.7.0/tests/drivers/led/led_api/src/
Dtest_led_api.c49 const struct led_info test_led_info[] = { \
78 const struct led_info *info; in ZTEST_USER()