Lines Matching refs:mdev
91 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()
114 cfg.vertical_front_porch = mdev->timings.vfp; in mipi_dsi_renesas_ra_attach()
115 cfg.vertical_back_porch = mdev->timings.vbp; in mipi_dsi_renesas_ra_attach()
116 cfg.vertical_sync_lines = mdev->timings.vsync; in mipi_dsi_renesas_ra_attach()