Lines Matching defs:dsi
189 static int tdo_tl070wsh30_panel_probe(struct mipi_dsi_device *dsi)
194 dsi->lanes = 4;
195 dsi->format = MIPI_DSI_FMT_RGB888;
196 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM;
198 tdo_tl070wsh30 = devm_kzalloc(&dsi->dev, sizeof(*tdo_tl070wsh30),
203 mipi_dsi_set_drvdata(dsi, tdo_tl070wsh30);
204 tdo_tl070wsh30->link = dsi;
210 return mipi_dsi_attach(dsi);
213 static void tdo_tl070wsh30_panel_remove(struct mipi_dsi_device *dsi)
215 struct tdo_tl070wsh30_panel *tdo_tl070wsh30 = mipi_dsi_get_drvdata(dsi);
218 err = mipi_dsi_detach(dsi);
220 dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", err);
227 static void tdo_tl070wsh30_panel_shutdown(struct mipi_dsi_device *dsi)
229 struct tdo_tl070wsh30_panel *tdo_tl070wsh30 = mipi_dsi_get_drvdata(dsi);