Searched refs:dbidev (Results 1 – 12 of 12) sorted by relevance
265 dbidev->top_offset = vback_porch; in panel_mipi_dbi_get_mode()266 dbidev->left_offset = hback_porch; in panel_mipi_dbi_get_mode()275 struct mipi_dbi_dev *dbidev; in panel_mipi_dbi_spi_probe() local282 if (IS_ERR(dbidev)) in panel_mipi_dbi_spi_probe()283 return PTR_ERR(dbidev); in panel_mipi_dbi_spi_probe()285 dbi = &dbidev->dbi; in panel_mipi_dbi_spi_probe()286 drm = &dbidev->drm; in panel_mipi_dbi_spi_probe()293 if (IS_ERR(dbidev->regulator)) in panel_mipi_dbi_spi_probe()298 if (IS_ERR(dbidev->io_regulator)) in panel_mipi_dbi_spi_probe()303 if (IS_ERR(dbidev->backlight)) in panel_mipi_dbi_spi_probe()[all …]
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()184 struct mipi_dbi_dev *dbidev; in st7735r_probe() local201 dbidev = &priv->dbidev; in st7735r_probe()204 dbi = &dbidev->dbi; in st7735r_probe()205 drm = &dbidev->drm; in st7735r_probe()216 if (IS_ERR(dbidev->backlight)) in st7735r_probe()217 return PTR_ERR(dbidev->backlight); in st7735r_probe()[all …]
56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable()121 switch (dbidev->rotation) { in mi0283qt_enable()180 struct mipi_dbi_dev *dbidev; in mi0283qt_probe() local189 if (IS_ERR(dbidev)) in mi0283qt_probe()190 return PTR_ERR(dbidev); in mi0283qt_probe()192 dbi = &dbidev->dbi; in mi0283qt_probe()193 drm = &dbidev->drm; in mi0283qt_probe()204 if (IS_ERR(dbidev->regulator)) in mi0283qt_probe()205 return PTR_ERR(dbidev->regulator); in mi0283qt_probe()208 if (IS_ERR(dbidev->backlight)) in mi0283qt_probe()[all …]
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()220 struct mipi_dbi_dev *dbidev; in hx8357d_probe() local228 if (IS_ERR(dbidev)) in hx8357d_probe()229 return PTR_ERR(dbidev); in hx8357d_probe()231 drm = &dbidev->drm; in hx8357d_probe()237 dbidev->backlight = devm_of_find_backlight(dev); in hx8357d_probe()238 if (IS_ERR(dbidev->backlight)) in hx8357d_probe()239 return PTR_ERR(dbidev->backlight); in hx8357d_probe()[all …]
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()139 struct mipi_dbi_dev *dbidev; in ili9163_probe() local148 if (IS_ERR(dbidev)) in ili9163_probe()149 return PTR_ERR(dbidev); in ili9163_probe()151 dbi = &dbidev->dbi; in ili9163_probe()152 drm = &dbidev->drm; in ili9163_probe()168 dbidev->backlight = devm_of_find_backlight(dev); in ili9163_probe()169 if (IS_ERR(dbidev->backlight)) in ili9163_probe()[all …]
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()176 struct mipi_dbi_dev *dbidev; in ili9341_probe() local185 if (IS_ERR(dbidev)) in ili9341_probe()186 return PTR_ERR(dbidev); in ili9341_probe()188 dbi = &dbidev->dbi; in ili9341_probe()189 drm = &dbidev->drm; in ili9341_probe()199 dbidev->backlight = devm_of_find_backlight(dev); in ili9341_probe()200 if (IS_ERR(dbidev->backlight)) in ili9341_probe()[all …]
96 struct mipi_dbi *dbi = &dbidev->dbi; in waveshare_enable()105 ret = mipi_dbi_poweron_conditional_reset(dbidev); in waveshare_enable()135 switch (dbidev->rotation) { in waveshare_enable()197 struct mipi_dbi_dev *dbidev; in ili9486_probe() local206 if (IS_ERR(dbidev)) in ili9486_probe()207 return PTR_ERR(dbidev); in ili9486_probe()209 dbi = &dbidev->dbi; in ili9486_probe()210 drm = &dbidev->drm; in ili9486_probe()220 dbidev->backlight = devm_of_find_backlight(dev); in ili9486_probe()221 if (IS_ERR(dbidev->backlight)) in ili9486_probe()[all …]
115 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty()140 (u8 *)dbidev->tx_buf, in st7586_fb_dirty()175 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable()190 ret = mipi_dbi_poweron_reset(dbidev); in st7586_pipe_enable()218 switch (dbidev->rotation) { in st7586_pipe_enable()313 struct mipi_dbi_dev *dbidev; in st7586_probe() local321 dbidev = devm_drm_dev_alloc(dev, &st7586_driver, in st7586_probe()323 if (IS_ERR(dbidev)) in st7586_probe()324 return PTR_ERR(dbidev); in st7586_probe()326 dbi = &dbidev->dbi; in st7586_probe()[all …]
86 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_fb_dirty()100 tr = dbidev->tx_buf; in ili9225_fb_dirty()108 switch (dbidev->rotation) { in ili9225_fb_dirty()187 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_enable()234 switch (dbidev->rotation) { in ili9225_pipe_enable()293 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_disable()378 struct mipi_dbi_dev *dbidev; in ili9225_probe() local387 if (IS_ERR(dbidev)) in ili9225_probe()388 return PTR_ERR(dbidev); in ili9225_probe()390 dbi = &dbidev->dbi; in ili9225_probe()[all …]
243 xs += dbidev->left_offset; in mipi_dbi_set_window_address()245 ys += dbidev->top_offset; in mipi_dbi_set_window_address()246 ye += dbidev->top_offset; in mipi_dbi_set_window_address()272 tr = dbidev->tx_buf; in mipi_dbi_fb_dirty()413 if (dbidev->backlight) in mipi_dbi_pipe_disable()416 mipi_dbi_blank(dbidev); in mipi_dbi_pipe_disable()418 if (dbidev->regulator) in mipi_dbi_pipe_disable()600 if (!dbidev->tx_buf) in mipi_dbi_dev_init_with_formats()723 if (dbidev->regulator) { in mipi_dbi_poweron_reset_conditional()735 if (dbidev->regulator) in mipi_dbi_poweron_reset_conditional()[all …]
493 struct mipi_dbi *dbi = &dbidev->dbi; in ili9341_dbi_enable()555 switch (dbidev->rotation) { in ili9341_dbi_enable()605 struct mipi_dbi_dev *dbidev; in ili9341_dbi_probe() local620 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 …]
156 int mipi_dbi_dev_init_with_formats(struct mipi_dbi_dev *dbidev,161 int mipi_dbi_dev_init(struct mipi_dbi_dev *dbidev,168 void mipi_dbi_enable_flush(struct mipi_dbi_dev *dbidev,183 int mipi_dbi_poweron_reset(struct mipi_dbi_dev *dbidev);184 int mipi_dbi_poweron_conditional_reset(struct mipi_dbi_dev *dbidev);
Completed in 23 milliseconds