/linux-6.1.9/drivers/gpu/drm/ |
D | drm_mipi_dbi.c | 243 static void mipi_dbi_set_window_address(struct mipi_dbi_dev *dbidev, in mipi_dbi_set_window_address() argument 247 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_set_window_address() 249 xs += dbidev->left_offset; in mipi_dbi_set_window_address() 250 xe += dbidev->left_offset; in mipi_dbi_set_window_address() 251 ys += dbidev->top_offset; in mipi_dbi_set_window_address() 252 ye += dbidev->top_offset; in mipi_dbi_set_window_address() 264 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in mipi_dbi_fb_dirty() local 267 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_fb_dirty() 289 tr = dbidev->tx_buf; in mipi_dbi_fb_dirty() 290 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap); in mipi_dbi_fb_dirty() [all …]
|
/linux-6.1.9/drivers/gpu/drm/tiny/ |
D | panel-mipi-dbi.c | 194 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in panel_mipi_dbi_enable() local 195 struct mipi_dbi *dbi = &dbidev->dbi; in panel_mipi_dbi_enable() 203 ret = mipi_dbi_poweron_conditional_reset(dbidev); in panel_mipi_dbi_enable() 207 panel_mipi_dbi_commands_execute(dbi, dbidev->driver_private); in panel_mipi_dbi_enable() 209 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in panel_mipi_dbi_enable() 235 static int panel_mipi_dbi_get_mode(struct mipi_dbi_dev *dbidev, struct drm_display_mode *mode) in panel_mipi_dbi_get_mode() argument 237 struct device *dev = dbidev->drm.dev; in panel_mipi_dbi_get_mode() 268 dbidev->top_offset = vback_porch; in panel_mipi_dbi_get_mode() 269 dbidev->left_offset = hback_porch; in panel_mipi_dbi_get_mode() 278 struct mipi_dbi_dev *dbidev; in panel_mipi_dbi_spi_probe() local [all …]
|
D | st7735r.c | 54 struct mipi_dbi_dev dbidev; /* Must be first for .release() */ member 62 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7735r_pipe_enable() local 63 struct st7735r_priv *priv = container_of(dbidev, struct st7735r_priv, in st7735r_pipe_enable() 64 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() 130 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in st7735r_pipe_enable() 187 struct mipi_dbi_dev *dbidev; in st7735r_probe() local 200 struct st7735r_priv, dbidev.drm); in st7735r_probe() [all …]
|
D | mi0283qt.c | 55 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in mi0283qt_enable() local 56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable() 65 ret = mipi_dbi_poweron_conditional_reset(dbidev); in mi0283qt_enable() 121 switch (dbidev->rotation) { in mi0283qt_enable() 138 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in mi0283qt_enable() 183 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local 190 dbidev = devm_drm_dev_alloc(dev, &mi0283qt_driver, in mi0283qt_probe() 192 if (IS_ERR(dbidev)) in mi0283qt_probe() 193 return PTR_ERR(dbidev); in mi0283qt_probe() 195 dbi = &dbidev->dbi; in mi0283qt_probe() [all …]
|
D | hx8357d.c | 51 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local 52 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() 178 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable() 223 struct mipi_dbi_dev *dbidev; in hx8357d_probe() local 229 dbidev = devm_drm_dev_alloc(dev, &hx8357d_driver, in hx8357d_probe() 231 if (IS_ERR(dbidev)) in hx8357d_probe() 232 return PTR_ERR(dbidev); in hx8357d_probe() 234 drm = &dbidev->drm; in hx8357d_probe() [all …]
|
D | ili9163.c | 40 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local 41 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() 50 ret = mipi_dbi_poweron_conditional_reset(dbidev); in yx240qv29_enable() 81 switch (dbidev->rotation) { in yx240qv29_enable() 97 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable() 143 struct mipi_dbi_dev *dbidev; in ili9163_probe() local 150 dbidev = devm_drm_dev_alloc(dev, &ili9163_driver, in ili9163_probe() 152 if (IS_ERR(dbidev)) in ili9163_probe() 153 return PTR_ERR(dbidev); in ili9163_probe() 155 dbi = &dbidev->dbi; in ili9163_probe() [all …]
|
D | ili9341.c | 57 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in yx240qv29_enable() local 58 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() 134 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in yx240qv29_enable() 179 struct mipi_dbi_dev *dbidev; in ili9341_probe() local 186 dbidev = devm_drm_dev_alloc(dev, &ili9341_driver, in ili9341_probe() 188 if (IS_ERR(dbidev)) in ili9341_probe() 189 return PTR_ERR(dbidev); in ili9341_probe() 191 dbi = &dbidev->dbi; in ili9341_probe() [all …]
|
D | ili9486.c | 90 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in waveshare_enable() local 91 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() 147 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in waveshare_enable() 193 struct mipi_dbi_dev *dbidev; in ili9486_probe() local 200 dbidev = devm_drm_dev_alloc(dev, &ili9486_driver, in ili9486_probe() 202 if (IS_ERR(dbidev)) in ili9486_probe() 203 return PTR_ERR(dbidev); in ili9486_probe() 205 dbi = &dbidev->dbi; in ili9486_probe() [all …]
|
D | st7586.c | 115 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in st7586_fb_dirty() local 116 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() 128 ret = st7586_buf_copy(dbidev->tx_buf, fb, rect); in st7586_fb_dirty() 144 (u8 *)dbidev->tx_buf, in st7586_fb_dirty() 170 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7586_pipe_enable() local 172 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() 187 ret = mipi_dbi_poweron_reset(dbidev); in st7586_pipe_enable() 215 switch (dbidev->rotation) { in st7586_pipe_enable() 247 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7586_pipe_disable() local 258 mipi_dbi_command(&dbidev->dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_disable() [all …]
|
D | ili9225.c | 82 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(fb->dev); in ili9225_fb_dirty() local 85 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_fb_dirty() 102 tr = dbidev->tx_buf; in ili9225_fb_dirty() 103 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap); in ili9225_fb_dirty() 110 switch (dbidev->rotation) { in ili9225_fb_dirty() 179 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_enable() local 182 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_enable() 229 switch (dbidev->rotation) { in ili9225_pipe_enable() 286 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_disable() local 287 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_disable() [all …]
|
/linux-6.1.9/drivers/gpu/drm/panel/ |
D | panel-ilitek-ili9341.c | 491 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9341_dbi_enable() local 492 struct mipi_dbi *dbi = &dbidev->dbi; in ili9341_dbi_enable() 499 ret = mipi_dbi_poweron_conditional_reset(dbidev); in ili9341_dbi_enable() 554 switch (dbidev->rotation) { in ili9341_dbi_enable() 572 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state); in ili9341_dbi_enable() 573 drm_info(&dbidev->drm, "Initialized display serial interface\n"); in ili9341_dbi_enable() 608 struct mipi_dbi_dev *dbidev; in ili9341_dbi_probe() local 621 dbidev = devm_drm_dev_alloc(dev, &ili9341_dbi_driver, in ili9341_dbi_probe() 623 if (IS_ERR(dbidev)) in ili9341_dbi_probe() 624 return PTR_ERR(dbidev); in ili9341_dbi_probe() [all …]
|
/linux-6.1.9/include/drm/ |
D | drm_mipi_dbi.h | 150 int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev, 155 int mipi_dbi_dev_init(struct mipi_dbi_dev *dbidev, 162 void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev, 168 int mipi_dbi_poweron_reset(struct mipi_dbi_dev *dbidev); 169 int mipi_dbi_poweron_conditional_reset(struct mipi_dbi_dev *dbidev);
|