Searched refs:dbidev (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_mipi_dbi.c | 245 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in mipi_dbi_fb_dirty() local 248 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_fb_dirty() 254 if (!dbidev->enabled) in mipi_dbi_fb_dirty() 266 tr = dbidev->tx_buf; in mipi_dbi_fb_dirty() 267 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap); in mipi_dbi_fb_dirty() 331 void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev, in mipi_dbi_enable_flush() argument 344 if (!drm_dev_enter(&dbidev->drm, &idx)) in mipi_dbi_enable_flush() 347 dbidev->enabled = true; in mipi_dbi_enable_flush() 349 backlight_enable(dbidev->backlight); in mipi_dbi_enable_flush() 355 static void mipi_dbi_blank(struct mipi_dbi_dev *dbidev) in mipi_dbi_blank() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/tiny/ |
D | mi0283qt.c | 54 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in mi0283qt_enable() local 55 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable() 64 ret = mipi_dbi_poweron_conditional_reset(dbidev); in mi0283qt_enable() 120 switch (dbidev->rotation) { in mi0283qt_enable() 137 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in mi0283qt_enable() 183 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local 190 dbidev = kzalloc(sizeof(*dbidev), GFP_KERNEL); in mi0283qt_probe() 191 if (!dbidev) in mi0283qt_probe() 194 dbi = &dbidev->dbi; in mi0283qt_probe() 195 drm = &dbidev->drm; in mi0283qt_probe() [all …]
|
D | hx8357d.c | 50 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local 51 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() 60 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable() 162 switch (dbidev->rotation) { in yx240qv29_enable() 177 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable() 223 struct mipi_dbi_dev *dbidev; in hx8357d_probe() local 229 dbidev = kzalloc(sizeof(*dbidev), GFP_KERNEL); in hx8357d_probe() 230 if (!dbidev) in hx8357d_probe() 233 drm = &dbidev->drm; in hx8357d_probe() 236 kfree(dbidev); in hx8357d_probe() [all …]
|
D | ili9341.c | 56 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local 57 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() 66 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable() 116 switch (dbidev->rotation) { in yx240qv29_enable() 133 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable() 179 struct mipi_dbi_dev *dbidev; in ili9341_probe() local 186 dbidev = kzalloc(sizeof(*dbidev), GFP_KERNEL); in ili9341_probe() 187 if (!dbidev) in ili9341_probe() 190 dbi = &dbidev->dbi; in ili9341_probe() 191 drm = &dbidev->drm; in ili9341_probe() [all …]
|
D | st7735r.c | 45 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in jd_t18003_t01_pipe_enable() local 46 struct mipi_dbi *dbi = &dbidev->dbi; in jd_t18003_t01_pipe_enable() 55 ret = mipi_dbi_poweron_reset(dbidev); in jd_t18003_t01_pipe_enable() 76 switch (dbidev->rotation) { in jd_t18003_t01_pipe_enable() 107 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in jd_t18003_t01_pipe_enable() 153 struct mipi_dbi_dev *dbidev; in st7735r_probe() local 160 dbidev = kzalloc(sizeof(*dbidev), GFP_KERNEL); in st7735r_probe() 161 if (!dbidev) in st7735r_probe() 164 dbi = &dbidev->dbi; in st7735r_probe() 165 drm = &dbidev->drm; in st7735r_probe() [all …]
|
D | st7586.c | 117 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in st7586_fb_dirty() local 118 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() 121 if (!dbidev->enabled) in st7586_fb_dirty() 133 ret = st7586_buf_copy(dbidev->tx_buf, fb, rect); in st7586_fb_dirty() 149 (u8 *)dbidev->tx_buf, in st7586_fb_dirty() 180 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7586_pipe_enable() local 182 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() 197 ret = mipi_dbi_poweron_reset(dbidev); in st7586_pipe_enable() 225 switch (dbidev->rotation) { in st7586_pipe_enable() 248 dbidev->enabled = true; in st7586_pipe_enable() [all …]
|
D | ili9225.c | 81 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in ili9225_fb_dirty() local 84 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_fb_dirty() 92 if (!dbidev->enabled) in ili9225_fb_dirty() 104 tr = dbidev->tx_buf; in ili9225_fb_dirty() 105 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap); in ili9225_fb_dirty() 112 switch (dbidev->rotation) { in ili9225_fb_dirty() 186 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_enable() local 189 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_enable() 236 switch (dbidev->rotation) { in ili9225_pipe_enable() 286 dbidev->enabled = true; in ili9225_pipe_enable() [all …]
|
/Linux-v5.4/include/drm/ |
D | drm_mipi_dbi.h | 135 int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev, 140 int mipi_dbi_dev_init(struct mipi_dbi_dev *dbidev, 146 void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev, 152 int mipi_dbi_poweron_reset(struct mipi_dbi_dev *dbidev); 153 int mipi_dbi_poweron_conditional_reset(struct mipi_dbi_dev *dbidev);
|