Lines Matching refs:dbidev
117 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in st7586_fb_dirty() local
118 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty()
130 ret = st7586_buf_copy(dbidev->tx_buf, fb, rect); in st7586_fb_dirty()
146 (u8 *)dbidev->tx_buf, in st7586_fb_dirty()
172 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7586_pipe_enable() local
174 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable()
189 ret = mipi_dbi_poweron_reset(dbidev); in st7586_pipe_enable()
217 switch (dbidev->rotation) { in st7586_pipe_enable()
249 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7586_pipe_disable() local
260 mipi_dbi_command(&dbidev->dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_disable()
307 struct mipi_dbi_dev *dbidev; in st7586_probe() local
315 dbidev = devm_drm_dev_alloc(dev, &st7586_driver, in st7586_probe()
317 if (IS_ERR(dbidev)) in st7586_probe()
318 return PTR_ERR(dbidev); in st7586_probe()
320 dbi = &dbidev->dbi; in st7586_probe()
321 drm = &dbidev->drm; in st7586_probe()
346 ret = mipi_dbi_dev_init_with_formats(dbidev, &st7586_pipe_funcs, in st7586_probe()