Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/accel/qaic/mhi_controller.h
26428 views
1
/* SPDX-License-Identifier: GPL-2.0-only
2
*
3
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
4
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
5
*/
6
7
#ifndef MHICONTROLLERQAIC_H_
8
#define MHICONTROLLERQAIC_H_
9
10
struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar,
11
int mhi_irq, bool shared_msi, int family);
12
void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up);
13
void qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl);
14
void qaic_mhi_reset_done(struct mhi_controller *mhi_cntrl);
15
16
#endif /* MHICONTROLLERQAIC_H_ */
17
18