Lines Matching refs:dbidev
52 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local
53 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable()
62 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable()
164 switch (dbidev->rotation) { in yx240qv29_enable()
179 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable()
221 struct mipi_dbi_dev *dbidev; in hx8357d_probe() local
227 dbidev = devm_drm_dev_alloc(dev, &hx8357d_driver, in hx8357d_probe()
229 if (IS_ERR(dbidev)) in hx8357d_probe()
230 return PTR_ERR(dbidev); in hx8357d_probe()
232 drm = &dbidev->drm; in hx8357d_probe()
238 dbidev->backlight = devm_of_find_backlight(dev); in hx8357d_probe()
239 if (IS_ERR(dbidev->backlight)) in hx8357d_probe()
240 return PTR_ERR(dbidev->backlight); in hx8357d_probe()
244 ret = mipi_dbi_spi_init(spi, &dbidev->dbi, dc); in hx8357d_probe()
248 ret = mipi_dbi_dev_init(dbidev, &hx8357d_pipe_funcs, &yx350hv15_mode, rotation); in hx8357d_probe()