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
33 WWAN_PORT_MAX = __WWAN_PORT_MAX - 1,
43 /** struct wwan_port_ops - The WWAN port operations
46 * @tx: Non-blocking routine that sends WWAN port protocol data to the device.
51 * The wwan_port_ops structure contains a list of low-level operations
52 * that control a WWAN port device. All functions are mandatory unless specified.
66 * wwan_create_port - Add a new WWAN port
67 * @parent: Device to use as parent and shared by all WWAN ports
74 * based on the parent pointer. The parent pointer is the device shared by all
84 struct wwan_port *wwan_create_port(struct device *parent,
90 * wwan_remove_port - Remove a WWAN port
98 * wwan_port_rx - Receive data from the WWAN port
107 * wwan_port_txoff - Stop TX on WWAN port
110 * Used for TX flow control, a port driver calls this function to indicate TX
117 * wwan_port_txon - Restart TX on WWAN port
120 * Used for TX flow control, a port driver calls this function to indicate TX
126 * wwan_port_get_drvdata - Retrieve driver data from a WWAN port
132 * struct wwan_netdev_priv - WWAN core network device private data
145 return ((struct wwan_netdev_priv *)netdev_priv(dev))->drv_priv; in wwan_netdev_drvpriv()
155 * struct wwan_ops - WWAN device ops
170 int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
173 void wwan_unregister_ops(struct device *parent);
176 struct dentry *wwan_get_debugfs_dir(struct device *parent);
179 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() argument
181 return ERR_PTR(-ENODEV); in wwan_get_debugfs_dir()