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