|
PebbleOS v4.47.0-1075-g013613c8a
|
Host operations. More...
#include <mipi_dsi.h>
Data Fields | |
| int(* | attach )(const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_device *dsi) |
| Set the link up for a device and start it. | |
| int(* | detach )(const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_device *dsi) |
| Stop the link. | |
| ssize_t(* | transfer )(const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_msg *msg) |
| Send a packet and read the response. | |
Host operations.
| int(* pbl_mipi_dsi_host_ops::attach) (const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_device *dsi) |
Set the link up for a device and start it.
Returns 0 or a negative errno.
| int(* pbl_mipi_dsi_host_ops::detach) (const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_device *dsi) |
Stop the link.
Returns 0 or a negative errno.
| ssize_t(* pbl_mipi_dsi_host_ops::transfer) (const struct pbl_mipi_dsi_host *host, const struct pbl_mipi_dsi_msg *msg) |
Send a packet and read the response.
Returns the bytes read or sent, or a negative errno.