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

Functions

void pi_i2s_setup (uint32_t flags)
 
void pi_i2s_conf_init (struct pi_i2s_conf *conf)
 
int pi_i2s_open (struct pi_device *device)
 
void pi_i2s_close (struct pi_device *device)
 
int pi_i2s_ioctl (struct pi_device *device, uint32_t cmd, void *arg)
 
int pi_i2s_read (struct pi_device *device, void **mem_block, size_t *size)
 
int pi_i2s_read_async (struct pi_device *device, pi_task_t *task)
 
int pi_i2s_read_status (pi_task_t *task, void **mem_block, size_t *size)
 
int pi_i2s_write (struct pi_device *device, void *mem_block, size_t size)
 

Function Documentation

void pi_i2s_close ( struct pi_device *  device)
void pi_i2s_conf_init ( struct pi_i2s_conf *  conf)

References __pi_i2s_conf_init().

int pi_i2s_ioctl ( struct pi_device *  device,
uint32_t  cmd,
void *  arg 
)

References __pi_i2s_ioctl(), and I2S_TRACE.

int pi_i2s_open ( struct pi_device *  device)

References __pi_i2s_open(), and I2S_TRACE.

int pi_i2s_read ( struct pi_device *  device,
void **  mem_block,
size_t *  size 
)
int pi_i2s_read_async ( struct pi_device *  device,
pi_task_t task 
)

References __pi_i2s_read_async().

Referenced by pi_i2s_read().

int pi_i2s_read_status ( pi_task_t task,
void **  mem_block,
size_t *  size 
)
void pi_i2s_setup ( uint32_t  flags)

References __pi_i2s_setup().

int pi_i2s_write ( struct pi_device *  device,
void *  mem_block,
size_t  size 
)