Lines Matching defs:driver
115 /* This structure describes the internal state of the driver */
119 struct los_eth_driver netdev; /* Network driver structure */
120 FAR struct usbdev_s *usbdev; /* usbdev driver pointer */
158 /* The internal version of the class driver */
188 /* Netdev driver callbacks */
196 static int usbclass_setup(FAR struct usbdevclass_driver_s *driver,
200 static int usbclass_bind(FAR struct usbdevclass_driver_s *driver,
202 static int usbclass_unbind(FAR struct usbdevclass_driver_s *driver,
204 static void usbclass_disconnect(FAR struct usbdevclass_driver_s *driver,
217 /* USB driver operations */
480 * RNDIS driver holds a number of preallocated bulk IN endpoint write
509 * priv: pointer to RNDIS device driver structure
546 * priv: pointer to RNDIS device driver structure
566 * priv: pointer to RNDIS device driver structure
583 * priv: pointer to RNDIS device driver structure
603 * priv: pointer to RNDIS device driver structure
633 * priv: pointer to RNDIS device driver structure
655 * priv: pointer to RNDIS device driver structure
679 * priv: pointer to RNDIS device driver structure
720 * priv: pointer to RNDIS device driver structure
749 * priv: pointer to RNDIS device driver structure
773 * priv: pointer to RNDIS device driver structure
801 * priv: pointer to RNDIS device driver structure
824 * priv: pointer to RNDIS device driver structure
865 * arg: pointer to RNDIS device driver structure
901 * dev: pointer to network driver structure
1134 * priv: pointer to RNDIS device driver structure
1172 * priv: pointer to RNDIS device driver structure
1663 * Invoked when the driver is bound to a USB device driver
1667 static int usbclass_bind(FAR struct usbdevclass_driver_s *driver,
1670 FAR struct rndis_dev_s *priv = ((FAR struct rndis_driver_s *)driver)->dev;
1806 (void)usbclass_unbind(driver, dev);
1814 * Invoked when the driver is unbound from a USB device driver
1818 static int usbclass_unbind(FAR struct usbdevclass_driver_s *driver,
1824 if (!driver || !dev || !dev->ep0)
1832 priv = ((FAR struct rndis_driver_s *)driver)->dev;
1922 static int usbclass_setup(FAR struct usbdevclass_driver_s *driver,
1937 if (!driver || !dev || !dev->ep0 || !ctrl)
1945 priv = ((FAR struct rndis_driver_s *)driver)->dev;
2039 * value (ret < 0), the USB driver will stall.
2067 static void usbclass_disconnect(FAR struct usbdevclass_driver_s *driver,
2073 if (!driver || !dev || !dev->ep0)
2081 priv = ((FAR struct rndis_driver_s *)driver)->dev;
2370 /* Initialize the USB ethernet driver structure */
2379 /* Initialize the USB class driver structure */
2413 /* Ask the ETH driver to fill in the constants we didn't