![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <spi-generic.h>
Data Fields | |
int(* | claim_bus )(const struct spi_slave *slave) |
void(* | release_bus )(const struct spi_slave *slave) |
int(* | setup )(const struct spi_slave *slave) |
int(* | xfer )(const struct spi_slave *slave, const void *dout, size_t bytesout, void *din, size_t bytesin) |
int(* | xfer_vector )(const struct spi_slave *slave, struct spi_op vectors[], size_t count) |
int(* | xfer_dual )(const struct spi_slave *slave, const void *dout, size_t bytesout, void *din, size_t bytesin) |
uint32_t | max_xfer_size |
uint32_t | flags |
int(* | flash_probe )(const struct spi_slave *slave, struct spi_flash *flash) |
int(* | flash_protect )(const struct spi_flash *flash, const struct region *region, const enum ctrlr_prot_type type) |
Definition at line 148 of file spi-generic.h.
Definition at line 149 of file spi-generic.h.
Referenced by spi_claim_bus().
uint32_t spi_ctrlr::flags |
Definition at line 159 of file spi-generic.h.
Referenced by spi_crop_chunk().
Definition at line 160 of file spi-generic.h.
Referenced by spi_flash_probe().
int(* spi_ctrlr::flash_protect) (const struct spi_flash *flash, const struct region *region, const enum ctrlr_prot_type type) |
Definition at line 162 of file spi-generic.h.
Referenced by spi_flash_ctrlr_protect_region().
uint32_t spi_ctrlr::max_xfer_size |
Definition at line 158 of file spi-generic.h.
Referenced by spi_crop_chunk().
Definition at line 150 of file spi-generic.h.
Referenced by spi_release_bus().
Definition at line 151 of file spi-generic.h.
Referenced by spi_setup_slave().
int(* spi_ctrlr::xfer) (const struct spi_slave *slave, const void *dout, size_t bytesout, void *din, size_t bytesin) |
Definition at line 152 of file spi-generic.h.
Referenced by spi_xfer(), and spi_xfer_single_op().
int(* spi_ctrlr::xfer_dual) (const struct spi_slave *slave, const void *dout, size_t bytesout, void *din, size_t bytesin) |
Definition at line 156 of file spi-generic.h.
Referenced by do_dual_io_cmd(), do_dual_output_cmd(), spi_flash_cmd_read(), and spi_flash_probe().
int(* spi_ctrlr::xfer_vector) (const struct spi_slave *slave, struct spi_op vectors[], size_t count) |
Definition at line 154 of file spi-generic.h.
Referenced by spi_xfer_vector().