Lines Matching refs:dbidev
55 struct mipi_dbi_dev dbidev; /* Must be first for .release() */
63 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev);
64 struct st7735r_priv *priv = container_of(dbidev, struct st7735r_priv,
65 dbidev);
66 struct mipi_dbi *dbi = &dbidev->dbi;
75 ret = mipi_dbi_poweron_reset(dbidev);
96 switch (dbidev->rotation) {
131 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
185 struct mipi_dbi_dev *dbidev;
198 struct st7735r_priv, dbidev.drm);
202 dbidev = &priv->dbidev;
205 dbi = &dbidev->dbi;
206 drm = &dbidev->drm;
216 dbidev->backlight = devm_of_find_backlight(dev);
217 if (IS_ERR(dbidev->backlight))
218 return PTR_ERR(dbidev->backlight);
229 dbidev->left_offset = cfg->left_offset;
230 dbidev->top_offset = cfg->top_offset;
232 ret = mipi_dbi_dev_init(dbidev, &st7735r_pipe_funcs, &cfg->mode,