Searched refs:wwan_port (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/include/linux/ |
D | wwan.h | 41 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-6.1.9/drivers/net/wwan/ |
D | rpmsg_wwan_ctrl.c | 13 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()
|
D | mhi_wwan_ctrl.c | 21 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()
|
D | wwan_core.c | 33 #define to_wwan_port(d) container_of(d, struct wwan_port, dev) 72 struct wwan_port { struct 327 struct wwan_port *port = to_wwan_port(dev); in type_show() 337 ATTRIBUTE_GROUPS(wwan_port); 341 struct wwan_port *port = to_wwan_port(dev); in wwan_port_destroy() 361 static struct wwan_port *wwan_port_get_by_minor(unsigned int minor) in wwan_port_get_by_minor() 380 static int __wwan_port_dev_assign_name(struct wwan_port *port, const char *fmt) in __wwan_port_dev_assign_name() 422 struct wwan_port *wwan_create_port(struct device *parent, in wwan_create_port() 428 struct wwan_port *port; in wwan_create_port() 495 void wwan_remove_port(struct wwan_port *port) in wwan_remove_port() [all …]
|
D | wwan_hwsim.c | 54 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-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_port_wwan.c | 36 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()
|
D | t7xx_port.h | 102 struct wwan_port *wwan_port; member
|
/linux-6.1.9/drivers/net/wwan/iosm/ |
D | iosm_ipc_port.c | 11 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()
|
D | iosm_ipc_port.h | 24 struct wwan_port *iosm_port;
|
/linux-6.1.9/drivers/usb/class/ |
D | cdc-wdm.c | 114 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()
|