Lines Matching +full:control +full:- +full:parent

1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * enum wwan_port_type - WWAN port types
14 * @WWAN_PORT_MBIM: Mobile Broadband Interface Model control
15 * @WWAN_PORT_QMI: Qcom modem/MSM interface for modem control
18 * @WWAN_PORT_XMMRPC: Control protocol for Intel XMM modems
35 WWAN_PORT_MAX = __WWAN_PORT_MAX - 1,
45 /** struct wwan_port_ops - The WWAN port operations
48 * @tx: Non-blocking routine that sends WWAN port protocol data to the device.
53 * The wwan_port_ops structure contains a list of low-level operations
54 * that control a WWAN port device. All functions are mandatory unless specified.
67 /** struct wwan_port_caps - The WWAN port capbilities
77 * wwan_create_port - Add a new WWAN port
78 * @parent: Device to use as parent and shared by all WWAN ports
86 * based on the parent pointer. The parent pointer is the device shared by all
96 struct wwan_port *wwan_create_port(struct device *parent,
103 * wwan_remove_port - Remove a WWAN port
111 * wwan_port_rx - Receive data from the WWAN port
120 * wwan_port_txoff - Stop TX on WWAN port
123 * Used for TX flow control, a port driver calls this function to indicate TX
130 * wwan_port_txon - Restart TX on WWAN port
133 * Used for TX flow control, a port driver calls this function to indicate TX
139 * wwan_port_get_drvdata - Retrieve driver data from a WWAN port
145 * struct wwan_netdev_priv - WWAN core network device private data
158 return ((struct wwan_netdev_priv *)netdev_priv(dev))->drv_priv; in wwan_netdev_drvpriv()
168 * struct wwan_ops - WWAN device ops
183 int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
186 void wwan_unregister_ops(struct device *parent);
189 struct dentry *wwan_get_debugfs_dir(struct device *parent);
192 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() argument
194 return ERR_PTR(-ENODEV); in wwan_get_debugfs_dir()