Searched refs:led_info (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/drivers/led/ |
D | ncp5623.c | 41 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 …]
|
D | lp50xx.c | 87 const struct led_info *leds_info; 94 static const struct led_info *lp50xx_led_to_info( in lp50xx_led_to_info() 105 const struct led_info **info) in lp50xx_get_info() 108 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_get_info() local 110 if (!led_info) { in lp50xx_get_info() 114 *info = led_info; in lp50xx_get_info() 123 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_set_brightness() local 126 if (!led_info) { in lp50xx_set_brightness() 140 buf[0] = LP50XX_LED0_BRIGHTNESS(config->num_modules) + led_info->index; in lp50xx_set_brightness() 160 const struct led_info *led_info = lp50xx_led_to_info(config, led); in lp50xx_set_color() local [all …]
|
D | led_handlers.c | 20 const struct led_info **info) in z_vrfy_led_get_info()
|
D | led_shell.c | 92 const struct led_info *info; in cmd_get_info()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | led.h | 41 struct led_info { struct 64 const struct led_info **info); argument 163 const struct led_info **info); 166 const struct led_info **info) in z_impl_led_get_info()
|
/Zephyr-Core-3.5.0/samples/drivers/led_lp50xx/src/ |
D | main.c | 47 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.5.0/tests/drivers/led/led_api/src/ |
D | test_led_api.c | 49 const struct led_info test_led_info[] = { \ 78 const struct led_info *info; in ZTEST_USER()
|