|
PebbleOS v4.47.0-1362-gd278268fe
|
Interface for MIPI DBI host drivers. More...
Data Structures | |
| struct | pbl_mipi_dbi_ops |
| Driver operations. More... | |
| struct | pbl_mipi_dbi |
| MIPI DBI host. More... | |
Macros | |
| #define | PBL_MIPI_DBI_INIT(sym, _name, _parent, _ops) |
Initializer for the struct pbl_mipi_dbi of host sym. | |
Interface for MIPI DBI host drivers.
A driver embeds a struct pbl_mipi_dbi in its instance, sets it up with PBL_MIPI_DBI_INIT(), and implements the struct pbl_mipi_dbi_ops the class calls.
| struct pbl_mipi_dbi |
MIPI DBI host.
| Data Fields | ||
|---|---|---|
| struct pbl_device | dev | Device. |
| const struct pbl_mipi_dbi_ops * | ops | Driver operations. |
| #define PBL_MIPI_DBI_INIT | ( | sym, | |
| _name, | |||
| _parent, | |||
| _ops | |||
| ) |
Initializer for the struct pbl_mipi_dbi of host sym.
The host has no init of its own: it is a function of its controller, which sets it up before it brings the panel up.
| sym | Symbol of the host instance, with its state defined by PBL_DEVICE_STATE_DEFINE(). |
| _name | Name. |
| _parent | Parent device, or NULL. |
| _ops | Driver operations. |