ipa_modem.h 606 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
  3. * Copyright (C) 2018-2022 Linaro Ltd.
  4. */
  5. #ifndef _IPA_MODEM_H_
  6. #define _IPA_MODEM_H_
  7. struct ipa;
  8. struct net_device;
  9. struct sk_buff;
  10. int ipa_modem_start(struct ipa *ipa);
  11. int ipa_modem_stop(struct ipa *ipa);
  12. void ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb);
  13. void ipa_modem_suspend(struct net_device *netdev);
  14. void ipa_modem_resume(struct net_device *netdev);
  15. int ipa_modem_config(struct ipa *ipa);
  16. void ipa_modem_deconfig(struct ipa *ipa);
  17. #endif /* _IPA_MODEM_H_ */