Home | History | Annotate | Download | only in linux

Lines Matching refs:driver

96  * @driver: the USB driver that is bound to this interface.
98 * interface is bound to a driver that uses the USB major number.
100 * be unused. The driver should set this value in the probe()
101 * function of the driver, after it has been assigned a minor
104 * (in probe()), bound to a driver, or unbinding (in disconnect())
105 * @dev: driver model's view of this device
106 * @class_dev: driver model's class view of this device.
116 * The driver that is bound to the interface can use standard driver model
120 * of a device sets altsetting 0, but the device driver can change
402 extern int usb_driver_claim_interface(struct usb_driver *driver,
410 * Callers must own the driver model's usb bus readlock. So driver
416 return (iface->dev.driver != NULL);
419 extern void usb_driver_release_interface(struct usb_driver *driver,
445 * in host controller driver modules, does not change these path identifers;
543 * struct usb_driver - identifies USB driver to usbcore
544 * @name: The driver name should be unique among USB drivers,
546 * @probe: Called to see if the driver is willing to manage a particular
548 * dev_set_drvdata() to associate driver-specific data with the
554 * driver module is being unloaded.
567 * or your driver's probe function will never get called.
569 * ids for this driver.
570 * @driver: the driver model core driver structure.
572 * added to this driver by preventing the sysfs file from being created.
575 * and an id_table. Other driver fields are optional.
609 struct device_driver driver;
612 #define to_usb_driver(d) container_of(d, struct usb_driver, driver)
617 * struct usb_class_driver - identifies a USB driver that wants to use the USB major number
618 * @name: the usb class device name for this driver. Will show up in sysfs.
619 * @fops: pointer to the struct file_operations of this driver.
620 * @minor_base: the start of the minor range for this driver.
637 static inline int usb_register(struct usb_driver *driver)
639 return usb_register_driver(driver, THIS_MODULE);
708 * the device driver is saying that it provided this DMA address,
709 * which the host controller driver should use in preference to the
726 * device driver has provided this DMA address for the setup packet.
727 * The host controller driver should use this in preference to
736 * request-specific driver context.
760 * which tell the host controller driver that no such mapping is needed since
761 * the device driver is DMA-aware. For example, a device driver might
829 * driver or request state.
840 * Note that even fields marked "public" should not be touched by the driver
1058 * members of the request object aren't for driver access.
1073 * and are not provided for driver access!