Lines Matching full:dsi

6  * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree:
24 struct mipi_dsi_device *dsi; member
43 struct mipi_dsi_device *dsi = ctx->dsi; in s6e3fa7_panel_on() local
44 struct device *dev = &dsi->dev; in s6e3fa7_panel_on()
47 ret = mipi_dsi_dcs_exit_sleep_mode(dsi); in s6e3fa7_panel_on()
54 ret = mipi_dsi_dcs_set_tear_on(dsi, MIPI_DSI_DCS_TEAR_MODE_VBLANK); in s6e3fa7_panel_on()
60 mipi_dsi_dcs_write_seq(dsi, 0xf0, 0x5a, 0x5a); in s6e3fa7_panel_on()
61 mipi_dsi_dcs_write_seq(dsi, 0xf4, in s6e3fa7_panel_on()
64 mipi_dsi_dcs_write_seq(dsi, 0xf0, 0xa5, 0xa5); in s6e3fa7_panel_on()
65 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_WRITE_CONTROL_DISPLAY, 0x20); in s6e3fa7_panel_on()
67 ret = mipi_dsi_dcs_set_display_on(dsi); in s6e3fa7_panel_on()
79 struct device *dev = &ctx->dsi->dev; in s6e3fa7_panel_prepare()
106 struct mipi_dsi_device *dsi = ctx->dsi; in s6e3fa7_panel_disable() local
107 struct device *dev = &dsi->dev; in s6e3fa7_panel_disable()
110 ret = mipi_dsi_dcs_set_display_off(dsi); in s6e3fa7_panel_disable()
116 ret = mipi_dsi_dcs_enter_sleep_mode(dsi); in s6e3fa7_panel_disable()
168 struct mipi_dsi_device *dsi = bl_get_data(bl); in s6e3fa7_panel_bl_update_status() local
172 ret = mipi_dsi_dcs_set_display_brightness_large(dsi, brightness); in s6e3fa7_panel_bl_update_status()
181 struct mipi_dsi_device *dsi = bl_get_data(bl); in s6e3fa7_panel_bl_get_brightness() local
185 ret = mipi_dsi_dcs_get_display_brightness_large(dsi, &brightness); in s6e3fa7_panel_bl_get_brightness()
198 s6e3fa7_panel_create_backlight(struct mipi_dsi_device *dsi) in s6e3fa7_panel_create_backlight() argument
200 struct device *dev = &dsi->dev; in s6e3fa7_panel_create_backlight()
207 return devm_backlight_device_register(dev, dev_name(dev), dev, dsi, in s6e3fa7_panel_create_backlight()
211 static int s6e3fa7_panel_probe(struct mipi_dsi_device *dsi) in s6e3fa7_panel_probe() argument
213 struct device *dev = &dsi->dev; in s6e3fa7_panel_probe()
226 ctx->dsi = dsi; in s6e3fa7_panel_probe()
227 mipi_dsi_set_drvdata(dsi, ctx); in s6e3fa7_panel_probe()
229 dsi->lanes = 4; in s6e3fa7_panel_probe()
230 dsi->format = MIPI_DSI_FMT_RGB888; in s6e3fa7_panel_probe()
231 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_BURST | in s6e3fa7_panel_probe()
238 ctx->panel.backlight = s6e3fa7_panel_create_backlight(dsi); in s6e3fa7_panel_probe()
245 ret = mipi_dsi_attach(dsi); in s6e3fa7_panel_probe()
247 dev_err(dev, "Failed to attach to DSI host: %d\n", ret); in s6e3fa7_panel_probe()
255 static void s6e3fa7_panel_remove(struct mipi_dsi_device *dsi) in s6e3fa7_panel_remove() argument
257 struct s6e3fa7_panel *ctx = mipi_dsi_get_drvdata(dsi); in s6e3fa7_panel_remove()
260 ret = mipi_dsi_detach(dsi); in s6e3fa7_panel_remove()
262 dev_err(&dsi->dev, "Failed to detach from DSI host: %d\n", ret); in s6e3fa7_panel_remove()
284 MODULE_DESCRIPTION("DRM driver for Samsung S6E3FA7 command mode DSI panel");