Home
last modified time | relevance | path

Searched refs:dbidev (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/
A Ddrm_mipi_dbi.c239 xs += dbidev->left_offset; in mipi_dbi_set_window_address()
240 xe += dbidev->left_offset; in mipi_dbi_set_window_address()
241 ys += dbidev->top_offset; in mipi_dbi_set_window_address()
242 ye += dbidev->top_offset; in mipi_dbi_set_window_address()
275 tr = dbidev->tx_buf; in mipi_dbi_fb_dirty()
388 if (dbidev->backlight) in mipi_dbi_pipe_disable()
391 mipi_dbi_blank(dbidev); in mipi_dbi_pipe_disable()
393 if (dbidev->regulator) in mipi_dbi_pipe_disable()
507 if (!dbidev->tx_buf) in mipi_dbi_dev_init_with_formats()
630 if (dbidev->regulator) { in mipi_dbi_poweron_reset_conditional()
[all …]
/linux/drivers/gpu/drm/tiny/
A Dst7735r.c64 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()
185 struct mipi_dbi_dev *dbidev; in st7735r_probe() local
202 dbidev = &priv->dbidev; in st7735r_probe()
205 dbi = &dbidev->dbi; in st7735r_probe()
206 drm = &dbidev->drm; in st7735r_probe()
217 if (IS_ERR(dbidev->backlight)) in st7735r_probe()
218 return PTR_ERR(dbidev->backlight); in st7735r_probe()
[all …]
A Dmi0283qt.c56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable()
121 switch (dbidev->rotation) { in mi0283qt_enable()
182 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local
191 if (IS_ERR(dbidev)) in mi0283qt_probe()
192 return PTR_ERR(dbidev); in mi0283qt_probe()
194 dbi = &dbidev->dbi; in mi0283qt_probe()
195 drm = &dbidev->drm; in mi0283qt_probe()
206 if (IS_ERR(dbidev->regulator)) in mi0283qt_probe()
207 return PTR_ERR(dbidev->regulator); in mi0283qt_probe()
210 if (IS_ERR(dbidev->backlight)) in mi0283qt_probe()
[all …]
A Dhx8357d.c52 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable()
61 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable()
163 switch (dbidev->rotation) { in yx240qv29_enable()
222 struct mipi_dbi_dev *dbidev; in hx8357d_probe() local
230 if (IS_ERR(dbidev)) in hx8357d_probe()
231 return PTR_ERR(dbidev); in hx8357d_probe()
233 drm = &dbidev->drm; in hx8357d_probe()
239 dbidev->backlight = devm_of_find_backlight(dev); in hx8357d_probe()
240 if (IS_ERR(dbidev->backlight)) in hx8357d_probe()
241 return PTR_ERR(dbidev->backlight); in hx8357d_probe()
[all …]
A Dili9341.c58 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable()
67 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable()
117 switch (dbidev->rotation) { in yx240qv29_enable()
178 struct mipi_dbi_dev *dbidev; in ili9341_probe() local
187 if (IS_ERR(dbidev)) in ili9341_probe()
188 return PTR_ERR(dbidev); in ili9341_probe()
190 dbi = &dbidev->dbi; in ili9341_probe()
191 drm = &dbidev->drm; in ili9341_probe()
201 dbidev->backlight = devm_of_find_backlight(dev); in ili9341_probe()
202 if (IS_ERR(dbidev->backlight)) in ili9341_probe()
[all …]
A Dili9486.c91 struct mipi_dbi *dbi = &dbidev->dbi; in waveshare_enable()
100 ret = mipi_dbi_poweron_conditional_reset(dbidev); in waveshare_enable()
130 switch (dbidev->rotation) { in waveshare_enable()
192 struct mipi_dbi_dev *dbidev; in ili9486_probe() local
201 if (IS_ERR(dbidev)) in ili9486_probe()
202 return PTR_ERR(dbidev); in ili9486_probe()
204 dbi = &dbidev->dbi; in ili9486_probe()
205 drm = &dbidev->drm; in ili9486_probe()
215 dbidev->backlight = devm_of_find_backlight(dev); in ili9486_probe()
216 if (IS_ERR(dbidev->backlight)) in ili9486_probe()
[all …]
A Dst7586.c112 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty()
124 ret = st7586_buf_copy(dbidev->tx_buf, fb, rect); in st7586_fb_dirty()
140 (u8 *)dbidev->tx_buf, in st7586_fb_dirty()
168 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable()
183 ret = mipi_dbi_poweron_reset(dbidev); in st7586_pipe_enable()
211 switch (dbidev->rotation) { in st7586_pipe_enable()
300 struct mipi_dbi_dev *dbidev; in st7586_probe() local
310 if (IS_ERR(dbidev)) in st7586_probe()
311 return PTR_ERR(dbidev); in st7586_probe()
313 dbi = &dbidev->dbi; in st7586_probe()
[all …]
A Dili9225.c84 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_fb_dirty()
101 tr = dbidev->tx_buf; in ili9225_fb_dirty()
109 switch (dbidev->rotation) { in ili9225_fb_dirty()
181 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_enable()
228 switch (dbidev->rotation) { in ili9225_pipe_enable()
286 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_disable()
365 struct mipi_dbi_dev *dbidev; in ili9225_probe() local
374 if (IS_ERR(dbidev)) in ili9225_probe()
375 return PTR_ERR(dbidev); in ili9225_probe()
377 dbi = &dbidev->dbi; in ili9225_probe()
[all …]
/linux/drivers/gpu/drm/panel/
A Dpanel-ilitek-ili9341.c492 struct mipi_dbi *dbi = &dbidev->dbi; in ili9341_dbi_enable()
554 switch (dbidev->rotation) { in ili9341_dbi_enable()
607 struct mipi_dbi_dev *dbidev; in ili9341_dbi_probe() local
620 if (IS_ERR(dbidev)) in ili9341_dbi_probe()
621 return PTR_ERR(dbidev); in ili9341_dbi_probe()
623 dbi = &dbidev->dbi; in ili9341_dbi_probe()
624 drm = &dbidev->drm; in ili9341_dbi_probe()
626 dbidev->regulator = vcc; in ili9341_dbi_probe()
630 dbidev->backlight = devm_of_find_backlight(dev); in ili9341_dbi_probe()
631 if (IS_ERR(dbidev->backlight)) in ili9341_dbi_probe()
[all …]
/linux/include/drm/
A Ddrm_mipi_dbi.h142 int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev,
147 int mipi_dbi_dev_init(struct mipi_dbi_dev *dbidev,
152 void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev,
158 int mipi_dbi_poweron_reset(struct mipi_dbi_dev *dbidev);
159 int mipi_dbi_poweron_conditional_reset(struct mipi_dbi_dev *dbidev);

Completed in 17 milliseconds