.. | .. |
---|
805 | 805 | int status_alignment; /* status words DMA alignment requirement */ |
---|
806 | 806 | u32 (*read)(volatile u32 __iomem *); |
---|
807 | 807 | void (*write)(u32, volatile u32 __iomem *); |
---|
808 | | - u32 (*dma_map)(struct fore200e*, void*, int, int); |
---|
809 | | - void (*dma_unmap)(struct fore200e*, u32, int, int); |
---|
810 | | - void (*dma_sync_for_cpu)(struct fore200e*, u32, int, int); |
---|
811 | | - void (*dma_sync_for_device)(struct fore200e*, u32, int, int); |
---|
812 | | - int (*dma_chunk_alloc)(struct fore200e*, struct chunk*, int, int, int); |
---|
813 | | - void (*dma_chunk_free)(struct fore200e*, struct chunk*); |
---|
814 | 808 | int (*configure)(struct fore200e*); |
---|
815 | 809 | int (*map)(struct fore200e*); |
---|
816 | 810 | void (*reset)(struct fore200e*); |
---|
.. | .. |
---|
844 | 838 | enum fore200e_state state; /* device state */ |
---|
845 | 839 | |
---|
846 | 840 | char name[16]; /* device name */ |
---|
847 | | - void* bus_dev; /* bus-specific kernel data */ |
---|
| 841 | + struct device *dev; |
---|
848 | 842 | int irq; /* irq number */ |
---|
849 | 843 | unsigned long phys_base; /* physical base address */ |
---|
850 | 844 | void __iomem * virt_base; /* virtual base address */ |
---|