FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
octospi.c File Reference

Functions

void pi_octospi_conf_init (struct pi_octospi_conf *conf)
 
int32_t pi_octospi_open (struct pi_device *device)
 
void pi_octospi_close (struct pi_device *device)
 
int pi_octospi_ioctl (struct pi_device *device, uint32_t cmd, void *arg)
 
void pi_octospi_read (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, pi_octospi_op_conf_t *op)
 
void pi_octospi_read_async (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, pi_octospi_op_conf_t *op, struct pi_task *task)
 
void pi_octospi_write (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, pi_octospi_op_conf_t *op)
 
void pi_octospi_write_async (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, pi_octospi_op_conf_t *op, struct pi_task *task)
 
void pi_octospi_read_2d (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, uint32_t stride, uint32_t length, pi_octospi_op_conf_t *op)
 
void pi_octospi_read_2d_async (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, uint32_t stride, uint32_t length, pi_octospi_op_conf_t *op, struct pi_task *task)
 
void pi_octospi_write_2d (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, uint32_t stride, uint32_t length, pi_octospi_op_conf_t *op)
 
void pi_octospi_write_2d_async (struct pi_device *device, uint32_t octospi_addr, void *addr, uint32_t size, uint32_t stride, uint32_t length, pi_octospi_op_conf_t *op, struct pi_task *task)
 

Function Documentation

void pi_octospi_close ( struct pi_device *  device)
void pi_octospi_conf_init ( struct pi_octospi_conf *  conf)
int pi_octospi_ioctl ( struct pi_device *  device,
uint32_t  cmd,
void *  arg 
)
int32_t pi_octospi_open ( struct pi_device *  device)

References __pi_octospi_open(), and OSPI_TRACE.

void pi_octospi_read ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
pi_octospi_op_conf_t *  op 
)
void pi_octospi_read_2d ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
pi_octospi_op_conf_t *  op 
)
void pi_octospi_read_2d_async ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
pi_octospi_op_conf_t *  op,
struct pi_task *  task 
)
void pi_octospi_read_async ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
pi_octospi_op_conf_t *  op,
struct pi_task *  task 
)
void pi_octospi_write ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
pi_octospi_op_conf_t *  op 
)
void pi_octospi_write_2d ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
pi_octospi_op_conf_t *  op 
)
void pi_octospi_write_2d_async ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
uint32_t  stride,
uint32_t  length,
pi_octospi_op_conf_t *  op,
struct pi_task *  task 
)
void pi_octospi_write_async ( struct pi_device *  device,
uint32_t  octospi_addr,
void *  addr,
uint32_t  size,
pi_octospi_op_conf_t *  op,
struct pi_task *  task 
)