// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020-21 Intel Corporation. */ #include "iosm_ipc_chnl_cfg.h" #include "iosm_ipc_imem_ops.h" #include "iosm_ipc_port.h" /* open logical channel for control communication */ static int ipc_port_ctrl_start(struct wwan_port *port) { … } /* close logical channel */ static void ipc_port_ctrl_stop(struct wwan_port *port) { … } /* transfer control data to modem */ static int ipc_port_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) { … } static const struct wwan_port_ops ipc_wwan_ctrl_ops = …; /* Port init func */ struct iosm_cdev *ipc_port_init(struct iosm_imem *ipc_imem, struct ipc_chnl_cfg ipc_port_cfg) { … } /* Port deinit func */ void ipc_port_deinit(struct iosm_cdev *port[]) { … }