Home
last modified time | relevance | path

Searched refs:wwan_port (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/include/linux/
H A Dwwan.h49 struct wwan_port;
63 int (*start)(struct wwan_port *port);
64 void (*stop)(struct wwan_port *port);
65 int (*tx)(struct wwan_port *port, struct sk_buff *skb);
69 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
102 struct wwan_port *wwan_create_port(struct device *parent,
114 void wwan_remove_port(struct wwan_port *port);
123 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb);
132 void wwan_port_txoff(struct wwan_port *port);
142 void wwan_port_txon(struct wwan_port *port);
[all …]
/linux-6.15/drivers/net/wwan/
H A Drpmsg_wwan_ctrl.c13 struct wwan_port *wwan_port; member
28 wwan_port_rx(rpwwan->wwan_port, skb); in rpmsg_wwan_ctrl_callback()
32 static int rpmsg_wwan_ctrl_start(struct wwan_port *port) in rpmsg_wwan_ctrl_start()
49 static void rpmsg_wwan_ctrl_stop(struct wwan_port *port) in rpmsg_wwan_ctrl_stop()
57 static int rpmsg_wwan_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx()
70 static int rpmsg_wwan_ctrl_tx_blocking(struct wwan_port *port, struct sk_buff *skb) in rpmsg_wwan_ctrl_tx_blocking()
83 static __poll_t rpmsg_wwan_ctrl_tx_poll(struct wwan_port *port, in rpmsg_wwan_ctrl_tx_poll()
116 struct wwan_port *port; in rpmsg_wwan_ctrl_probe()
136 rpwwan->wwan_port = port; in rpmsg_wwan_ctrl_probe()
145 wwan_remove_port(rpwwan->wwan_port); in rpmsg_wwan_ctrl_remove()
H A Dmhi_wwan_ctrl.c21 struct wwan_port *wwan_port; member
107 static int mhi_wwan_ctrl_start(struct wwan_port *port) in mhi_wwan_ctrl_start()
129 static void mhi_wwan_ctrl_stop(struct wwan_port *port) in mhi_wwan_ctrl_stop()
142 static int mhi_wwan_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in mhi_wwan_ctrl_tx()
173 struct wwan_port *port = mhiwwan->wwan_port; in mhi_ul_xfer_cb()
193 struct wwan_port *port = mhiwwan->wwan_port; in mhi_dl_xfer_cb()
219 struct wwan_port *port; in mhi_wwan_ctrl_probe()
246 mhiwwan->wwan_port = port; in mhi_wwan_ctrl_probe()
255 wwan_remove_port(mhiwwan->wwan_port); in mhi_wwan_ctrl_remove()
H A Dwwan_core.c77 struct wwan_port { struct
350 struct wwan_port *port = to_wwan_port(dev); in type_show()
360 ATTRIBUTE_GROUPS(wwan_port);
364 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy()
452 struct wwan_port *port; in wwan_create_port()
522 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port()
552 void wwan_port_txon(struct wwan_port *port) in wwan_port_txon()
559 void wwan_port_txoff(struct wwan_port *port) in wwan_port_txoff()
668 struct wwan_port *port; in wwan_port_fops_open()
687 struct wwan_port *port = filp->private_data; in wwan_port_fops_release()
[all …]
H A Dwwan_hwsim.c56 struct wwan_port *wwan;
104 static int wwan_hwsim_port_start(struct wwan_port *wport) in wwan_hwsim_port_start()
113 static void wwan_hwsim_port_stop(struct wwan_port *wport) in wwan_hwsim_port_stop()
123 static int wwan_hwsim_port_tx(struct wwan_port *wport, struct sk_buff *in) in wwan_hwsim_port_tx()
/linux-6.15/drivers/net/wwan/t7xx/
H A Dt7xx_port_wwan.c38 static int t7xx_port_wwan_start(struct wwan_port *port) in t7xx_port_wwan_start()
49 static void t7xx_port_wwan_stop(struct wwan_port *port) in t7xx_port_wwan_stop()
128 static int t7xx_port_wwan_tx(struct wwan_port *port, struct sk_buff *skb) in t7xx_port_wwan_tx()
157 if (!port->wwan.wwan_port) { in t7xx_port_wwan_create()
161 port->wwan.wwan_port = wwan_create_port(port->dev, port_conf->port_type, in t7xx_port_wwan_create()
163 if (IS_ERR(port->wwan.wwan_port)) in t7xx_port_wwan_create()
183 if (!port->wwan.wwan_port) in t7xx_port_wwan_uninit()
187 wwan_remove_port(port->wwan.wwan_port); in t7xx_port_wwan_uninit()
188 port->wwan.wwan_port = NULL; in t7xx_port_wwan_uninit()
203 wwan_port_rx(port->wwan.wwan_port, skb); in t7xx_port_wwan_recv_skb()
H A Dt7xx_port.h135 struct wwan_port *wwan_port; member
/linux-6.15/drivers/net/wwan/iosm/
H A Diosm_ipc_port.c11 static int ipc_port_ctrl_start(struct wwan_port *port) in ipc_port_ctrl_start()
26 static void ipc_port_ctrl_stop(struct wwan_port *port) in ipc_port_ctrl_stop()
34 static int ipc_port_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in ipc_port_ctrl_tx()
H A Diosm_ipc_port.h24 struct wwan_port *iosm_port;
/linux-6.15/drivers/usb/class/
H A Dcdc-wdm.c114 struct wwan_port *wwanp;
829 static int wdm_wwan_port_start(struct wwan_port *port) in wdm_wwan_port_start()
863 static void wdm_wwan_port_stop(struct wwan_port *port) in wdm_wwan_port_stop()
887 static int wdm_wwan_port_tx(struct wwan_port *port, struct sk_buff *skb) in wdm_wwan_port_tx()
935 struct wwan_port *port; in wdm_wwan_init()
965 struct wwan_port *port = desc->wwanp; in wdm_wwan_rx()