Home
last modified time | relevance | path

Searched refs:mdev (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/mipi_dsi/
Ddsi_test.c17 const struct mipi_dsi_device *mdev) in vnd_mipi_dsi_attach() argument
21 ARG_UNUSED(mdev); in vnd_mipi_dsi_attach()
37 const struct mipi_dsi_device *mdev) in vnd_mipi_dsi_detach() argument
41 ARG_UNUSED(mdev); in vnd_mipi_dsi_detach()
Ddsi_renesas_ra.c91 const struct mipi_dsi_device *mdev) in mipi_dsi_renesas_ra_attach() argument
97 if (!(mdev->mode_flags & MIPI_DSI_MODE_VIDEO)) { in mipi_dsi_renesas_ra_attach()
102 cfg.num_lanes = mdev->data_lanes; in mipi_dsi_renesas_ra_attach()
103 if (mdev->pixfmt == MIPI_DSI_PIXFMT_RGB888) { in mipi_dsi_renesas_ra_attach()
105 } else if (mdev->pixfmt == MIPI_DSI_PIXFMT_RGB565) { in mipi_dsi_renesas_ra_attach()
108 cfg.horizontal_active_lines = mdev->timings.hactive; in mipi_dsi_renesas_ra_attach()
109 cfg.horizontal_front_porch = mdev->timings.hfp; in mipi_dsi_renesas_ra_attach()
110 cfg.horizontal_back_porch = mdev->timings.hbp; in mipi_dsi_renesas_ra_attach()
111 cfg.horizontal_sync_lines = mdev->timings.hsync; in mipi_dsi_renesas_ra_attach()
113 cfg.vertical_active_lines = mdev->timings.vactive; in mipi_dsi_renesas_ra_attach()
[all …]
Ddsi_stm32.c234 const struct mipi_dsi_device *mdev) in mipi_dsi_stm32_attach() argument
241 if (!(mdev->mode_flags & MIPI_DSI_MODE_VIDEO)) { in mipi_dsi_stm32_attach()
249 if (mdev->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in mipi_dsi_stm32_attach()
251 } else if (mdev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mipi_dsi_stm32_attach()
257 vcfg->PacketSize = mdev->timings.hactive; in mipi_dsi_stm32_attach()
262 (mdev->timings.hsync * data->lane_clk_khz) / data->pixel_clk_khz; in mipi_dsi_stm32_attach()
264 (mdev->timings.hbp * data->lane_clk_khz) / data->pixel_clk_khz; in mipi_dsi_stm32_attach()
266 ((mdev->timings.hactive + mdev->timings.hsync + mdev->timings.hbp + in mipi_dsi_stm32_attach()
267 mdev->timings.hfp) * data->lane_clk_khz) / data->pixel_clk_khz; in mipi_dsi_stm32_attach()
268 vcfg->VerticalSyncActive = mdev->timings.vsync; in mipi_dsi_stm32_attach()
[all …]
Ddsi_mcux_2l.c219 const struct mipi_dsi_device *mdev) in dsi_mcux_attach() argument
230 dsi_config.numLanes = mdev->data_lanes; in dsi_mcux_attach()
255 switch (mdev->pixfmt) { in dsi_mcux_attach()
270 mdev->pixfmt); in dsi_mcux_attach()
330 if (((dsi_pixel_clk_freq * bit_width) / mdev->data_lanes) > dphy_bit_clk_freq) { in dsi_mcux_attach()
350 if (mdev->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_mcux_attach()
352 DSI_SetDpiConfig(config->base, &config->dpi_config, mdev->data_lanes, in dsi_mcux_attach()
362 const struct mipi_dsi_device *mdev) in dsi_mcux_detach() argument
Ddsi_mcux.c159 const struct mipi_dsi_device *mdev) in dsi_mcux_attach() argument
169 dsi_config.numLanes = mdev->data_lanes; in dsi_mcux_attach()
208 if (mdev->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_mcux_attach()
211 &config->dpi_config, mdev->data_lanes, in dsi_mcux_attach()
/Zephyr-latest/include/zephyr/drivers/
Dmipi_dsi.h124 const struct mipi_dsi_device *mdev);
128 const struct mipi_dsi_device *mdev);
142 const struct mipi_dsi_device *mdev) in mipi_dsi_attach() argument
146 return api->attach(dev, channel, mdev); in mipi_dsi_attach()
236 const struct mipi_dsi_device *mdev) in mipi_dsi_detach() argument
244 return api->detach(dev, channel, mdev); in mipi_dsi_detach()
/Zephyr-latest/drivers/display/
Ddisplay_nt35510.c319 struct mipi_dsi_device mdev; in nt35510_init() local
361 mdev.data_lanes = cfg->data_lanes; in nt35510_init()
362 mdev.mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM; in nt35510_init()
365 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB565; in nt35510_init()
367 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB888; in nt35510_init()
370 mdev.timings.hactive = data->xres; in nt35510_init()
371 mdev.timings.hbp = NT35510_480X800_HBP; in nt35510_init()
372 mdev.timings.hfp = NT35510_480X800_HFP; in nt35510_init()
373 mdev.timings.hsync = NT35510_480X800_HSYNC; in nt35510_init()
374 mdev.timings.vactive = data->yres; in nt35510_init()
[all …]
Ddisplay_ili9806e_dsi.c349 struct mipi_dsi_device mdev; in ili9806e_init() local
382 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB565; in ili9806e_init()
384 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB888; in ili9806e_init()
386 mdev.data_lanes = cfg->data_lanes; in ili9806e_init()
387 mdev.mode_flags = MIPI_DSI_MODE_VIDEO; in ili9806e_init()
388 mdev.timings.hactive = cfg->width; in ili9806e_init()
389 mdev.timings.hbp = ILITEK_ILI9806E_HBP; in ili9806e_init()
390 mdev.timings.hfp = ILITEK_ILI9806E_HFP; in ili9806e_init()
391 mdev.timings.hsync = ILITEK_ILI9806E_HSYNC; in ili9806e_init()
392 mdev.timings.vactive = cfg->height; in ili9806e_init()
[all …]
Ddisplay_otm8009a.c620 struct mipi_dsi_device mdev; in otm8009a_init() local
662 mdev.data_lanes = cfg->data_lanes; in otm8009a_init()
663 mdev.pixfmt = data->dsi_pixel_format; in otm8009a_init()
664 mdev.mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM; in otm8009a_init()
666 mdev.timings.hactive = data->xres; in otm8009a_init()
667 mdev.timings.hbp = OTM8009A_HBP; in otm8009a_init()
668 mdev.timings.hfp = OTM8009A_HFP; in otm8009a_init()
669 mdev.timings.hsync = OTM8009A_HSYNC; in otm8009a_init()
670 mdev.timings.vactive = data->yres; in otm8009a_init()
671 mdev.timings.vbp = OTM8009A_VBP; in otm8009a_init()
[all …]
Ddisplay_rm67162.c217 struct mipi_dsi_device mdev = {0}; in rm67162_init() local
223 mdev.data_lanes = config->num_of_lanes; in rm67162_init()
224 mdev.pixfmt = data->pixel_format; in rm67162_init()
226 ret = mipi_dsi_attach(config->mipi_dsi, config->channel, &mdev); in rm67162_init()
562 struct mipi_dsi_device mdev = {0}; in rm67162_pm_action() local
564 mdev.data_lanes = config->num_of_lanes; in rm67162_pm_action()
565 mdev.pixfmt = data->pixel_format; in rm67162_pm_action()
570 return mipi_dsi_detach(config->mipi_dsi, config->channel, &mdev); in rm67162_pm_action()
572 return mipi_dsi_attach(config->mipi_dsi, config->channel, &mdev); in rm67162_pm_action()
Ddisplay_hx8394.c540 struct mipi_dsi_device mdev; in hx8394_init() local
556 mdev.data_lanes = config->num_of_lanes; in hx8394_init()
557 mdev.pixfmt = config->pixel_format; in hx8394_init()
559 mdev.mode_flags = MIPI_DSI_MODE_VIDEO; in hx8394_init()
561 ret = mipi_dsi_attach(config->mipi_dsi, config->channel, &mdev); in hx8394_init()
Ddisplay_rm68200.c176 struct mipi_dsi_device mdev; in rm68200_init() local
178 mdev.data_lanes = config->num_of_lanes; in rm68200_init()
179 mdev.pixfmt = config->pixel_format; in rm68200_init()
181 mdev.mode_flags = MIPI_DSI_MODE_VIDEO; in rm68200_init()
183 ret = mipi_dsi_attach(config->mipi_dsi, config->channel, &mdev); in rm68200_init()
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/
DREADME.rst118 rtt min/avg/max/mdev = 0.646/1.124/1.450/0.345 ms