Scroll to navigation

STRUCT SPI_FLASH_REA(9) Serial Peripheral Interface (S STRUCT SPI_FLASH_REA(9)

NAME

struct_spi_flash_read_message - flash specific information for spi-masters that provide accelerated flash read interfaces

SYNOPSIS

struct spi_flash_read_message {

void * buf;
loff_t from;
size_t len;
size_t retlen;
u8 read_opcode;
u8 addr_width;
u8 dummy_bytes;
u8 opcode_nbits;
u8 addr_nbits;
u8 data_nbits;
struct sg_table rx_sg;
bool cur_msg_mapped; };

MEMBERS

buf

buffer to read data

from

offset within the flash from where data is to be read

len

length of data to be read

retlen

actual length of data read

read_opcode

read_opcode to be used to communicate with flash

addr_width

number of address bytes

dummy_bytes

number of dummy bytes

opcode_nbits

number of lines to send opcode

addr_nbits

number of lines to send address

data_nbits

number of lines for data

rx_sg

Scatterlist for receive data read from flash

cur_msg_mapped

message has been mapped for DMA

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.