20#include <packet2_types.h>
22#define DMA_CHANNEL_VIF0 0x00
23#define DMA_CHANNEL_VIF1 0x01
24#define DMA_CHANNEL_GIF 0x02
25#define DMA_CHANNEL_fromIPU 0x03
26#define DMA_CHANNEL_toIPU 0x04
27#define DMA_CHANNEL_fromSIF0 0x05
28#define DMA_CHANNEL_toSIF1 0x06
29#define DMA_CHANNEL_SIF2 0x07
30#define DMA_CHANNEL_fromSPR 0x08
31#define DMA_CHANNEL_toSPR 0x09
33#define DMA_FLAG_TRANSFERTAG 0x01
34#define DMA_FLAG_INTERRUPTSAFE 0x02
int dma_channel_send_normal(int channel, void *data, int qwc, int flags, int spr)
int dma_channel_receive_normal(int channel, void *data, int data_size, int flags, int spr)
int dma_channel_wait(int channel, int timeout)
int dma_channel_initialize(int channel, void *handler, int flags)
int dma_channel_receive_chain(int channel, void *data, int data_size, int flags, int spr)
void dma_channel_send_packet2(packet2_t *packet2, int channel, u8 flush_cache)
void dma_channel_fast_waits(int channel)
int dma_channel_send_chain_ucab(int channel, void *data, int qwc, int flags)
int dma_channel_send_chain(int channel, void *data, int qwc, int flags, int spr)
int dma_channel_send_normal_ucab(int channel, void *data, int qwc, int flags)
int dma_channel_shutdown(int channel, int flags)