XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
mipi_dbi Struct Reference

#include <drm_mipi_dbi.h>

Collaboration diagram for mipi_dbi:
Collaboration graph
[legend]

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
 

Detailed Description

struct mipi_dbi - MIPI DBI interface

Member Data Documentation

◆ cmdlock

struct mutex mipi_dbi::cmdlock

@cmdlock: Command lock

◆ command

int(* mipi_dbi::command) (struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num)

@command: Bus specific callback executing commands.

◆ dc

struct gpio_desc* mipi_dbi::dc

@dc: Optional D/C gpio.

◆ read_commands

const u8* mipi_dbi::read_commands

@read_commands: Array of read commands terminated by a zero entry. Reading is disabled if this is NULL.

◆ reset

struct gpio_desc* mipi_dbi::reset

@reset: Optional reset gpio

◆ spi

struct spi_device* mipi_dbi::spi

@spi: SPI device

◆ swap_bytes

bool mipi_dbi::swap_bytes

@swap_bytes: Swap bytes in buffer before transfer

◆ tx_buf9

void* mipi_dbi::tx_buf9

@tx_buf9: Buffer used for Option 1 9-bit conversion

◆ tx_buf9_len

size_t mipi_dbi::tx_buf9_len

@tx_buf9_len: Size of tx_buf9.

◆ write_memory_bpw

unsigned int mipi_dbi::write_memory_bpw

@write_memory_bpw: Bits per word used on a MIPI_DCS_WRITE_MEMORY_START transfer


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