1 struct dma_context_metadata
{
2 /* data descriptor md */
6 struct etraxfs_dma_client
14 int (*push
)(void *opaque
, unsigned char *buf
,
16 void (*pull
)(void *opaque
);
17 void (*metadata_push
)(void *opaque
,
18 const struct dma_context_metadata
*md
);
23 void *etraxfs_dmac_init(hwaddr base
, int nr_channels
);
24 void etraxfs_dmac_connect(void *opaque
, int channel
, qemu_irq
*line
,
26 void etraxfs_dmac_connect_client(void *opaque
, int c
,
27 struct etraxfs_dma_client
*cl
);
28 int etraxfs_dmac_input(struct etraxfs_dma_client
*client
,
29 void *buf
, int len
, int eop
);