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()
180 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local
187 dbidev = devm_drm_dev_alloc(dev, &mi0283qt_driver, in mi0283qt_probe()
189 if (IS_ERR(dbidev)) in mi0283qt_probe()
190 return PTR_ERR(dbidev); in mi0283qt_probe()
192 dbi = &dbidev->dbi; in mi0283qt_probe()
193 drm = &dbidev->drm; in mi0283qt_probe()
203 dbidev->regulator = devm_regulator_get(dev, "power"); in mi0283qt_probe()
204 if (IS_ERR(dbidev->regulator)) in mi0283qt_probe()
205 return PTR_ERR(dbidev->regulator); in mi0283qt_probe()
207 dbidev->backlight = devm_of_find_backlight(dev); in mi0283qt_probe()
208 if (IS_ERR(dbidev->backlight)) in mi0283qt_probe()
209 return PTR_ERR(dbidev->backlight); in mi0283qt_probe()
217 ret = mipi_dbi_dev_init(dbidev, &mi0283qt_pipe_funcs, &mi0283qt_mode, rotation); in mi0283qt_probe()