Lines Matching refs:dbidev
54 struct mipi_dbi_dev dbidev; /* Must be first for .release() */ member
62 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7735r_pipe_enable() local
63 struct st7735r_priv *priv = container_of(dbidev, struct st7735r_priv, in st7735r_pipe_enable()
64 dbidev); in st7735r_pipe_enable()
65 struct mipi_dbi *dbi = &dbidev->dbi; in st7735r_pipe_enable()
74 ret = mipi_dbi_poweron_reset(dbidev); in st7735r_pipe_enable()
95 switch (dbidev->rotation) { in st7735r_pipe_enable()
130 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in st7735r_pipe_enable()
187 struct mipi_dbi_dev *dbidev; in st7735r_probe() local
200 struct st7735r_priv, dbidev.drm); in st7735r_probe()
204 dbidev = &priv->dbidev; in st7735r_probe()
207 dbi = &dbidev->dbi; in st7735r_probe()
208 drm = &dbidev->drm; in st7735r_probe()
218 dbidev->backlight = devm_of_find_backlight(dev); in st7735r_probe()
219 if (IS_ERR(dbidev->backlight)) in st7735r_probe()
220 return PTR_ERR(dbidev->backlight); in st7735r_probe()
231 dbidev->left_offset = cfg->left_offset; in st7735r_probe()
232 dbidev->top_offset = cfg->top_offset; in st7735r_probe()
234 ret = mipi_dbi_dev_init(dbidev, &st7735r_pipe_funcs, &cfg->mode, in st7735r_probe()