Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dwwan.h43 struct wwan_port;
57 int (*start)(struct wwan_port *port);
58 void (*stop)(struct wwan_port *port);
59 int (*tx)(struct wwan_port *port, struct sk_buff *skb);
63 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
96 struct wwan_port *wwan_create_port(struct device *parent,
108 void wwan_remove_port(struct wwan_port *port);
117 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb);
126 void wwan_port_txoff(struct wwan_port *port);
136 void wwan_port_txon(struct wwan_port *port);
[all …]
/openbmc/linux/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.c74 struct wwan_port { struct
335 struct wwan_port *port = to_wwan_port(dev); in type_show()
345 ATTRIBUTE_GROUPS(wwan_port);
349 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy()
437 struct wwan_port *port; in wwan_create_port()
507 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port()
537 void wwan_port_txon(struct wwan_port *port) in wwan_port_txon()
544 void wwan_port_txoff(struct wwan_port *port) in wwan_port_txoff()
653 struct wwan_port *port; in wwan_port_fops_open()
672 struct wwan_port *port = filp->private_data; in wwan_port_fops_release()
[all …]
H A 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()
/openbmc/linux/drivers/net/wwan/t7xx/
H A 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()
110 if (!port->wwan.wwan_port) in t7xx_port_wwan_uninit()
114 wwan_remove_port(port->wwan.wwan_port); in t7xx_port_wwan_uninit()
115 port->wwan.wwan_port = NULL; in t7xx_port_wwan_uninit()
130 wwan_port_rx(port->wwan.wwan_port, skb); in t7xx_port_wwan_recv_skb()
161 if (!port->wwan.wwan_port) { in t7xx_port_wwan_md_state_notify()
164 port->wwan.wwan_port = wwan_create_port(port->dev, port_conf->port_type, in t7xx_port_wwan_md_state_notify()
166 if (IS_ERR(port->wwan.wwan_port)) in t7xx_port_wwan_md_state_notify()
H A Dt7xx_port.h130 struct wwan_port *wwan_port; member
/openbmc/linux/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;
/openbmc/linux/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()
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()