Lines Matching full:backlight
23 const struct gpio_dt_spec backlight; member
287 if (cfg->backlight.port != NULL) { in ili9806e_blanking_on()
288 ret = gpio_pin_set_dt(&cfg->backlight, 0); in ili9806e_blanking_on()
290 LOG_ERR("Disable backlight failed! (%d)", ret); in ili9806e_blanking_on()
303 if (cfg->backlight.port != NULL) { in ili9806e_blanking_off()
304 ret = gpio_pin_set_dt(&cfg->backlight, 1); in ili9806e_blanking_off()
306 LOG_ERR("Enable backlight failed! (%d)", ret); in ili9806e_blanking_off()
403 if (cfg->backlight.port != NULL) { in ili9806e_init()
404 ret = gpio_pin_configure_dt(&cfg->backlight, GPIO_OUTPUT_ACTIVE); in ili9806e_init()
406 LOG_ERR("Could not configure backlight GPIO (%d)", ret); in ili9806e_init()
424 .backlight = GPIO_DT_SPEC_INST_GET_OR(n, bl_gpios, {0}), \