FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/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_channel_read (struct pi_device *device, int channel, void **mem_block, size_t *size)
 
int pi_i2s_channel_read_async (struct pi_device *device, int channel, 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)
 
int pi_i2s_write_async (struct pi_device *device, void *mem_block, size_t size, pi_task_t *task)
 
int pi_i2s_channel_write (struct pi_device *device, int channel, void *mem_block, size_t size)
 
int pi_i2s_channel_write_async (struct pi_device *device, int channel, void *mem_block, size_t size, pi_task_t *task)
 
int pi_i2s_write_status (pi_task_t *task)
 

Function Documentation

int pi_i2s_channel_read ( struct pi_device *  device,
int  channel,
void **  mem_block,
size_t *  size 
)
int pi_i2s_channel_read_async ( struct pi_device *  device,
int  channel,
pi_task_t task 
)
int pi_i2s_channel_write ( struct pi_device *  device,
int  channel,
void *  mem_block,
size_t  size 
)
int pi_i2s_channel_write_async ( struct pi_device *  device,
int  channel,
void *  mem_block,
size_t  size,
pi_task_t task 
)
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 
)
int pi_i2s_read_status ( pi_task_t task,
void **  mem_block,
size_t *  size 
)
void pi_i2s_setup ( uint32_t  flags)
int pi_i2s_write ( struct pi_device *  device,
void *  mem_block,
size_t  size 
)
int pi_i2s_write_async ( struct pi_device *  device,
void *  mem_block,
size_t  size,
pi_task_t task 
)

References pi_i2s_channel_write_async().

Referenced by pi_i2s_write().

int pi_i2s_write_status ( pi_task_t task)