| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Qualcomm Technologies HIDMA data structures |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. |
|---|
| 5 | | - * |
|---|
| 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. |
|---|
| 9 | | - * |
|---|
| 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. |
|---|
| 14 | 6 | */ |
|---|
| 15 | 7 | |
|---|
| 16 | 8 | #ifndef QCOM_HIDMA_H |
|---|
| .. | .. |
|---|
| 101 | 93 | * It is used by the DMA complete notification to |
|---|
| 102 | 94 | * locate the descriptor that initiated the transfer. |
|---|
| 103 | 95 | */ |
|---|
| 104 | | - struct dentry *debugfs; |
|---|
| 105 | | - struct dentry *stats; |
|---|
| 106 | 96 | struct hidma_dev *dmadev; |
|---|
| 107 | 97 | struct hidma_desc *running; |
|---|
| 108 | 98 | |
|---|
| .. | .. |
|---|
| 134 | 124 | struct dma_device ddev; |
|---|
| 135 | 125 | |
|---|
| 136 | 126 | struct dentry *debugfs; |
|---|
| 137 | | - struct dentry *stats; |
|---|
| 138 | 127 | |
|---|
| 139 | 128 | /* sysfs entry for the channel id */ |
|---|
| 140 | 129 | struct device_attribute *chid_attrs; |
|---|
| .. | .. |
|---|
| 166 | 155 | irqreturn_t hidma_ll_inthandler_msi(int irq, void *arg, int cause); |
|---|
| 167 | 156 | void hidma_cleanup_pending_tre(struct hidma_lldev *llhndl, u8 err_info, |
|---|
| 168 | 157 | u8 err_code); |
|---|
| 169 | | -int hidma_debug_init(struct hidma_dev *dmadev); |
|---|
| 158 | +void hidma_debug_init(struct hidma_dev *dmadev); |
|---|
| 170 | 159 | void hidma_debug_uninit(struct hidma_dev *dmadev); |
|---|
| 171 | 160 | #endif |
|---|