xref: /linux/drivers/accel/qaic/mhi_controller.h (revision c06b6cde2a1c3bcbb561bd57bb6f34eae9030921)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. */
4 /* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */
5 
6 #ifndef MHICONTROLLERQAIC_H_
7 #define MHICONTROLLERQAIC_H_
8 
9 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar,
10 						    int mhi_irq, bool shared_msi, int family);
11 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up);
12 void qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl);
13 void qaic_mhi_reset_done(struct mhi_controller *mhi_cntrl);
14 
15 #endif /* MHICONTROLLERQAIC_H_ */
16