ipa_endpoint.c (98817a84ff1c755c347ac633ff017a623a631fad) ipa_endpoint.c (6cb63ea6a39eac9640d109f274a237b34350c183)
1// SPDX-License-Identifier: GPL-2.0
2
3/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
5 */
6
7#include <linux/types.h>
8#include <linux/device.h>

--- 1436 unchanged lines hidden (view full) ---

1445 ipa_endpoint_replenish_enable(endpoint);
1446}
1447
1448void ipa_endpoint_suspend(struct ipa *ipa)
1449{
1450 if (ipa->modem_netdev)
1451 ipa_modem_suspend(ipa->modem_netdev);
1452
1// SPDX-License-Identifier: GPL-2.0
2
3/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
5 */
6
7#include <linux/types.h>
8#include <linux/device.h>

--- 1436 unchanged lines hidden (view full) ---

1445 ipa_endpoint_replenish_enable(endpoint);
1446}
1447
1448void ipa_endpoint_suspend(struct ipa *ipa)
1449{
1450 if (ipa->modem_netdev)
1451 ipa_modem_suspend(ipa->modem_netdev);
1452
1453 ipa_cmd_tag_process(ipa);
1454
1453 ipa_endpoint_suspend_one(ipa->name_map[IPA_ENDPOINT_AP_LAN_RX]);
1454 ipa_endpoint_suspend_one(ipa->name_map[IPA_ENDPOINT_AP_COMMAND_TX]);
1455}
1456
1457void ipa_endpoint_resume(struct ipa *ipa)
1458{
1459 ipa_endpoint_resume_one(ipa->name_map[IPA_ENDPOINT_AP_COMMAND_TX]);
1460 ipa_endpoint_resume_one(ipa->name_map[IPA_ENDPOINT_AP_LAN_RX]);

--- 210 unchanged lines hidden ---
1455 ipa_endpoint_suspend_one(ipa->name_map[IPA_ENDPOINT_AP_LAN_RX]);
1456 ipa_endpoint_suspend_one(ipa->name_map[IPA_ENDPOINT_AP_COMMAND_TX]);
1457}
1458
1459void ipa_endpoint_resume(struct ipa *ipa)
1460{
1461 ipa_endpoint_resume_one(ipa->name_map[IPA_ENDPOINT_AP_COMMAND_TX]);
1462 ipa_endpoint_resume_one(ipa->name_map[IPA_ENDPOINT_AP_LAN_RX]);

--- 210 unchanged lines hidden ---