coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mipi_dsi_host_ops Struct Reference

#include <mipi_dsi.h>

Collaboration diagram for mipi_dsi_host_ops:
Collaboration graph

Data Fields

int(* attach )(struct mipi_dsi_host *host, struct mipi_dsi_device *dsi)
 mipi_dsi_host_ops - DSI bus operationsattach DSI device to DSI host More...
 
int(* detach )(struct mipi_dsi_host *host, struct mipi_dsi_device *dsi)
 detach DSI device from DSI host More...
 
ssize_t(* transfer )(struct mipi_dsi_host *host, const struct mipi_dsi_msg *msg)
 transmit a DSI packet More...
 

Detailed Description

Definition at line 57 of file mipi_dsi.h.

Field Documentation

◆ attach

mipi_dsi_host_ops::attach

mipi_dsi_host_ops - DSI bus operationsattach DSI device to DSI host

Definition at line 58 of file mipi_dsi.h.

◆ detach

mipi_dsi_host_ops::detach

detach DSI device from DSI host

Definition at line 60 of file mipi_dsi.h.

◆ transfer

mipi_dsi_host_ops::transfer

transmit a DSI packet

DSI packets transmitted by .transfer() are passed in as mipi_dsi_msg structures. This structure contains information about the type of packet being transmitted as well as the transmit and receive buffers. When an error is encountered during transmission, this function will return a negative error code. On success it shall return the number of bytes transmitted for write packets or the number of bytes received for read packets.

Note that typically DSI packet transmission is atomic, so the .transfer() function will seldomly return anything other than the number of bytes contained in the transmit buffer on success.

Definition at line 62 of file mipi_dsi.h.

Referenced by mipi_dsi_dcs_write().


The documentation for this struct was generated from the following file: