Struct spi_message


struct spi_message

传输消息配置

Public Members

struct list_head transfers

传输单元链表

struct spi_device *spi

从机设备

unsigned is_dma_mapped

是否可以使用DMA

void (*complete)(void *context)

传输完成回调函数

void *context

complete的参数

unsigned actual_length

传输完成长度

int status

执行结果

struct list_head queue

spi_message所在队列

void *state

运行状态