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