Lines Matching refs:dbidev
55 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in mi0283qt_enable() local
56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable()
65 ret = mipi_dbi_poweron_conditional_reset(dbidev); in mi0283qt_enable()
121 switch (dbidev->rotation) { in mi0283qt_enable()
138 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in mi0283qt_enable()
182 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local
189 dbidev = devm_drm_dev_alloc(dev, &mi0283qt_driver, in mi0283qt_probe()
191 if (IS_ERR(dbidev)) in mi0283qt_probe()
192 return PTR_ERR(dbidev); in mi0283qt_probe()
194 dbi = &dbidev->dbi; in mi0283qt_probe()
195 drm = &dbidev->drm; in mi0283qt_probe()
205 dbidev->regulator = devm_regulator_get(dev, "power"); in mi0283qt_probe()
206 if (IS_ERR(dbidev->regulator)) in mi0283qt_probe()
207 return PTR_ERR(dbidev->regulator); in mi0283qt_probe()
209 dbidev->backlight = devm_of_find_backlight(dev); in mi0283qt_probe()
210 if (IS_ERR(dbidev->backlight)) in mi0283qt_probe()
211 return PTR_ERR(dbidev->backlight); in mi0283qt_probe()
219 ret = mipi_dbi_dev_init(dbidev, &mi0283qt_pipe_funcs, &mi0283qt_mode, rotation); in mi0283qt_probe()