FreeRTOS port on GAP8/RISC-V
|
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) |
void pi_octospi_close | ( | struct pi_device * | device | ) |
References __pi_octospi_close(), octospi_cs_data_s::device_id, and OSPI_TRACE.
void pi_octospi_conf_init | ( | struct pi_octospi_conf * | conf | ) |
References __pi_octospi_conf_init().
int pi_octospi_ioctl | ( | struct pi_device * | device, |
uint32_t | cmd, | ||
void * | arg | ||
) |
References __pi_octospi_ioctl(), octospi_cs_data_s::device_id, and OSPI_TRACE.
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 | ||
) |
References __pi_octospi_2d_copy(), pi_task_block(), pi_task_wait_on(), and RX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), pi_task_block(), pi_task_wait_on(), and RX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), and RX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), and RX_CHANNEL.
void pi_octospi_write | ( | struct pi_device * | device, |
uint32_t | octospi_addr, | ||
void * | addr, | ||
uint32_t | size, | ||
pi_octospi_op_conf_t * | op | ||
) |
References __pi_octospi_2d_copy(), pi_task_block(), pi_task_wait_on(), and TX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), pi_task_block(), pi_task_wait_on(), and TX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), and TX_CHANNEL.
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 | ||
) |
References __pi_octospi_2d_copy(), and TX_CHANNEL.