pci_bridge: clean up: remove pci_{register, unregister}_secondary_bus()
[qemu.git] / hw / etraxfs_dma.h
blob96408abab32e5d70e7a69670024c259bb267aa9c
1 struct etraxfs_dma_client
3 /* DMA controller. */
4 int channel;
5 void *ctrl;
7 /* client. */
8 struct
10 int (*push)(void *opaque, unsigned char *buf, int len);
11 void (*pull)(void *opaque);
12 void *opaque;
13 } client;
16 void *etraxfs_dmac_init(target_phys_addr_t base, int nr_channels);
17 void etraxfs_dmac_connect(void *opaque, int channel, qemu_irq *line,
18 int input);
19 void etraxfs_dmac_connect_client(void *opaque, int c,
20 struct etraxfs_dma_client *cl);
21 int etraxfs_dmac_input(struct etraxfs_dma_client *client,
22 void *buf, int len, int eop);