162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci * 362306a36Sopenharmony_ci * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef MHICONTROLLERQAIC_H_ 862306a36Sopenharmony_ci#define MHICONTROLLERQAIC_H_ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_cistruct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev, void __iomem *mhi_bar, 1162306a36Sopenharmony_ci int mhi_irq); 1262306a36Sopenharmony_civoid qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up); 1362306a36Sopenharmony_civoid qaic_mhi_start_reset(struct mhi_controller *mhi_cntrl); 1462306a36Sopenharmony_civoid qaic_mhi_reset_done(struct mhi_controller *mhi_cntrl); 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci#endif /* MHICONTROLLERQAIC_H_ */ 17