Lines Matching refs:dbidev
54 struct mipi_dbi_dev dbidev; /* Must be first for .release() */
62 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev);
63 struct st7735r_priv *priv = container_of(dbidev, struct st7735r_priv,
64 dbidev);
65 struct mipi_dbi *dbi = &dbidev->dbi;
74 ret = mipi_dbi_poweron_reset(dbidev);
95 switch (dbidev->rotation) {
130 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
184 struct mipi_dbi_dev *dbidev;
197 struct st7735r_priv, dbidev.drm);
201 dbidev = &priv->dbidev;
204 dbi = &dbidev->dbi;
205 drm = &dbidev->drm;
215 dbidev->backlight = devm_of_find_backlight(dev);
216 if (IS_ERR(dbidev->backlight))
217 return PTR_ERR(dbidev->backlight);
228 dbidev->left_offset = cfg->left_offset;
229 dbidev->top_offset = cfg->top_offset;
231 ret = mipi_dbi_dev_init(dbidev, &st7735r_pipe_funcs, &cfg->mode,