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