Home
last modified time | relevance | path

Searched refs:mipi_dev (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/drivers/mipi_dsi/api/src/
Dmain.c17 static const struct device *const mipi_dev = DEVICE_DT_GET(DT_ALIAS(mipi_dsi)); variable
29 ret = mipi_dsi_generic_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 1); in ZTEST()
34 ret = mipi_dsi_generic_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 2); in ZTEST()
40 ret = mipi_dsi_generic_read(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, param, 1, rx_buf, 2); in ZTEST()
57 ret = mipi_dsi_dcs_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, in ZTEST()
62 ret = mipi_dsi_dcs_write(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, in ZTEST()
69 ret = mipi_dsi_dcs_read(mipi_dev, CONFIG_MIPI_DSI_TEST_CHANNEL, in ZTEST()
79 __ASSERT_NO_MSG(device_is_ready(mipi_dev)); in mipi_dsi_setup()
/Zephyr-latest/drivers/display/
Dssd1327.c28 const struct device *mipi_dev; member
54 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, cmd, NULL, 0); in ssd1327_write_bus_cmd()
59 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ssd1327_write_bus_cmd()
65 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd1327_write_bus_cmd()
220 err = mipi_dbi_write_display(config->mipi_dev, &config->dbi_config, buf, &mipi_desc, in ssd1327_write()
225 return mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd1327_write()
301 if (!device_is_ready(config->mipi_dev)) { in ssd1327_init()
306 if (mipi_dbi_reset(config->mipi_dev, SSD1327_RESET_DELAY)) { in ssd1327_init()
332 .mipi_dev = DEVICE_DT_GET(DT_PARENT(node_id)), \
Ddisplay_st7735r.c33 const struct device *mipi_dev; member
76 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in st7735r_transmit_hold()
87 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in st7735r_transmit()
111 ret = mipi_dbi_reset(config->mipi_dev, ST7735R_RESET_TIME); in st7735r_reset_display()
229 ret = mipi_dbi_write_display(config->mipi_dev, in st7735r_write()
243 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in st7735r_write()
434 if (!device_is_ready(config->mipi_dev)) { in st7735r_init()
435 LOG_ERR("MIPI bus %s not ready", config->mipi_dev->name); in st7735r_init()
494 .mipi_dev = DEVICE_DT_GET(DT_INST_PARENT(inst)), \
Dssd1322.c47 const struct device *mipi_dev; member
71 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, cmd, buf, len); in ssd1322_write_command()
149 ret = mipi_dbi_write_display(config->mipi_dev, &config->dbi_config, in ssd1322_write_pixels()
232 ret = mipi_dbi_reset(config->mipi_dev, 1); in ssd1322_init_device()
337 if (!device_is_ready(config->mipi_dev)) { in ssd1322_init()
381 .mipi_dev = DEVICE_DT_GET(DT_PARENT(node_id)), \
Ddisplay_ili9xxx.c72 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ili9xxx_transmit()
94 if (mipi_dbi_reset(config->mipi_dev, ILI9XXX_RESET_PULSE_TIME) < 0) { in ili9xxx_hw_reset()
174 r = mipi_dbi_write_display(config->mipi_dev, in ili9xxx_write()
248 r = mipi_dbi_command_read(config->mipi_dev, in ili9xxx_read()
442 if (!device_is_ready(config->mipi_dev)) { in ili9xxx_init()
522 .mipi_dev = DEVICE_DT_GET(DT_PARENT(INST_DT_ILI9XXX(n, t))), \
Duc81xx.c79 const struct device *mipi_dev; member
117 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in uc81xx_write_cmd()
119 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in uc81xx_write_cmd()
134 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in uc81xx_write_cmd_pattern()
151 err = mipi_dbi_write_display(config->mipi_dev, in uc81xx_write_cmd_pattern()
163 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in uc81xx_write_cmd_pattern()
520 mipi_dbi_reset(config->mipi_dev, UC81XX_RESET_DELAY); in uc81xx_controller_init()
544 if (!device_is_ready(config->mipi_dev)) { in uc81xx_init()
775 .mipi_dev = DEVICE_DT_GET(DT_PARENT(n)), \
Ddisplay_gc9x01x.c33 const struct device *mipi_dev; member
225 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in gc9x01x_transmit()
235 if (!device_is_ready(config->mipi_dev)) { in gc9x01x_regs_init()
346 ret = mipi_dbi_reset(config->mipi_dev, 100); in gc9x01x_hw_reset()
552 ret = mipi_dbi_write_display(config->mipi_dev, in gc9x01x_write()
624 .mipi_dev = DEVICE_DT_GET(DT_INST_PARENT(inst)), \
Ddisplay_ili9xxx.h70 const struct device *mipi_dev; member
Dssd16xx.c94 const struct device *mipi_dev; member
133 err = mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ssd16xx_write_cmd()
135 mipi_dbi_release(config->mipi_dev, &config->dbi_config); in ssd16xx_write_cmd()
157 return mipi_dbi_command_read(config->mipi_dev, &config->dbi_config, in ssd16xx_read_cmd()
859 err = mipi_dbi_reset(config->mipi_dev, SSD16XX_RESET_DELAY); in ssd16xx_controller_init()
912 if (!device_is_ready(config->mipi_dev)) { in ssd16xx_init()
1054 .mipi_dev = DEVICE_DT_GET(DT_PARENT(n)), \
Ddisplay_hx8394.c409 static ssize_t hx8394_mipi_tx(const struct device *mipi_dev, uint8_t channel, in hx8394_mipi_tx() argument
437 return mipi_dsi_transfer(mipi_dev, channel, &msg); in hx8394_mipi_tx()