Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / dma / qcom / hidma_mgmt.h
blob30e8095988bf5ea4f0e9fd678383293a9b263bb3
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Qualcomm Technologies HIDMA Management common header
5 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
6 */
8 struct hidma_mgmt_dev {
9 u8 hw_version_major;
10 u8 hw_version_minor;
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;
22 /* Hardware device constants */
23 void __iomem *virtaddr;
24 resource_size_t addrsize;
26 struct kobject **chroots;
27 struct platform_device *pdev;
30 int hidma_mgmt_init_sys(struct hidma_mgmt_dev *dev);
31 int hidma_mgmt_setup(struct hidma_mgmt_dev *mgmtdev);