|
XenevaOS
|
#include <drm_mipi_dbi.h>

Public Attributes | |
| struct mutex | cmdlock |
| int(* | command )(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num) |
| const u8 * | read_commands |
| bool | swap_bytes |
| struct gpio_desc * | reset |
| struct spi_device * | spi |
| unsigned int | write_memory_bpw |
| struct gpio_desc * | dc |
| void * | tx_buf9 |
| size_t | tx_buf9_len |
struct mipi_dbi - MIPI DBI interface
| struct mutex mipi_dbi::cmdlock |
@cmdlock: Command lock
@command: Bus specific callback executing commands.
| struct gpio_desc* mipi_dbi::dc |
@dc: Optional D/C gpio.
| const u8* mipi_dbi::read_commands |
@read_commands: Array of read commands terminated by a zero entry. Reading is disabled if this is NULL.
| struct gpio_desc* mipi_dbi::reset |
@reset: Optional reset gpio
| struct spi_device* mipi_dbi::spi |
@spi: SPI device
| bool mipi_dbi::swap_bytes |
@swap_bytes: Swap bytes in buffer before transfer
| void* mipi_dbi::tx_buf9 |
@tx_buf9: Buffer used for Option 1 9-bit conversion
| size_t mipi_dbi::tx_buf9_len |
@tx_buf9_len: Size of tx_buf9.
| unsigned int mipi_dbi::write_memory_bpw |
@write_memory_bpw: Bits per word used on a MIPI_DCS_WRITE_MEMORY_START transfer