Lines Matching full:dsi
3 * MIPI DSI Bus
24 * struct mipi_dsi_msg - read/write DSI buffer
49 * struct mipi_dsi_packet - represents a MIPI DSI packet in protocol format
67 * struct mipi_dsi_host_ops - DSI bus operations
68 * @attach: attach DSI device to DSI host
69 * @detach: detach DSI device from DSI host
70 * @transfer: transmit a DSI packet
72 * DSI packets transmitted by .transfer() are passed in as mipi_dsi_msg
80 * Note that typically DSI packet transmission is atomic, so the .transfer()
86 struct mipi_dsi_device *dsi);
88 struct mipi_dsi_device *dsi);
94 * struct mipi_dsi_host - DSI host device
95 * @dev: driver model device node for this DSI host
96 * @ops: DSI host operations
109 /* DSI mode flags */
131 /* device supports non-continuous clock behavior (DSI spec 5.6.1) */
147 * @type: DSI peripheral chip type
148 * @channel: DSI virtual channel assigned to peripheral
152 * DSI device
161 * struct mipi_dsi_device - DSI peripheral device
162 * @host: DSI host for this peripheral
164 * @name: DSI peripheral chip type
168 * @mode_flags: DSI operation mode related flags
189 #define MIPI_DSI_MODULE_PREFIX "mipi-dsi:"
198 * given pixel format defined by the MIPI DSI
200 * @fmt: MIPI DSI pixel format
224 void mipi_dsi_device_unregister(struct mipi_dsi_device *dsi);
226 int mipi_dsi_attach(struct mipi_dsi_device *dsi);
227 int mipi_dsi_detach(struct mipi_dsi_device *dsi);
228 int mipi_dsi_shutdown_peripheral(struct mipi_dsi_device *dsi);
229 int mipi_dsi_turn_on_peripheral(struct mipi_dsi_device *dsi);
230 int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi,
232 ssize_t mipi_dsi_compression_mode(struct mipi_dsi_device *dsi, bool enable);
233 ssize_t mipi_dsi_picture_parameter_set(struct mipi_dsi_device *dsi,
236 ssize_t mipi_dsi_generic_write(struct mipi_dsi_device *dsi, const void *payload,
238 ssize_t mipi_dsi_generic_read(struct mipi_dsi_device *dsi, const void *params,
259 ssize_t mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi,
261 ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd,
263 ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, u8 cmd, void *data,
265 int mipi_dsi_dcs_nop(struct mipi_dsi_device *dsi);
266 int mipi_dsi_dcs_soft_reset(struct mipi_dsi_device *dsi);
267 int mipi_dsi_dcs_get_power_mode(struct mipi_dsi_device *dsi, u8 *mode);
268 int mipi_dsi_dcs_get_pixel_format(struct mipi_dsi_device *dsi, u8 *format);
269 int mipi_dsi_dcs_enter_sleep_mode(struct mipi_dsi_device *dsi);
270 int mipi_dsi_dcs_exit_sleep_mode(struct mipi_dsi_device *dsi);
271 int mipi_dsi_dcs_set_display_off(struct mipi_dsi_device *dsi);
272 int mipi_dsi_dcs_set_display_on(struct mipi_dsi_device *dsi);
273 int mipi_dsi_dcs_set_column_address(struct mipi_dsi_device *dsi, u16 start,
275 int mipi_dsi_dcs_set_page_address(struct mipi_dsi_device *dsi, u16 start,
277 int mipi_dsi_dcs_set_tear_off(struct mipi_dsi_device *dsi);
278 int mipi_dsi_dcs_set_tear_on(struct mipi_dsi_device *dsi,
280 int mipi_dsi_dcs_set_pixel_format(struct mipi_dsi_device *dsi, u8 format);
281 int mipi_dsi_dcs_set_tear_scanline(struct mipi_dsi_device *dsi, u16 scanline);
282 int mipi_dsi_dcs_set_display_brightness(struct mipi_dsi_device *dsi,
284 int mipi_dsi_dcs_get_display_brightness(struct mipi_dsi_device *dsi,
288 * struct mipi_dsi_driver - DSI driver
296 int(*probe)(struct mipi_dsi_device *dsi);
297 int(*remove)(struct mipi_dsi_device *dsi);
298 void (*shutdown)(struct mipi_dsi_device *dsi);
307 static inline void *mipi_dsi_get_drvdata(const struct mipi_dsi_device *dsi) in mipi_dsi_get_drvdata() argument
309 return dev_get_drvdata(&dsi->dev); in mipi_dsi_get_drvdata()
312 static inline void mipi_dsi_set_drvdata(struct mipi_dsi_device *dsi, void *data) in mipi_dsi_set_drvdata() argument
314 dev_set_drvdata(&dsi->dev, data); in mipi_dsi_set_drvdata()