2 * Qualcomm Technologies HIDMA Management common header
4 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 and
8 * only version 2 as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 struct hidma_mgmt_dev
{
22 u32 max_write_request
;
25 u32 chreset_timeout_cycles
;
30 /* Hardware device constants */
31 void __iomem
*virtaddr
;
32 resource_size_t addrsize
;
34 struct kobject
**chroots
;
35 struct platform_device
*pdev
;
38 int hidma_mgmt_init_sys(struct hidma_mgmt_dev
*dev
);
39 int hidma_mgmt_setup(struct hidma_mgmt_dev
*mgmtdev
);