Lines Matching defs:driver

187  *	interface is bound to a driver that uses the USB major number.
189 * be unused. The driver should set this value in the probe()
190 * function of the driver, after it has been assigned a minor
193 * (in probe()), bound to a driver, or unbinding (in disconnect())
197 * @needs_remote_wakeup: flag set when the driver requires remote-wakeup
201 * @needs_binding: flag set when the driver should be re-probed or unbound
209 * @dev: driver model's view of this device
224 * The driver that is bound to the interface can use standard driver model
228 * of a device sets altsetting 0, but the device driver can change
260 unsigned needs_remote_wakeup:1; /* driver requires remote wakeup */
281 * usb_set_intfdata() - associate driver-specific data with an interface
283 * @data: driver data
286 * driver-specific data with an interface.
288 * Note that there is generally no need to clear the driver-data pointer even
311 * USB Resume Timer: Every Host controller driver should drive the resume
640 * @use_generic_driver: ask driver core to reprobe using the generic driver.
870 extern int usb_driver_claim_interface(struct usb_driver *driver,
881 * Callers must own the driver model's usb bus readlock. So driver
888 return (iface->dev.driver != NULL);
891 extern void usb_driver_release_interface(struct usb_driver *driver,
934 * in host controller driver modules, does not change these path identifiers;
1136 struct device_driver *driver,
1142 * struct usb_driver - identifies USB interface driver to usbcore
1143 * @name: The driver name should be unique among USB drivers,
1145 * @probe: Called to see if the driver is willing to manage a particular
1147 * usb_set_intfdata() to associate driver-specific data with the
1154 * driver module is being unloaded.
1169 * reset. This routine must not return until the driver has no active
1176 * or your driver's probe function will never get called.
1178 * is bound to the driver.
1180 * ids for this driver.
1181 * @driver: The driver-model core driver structure.
1183 * added to this driver by preventing the sysfs file from being created.
1185 * for interfaces bound to this driver.
1187 * endpoints before calling the driver's disconnect method.
1193 * methods, and an id_table. Other driver fields are optional.
1229 struct device_driver driver;
1235 #define to_usb_driver(d) container_of(d, struct usb_driver, driver)
1238 * struct usb_device_driver - identifies USB device driver to usbcore
1239 * @name: The driver name should be unique among USB drivers,
1241 * @match: If set, used for better device/driver matching.
1242 * @probe: Called to see if the driver is willing to manage a particular
1244 * to associate driver-specific data with the device. If unwilling
1247 * because it has been (or is being) disconnected or the driver's
1255 * is bound to the driver.
1256 * @driver: The driver-model core driver structure.
1257 * @id_table: used with @match() to select better matching driver at
1260 * for devices bound to this driver.
1261 * @generic_subclass: if set to 1, the generic USB driver's probe, disconnect,
1262 * resume and suspend functions will be called in addition to the driver's
1265 * USB drivers must provide all the fields listed above except driver,
1281 struct device_driver driver;
1287 driver)
1290 * struct usb_class_driver - identifies a USB driver that wants to use the USB major number
1291 * @name: the usb class device name for this driver. Will show up in sysfs.
1294 * @fops: pointer to the struct file_operations of this driver.
1295 * @minor_base: the start of the minor range for this driver.
1316 #define usb_register(driver) \
1317 usb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
1322 * module_usb_driver() - Helper macro for registering a USB driver
1438 * the device driver is saying that it provided this DMA address,
1439 * which the host controller driver should use in preference to the
1470 * request-specific driver context.
1494 * which tells the host controller driver that no such mapping is needed for
1496 * the device driver is DMA-aware. For example, a device driver might
1573 * driver or request state.
1584 * Note that even fields marked "public" should not be touched by the driver
1890 * members of the request object aren't for driver access.
1905 * and are not provided for driver access!