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
19 * @WWAN_PORT_FASTBOOT: Fastboot protocol control
37 WWAN_PORT_MAX = __WWAN_PORT_MAX - 1,
47 /** struct wwan_port_ops - The WWAN port operations
50 * @tx: Non-blocking routine that sends WWAN port protocol data to the device.
55 * The wwan_port_ops structure contains a list of low-level operations
56 * that control a WWAN port device. All functions are mandatory unless specified.
69 /** struct wwan_port_caps - The WWAN port capbilities
79 * wwan_create_port - Add a new WWAN port
80 * @parent: Device to use as parent and shared by all WWAN ports
88 * based on the parent pointer. The parent pointer is the device shared by all
98 struct wwan_port *wwan_create_port(struct device *parent,
105 * wwan_remove_port - Remove a WWAN port
113 * wwan_port_rx - Receive data from the WWAN port
122 * wwan_port_txoff - Stop TX on WWAN port
125 * Used for TX flow control, a port driver calls this function to indicate TX
132 * wwan_port_txon - Restart TX on WWAN port
135 * Used for TX flow control, a port driver calls this function to indicate TX
141 * wwan_port_get_drvdata - Retrieve driver data from a WWAN port
147 * struct wwan_netdev_priv - WWAN core network device private data
160 return ((struct wwan_netdev_priv *)netdev_priv(dev))->drv_priv; in wwan_netdev_drvpriv()
170 * struct wwan_ops - WWAN device ops
185 int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
188 void wwan_unregister_ops(struct device *parent);
191 struct dentry *wwan_get_debugfs_dir(struct device *parent);
194 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() argument
196 return ERR_PTR(-ENODEV); in wwan_get_debugfs_dir()