Lines Matching refs:driver
3 * The driver-specific portions of the driver model
11 * See Documentation/driver-api/driver-model/ for more information.
23 * enum probe_type - device driver probe type to try
34 * their probe routines to run synchronously with driver and
51 * struct device_driver - The basic device driver structure
52 * @name: Name of the device driver.
53 * @bus: The bus which the device of this driver belongs to.
61 * whether this driver can work with it, and bind the driver
66 * driver. If the device has no consumers, this function will
68 * consumers that are never bound to a driver, this function
71 * unbind a device from this driver.
76 * @groups: Default attributes that get created by the driver core
79 * it is bound to the driver.
81 * this driver.
82 * @coredump: Called when sysfs entry is written to. The device driver
85 * @p: Driver core's private data, no one other than the driver
88 * The device driver-model tracks all of the drivers known to the system.
89 * The main reason for this tracking is to enable the driver core to match
132 /* sysfs interface for exporting driver attributes */
136 ssize_t (*show)(struct device_driver *driver, char *buf);
137 ssize_t (*store)(struct device_driver *driver, const char *buf,
148 extern int __must_check driver_create_file(struct device_driver *driver,
150 extern void driver_remove_file(struct device_driver *driver,
167 * @drv: the driver we're iterating
179 * @drv: the driver we're iterating
192 * @drv: the driver we're iterating
205 * @drv: the driver we're iterating
224 * @drv: the driver we're iterating
252 * @__driver: driver name
253 * @__register: register function for this driver type
254 * @__unregister: unregister function for this driver type
275 * Each driver may only use this macro once, and calling it replaces
280 * @__driver: driver name
281 * @__register: register function for this driver type