1
2
3
4
5
6
7
8 struct hidma_mgmt_dev {
9 u8 hw_version_major;
10 u8 hw_version_minor;
11
12 u32 max_wr_xactions;
13 u32 max_rd_xactions;
14 u32 max_write_request;
15 u32 max_read_request;
16 u32 dma_channels;
17 u32 chreset_timeout_cycles;
18 u32 hw_version;
19 u32 *priority;
20 u32 *weight;
21
22
23 void __iomem *virtaddr;
24 resource_size_t addrsize;
25
26 struct kobject **chroots;
27 struct platform_device *pdev;
28 };
29
30 int hidma_mgmt_init_sys(struct hidma_mgmt_dev *dev);
31 int hidma_mgmt_setup(struct hidma_mgmt_dev *mgmtdev);