Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dwwan.h41 struct wwan_port;
55 int (*start)(struct wwan_port *port);
56 void (*stop)(struct wwan_port *port);
57 int (*tx)(struct wwan_port *port, struct sk_buff *skb);
60 int (*tx_blocking)(struct wwan_port *port, struct sk_buff *skb);
61 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
84 struct wwan_port *wwan_create_port(struct device *parent,
95 void wwan_remove_port(struct wwan_port *port);
104 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb);
113 void wwan_port_txoff(struct wwan_port *port);
[all …]
/linux-5.19.10/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.c32 #define to_wwan_port(d) container_of(d, struct wwan_port, dev)
71 struct wwan_port { struct
326 struct wwan_port *port = to_wwan_port(dev); in type_show()
336 ATTRIBUTE_GROUPS(wwan_port);
340 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy()
360 static struct wwan_port *wwan_port_get_by_minor(unsigned int minor) in wwan_port_get_by_minor()
379 static int __wwan_port_dev_assign_name(struct wwan_port *port, const char *fmt) in __wwan_port_dev_assign_name()
421 struct wwan_port *wwan_create_port(struct device *parent, in wwan_create_port()
427 struct wwan_port *port; in wwan_create_port()
494 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port()
[all …]
Dwwan_hwsim.c54 struct wwan_port *wwan;
102 static int wwan_hwsim_port_start(struct wwan_port *wport) in wwan_hwsim_port_start()
111 static void wwan_hwsim_port_stop(struct wwan_port *wport) in wwan_hwsim_port_stop()
121 static int wwan_hwsim_port_tx(struct wwan_port *wport, struct sk_buff *in) in wwan_hwsim_port_tx()
/linux-5.19.10/drivers/net/wwan/t7xx/
Dt7xx_port_wwan.c36 static int t7xx_port_ctrl_start(struct wwan_port *port) in t7xx_port_ctrl_start()
47 static void t7xx_port_ctrl_stop(struct wwan_port *port) in t7xx_port_ctrl_stop()
54 static int t7xx_port_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) in t7xx_port_ctrl_tx()
112 if (!port->wwan_port) in t7xx_port_wwan_uninit()
116 wwan_remove_port(port->wwan_port); in t7xx_port_wwan_uninit()
117 port->wwan_port = NULL; in t7xx_port_wwan_uninit()
132 wwan_port_rx(port->wwan_port, skb); in t7xx_port_wwan_recv_skb()
161 if (!port->wwan_port) { in t7xx_port_wwan_md_state_notify()
162 port->wwan_port = wwan_create_port(port->dev, port_conf->port_type, in t7xx_port_wwan_md_state_notify()
164 if (IS_ERR(port->wwan_port)) in t7xx_port_wwan_md_state_notify()
Dt7xx_port.h102 struct wwan_port *wwan_port; member
/linux-5.19.10/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-5.19.10/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()
953 struct wwan_port *port = desc->wwanp; in wdm_wwan_rx()