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;
};  

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