1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Qualcomm Technologies HIDMA Management common header
5 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
8 struct hidma_mgmt_dev
{
14 u32 max_write_request
;
17 u32 chreset_timeout_cycles
;
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
);