Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dwwan.h45 struct wwan_port;
59 int (*start)(struct wwan_port *port);
60 void (*stop)(struct wwan_port *port);
61 int (*tx)(struct wwan_port *port, struct sk_buff *skb);
64 int (*tx_blocking)(struct wwan_port *port, struct sk_buff *skb);
65 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
98 struct wwan_port *wwan_create_port(struct device *parent,
110 void wwan_remove_port(struct wwan_port *port);
119 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb);
128 void wwan_port_txoff(struct wwan_port *port);
[all …]
/linux-6.12.1/drivers/net/wwan/
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()
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()
Dwwan_core.c36 #define to_wwan_port(d) container_of(d, struct wwan_port, dev)
77 struct wwan_port { struct
342 struct wwan_port *port = to_wwan_port(dev); in type_show()
352 ATTRIBUTE_GROUPS(wwan_port);
356 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy()
376 static struct wwan_port *wwan_port_get_by_minor(unsigned int minor) in wwan_port_get_by_minor()
395 static int __wwan_port_dev_assign_name(struct wwan_port *port, const char *fmt) in __wwan_port_dev_assign_name()
437 struct wwan_port *wwan_create_port(struct device *parent, in wwan_create_port()
444 struct wwan_port *port; in wwan_create_port()
514 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port()
[all …]
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.12.1/drivers/net/wwan/t7xx/
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()
181 if (!port->wwan.wwan_port) in t7xx_port_wwan_uninit()
185 wwan_remove_port(port->wwan.wwan_port); in t7xx_port_wwan_uninit()
186 port->wwan.wwan_port = NULL; in t7xx_port_wwan_uninit()
201 wwan_port_rx(port->wwan.wwan_port, skb); in t7xx_port_wwan_recv_skb()
Dt7xx_port.h132 struct wwan_port *wwan_port; member
/linux-6.12.1/drivers/net/wwan/iosm/
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()
Diosm_ipc_port.h24 struct wwan_port *iosm_port;
/linux-6.12.1/drivers/usb/class/
Dcdc-wdm.c114 struct wwan_port *wwanp;
829 static int wdm_wwan_port_start(struct wwan_port *port) in wdm_wwan_port_start()
854 static void wdm_wwan_port_stop(struct wwan_port *port) in wdm_wwan_port_stop()
876 static int wdm_wwan_port_tx(struct wwan_port *port, struct sk_buff *skb) in wdm_wwan_port_tx()
924 struct wwan_port *port; in wdm_wwan_init()
954 struct wwan_port *port = desc->wwanp; in wdm_wwan_rx()