PebbleOS v4.47.0-1075-g013613c8a
Loading...
Searching...
No Matches
pbl_mipi_dsi_host_ops Struct Reference

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.
 

Detailed Description

Host operations.

Field Documentation

◆ attach

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.

◆ detach

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.

◆ transfer

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.


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