/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.h | 20 extern struct usbip_host_driver device_driver;
|
/linux-master/include/kunit/ |
H A D | device.h | 19 struct device_driver; 22 * kunit_driver_create() - Create a struct device_driver attached to the kunit_bus 26 * Creates a struct device_driver attached to the kunit_bus, with the name @name. 29 * Return: a stub struct device_driver, managed by KUnit, with the name @name. 31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name); 42 * struct device_driver. 53 * @drv: The struct device_driver to associate with the device. 65 const struct device_driver *drv);
|
/linux-master/include/linux/device/ |
H A D | driver.h | 52 * struct device_driver - The basic device driver structure 96 struct device_driver { struct 125 int __must_check driver_register(struct device_driver *drv); 126 void driver_unregister(struct device_driver *drv); 128 struct device_driver *driver_find(const char *name, const struct bus_type *bus); 137 ssize_t (*show)(struct device_driver *driver, char *buf); 138 ssize_t (*store)(struct device_driver *driver, const char *buf, 149 int __must_check driver_create_file(struct device_driver *driver, 151 void driver_remove_file(struct device_driver *driver, 156 int __must_check driver_for_each_device(struct device_driver *dr [all...] |
H A D | bus.h | 21 struct device_driver; 84 int (*match)(struct device *dev, struct device_driver *drv); 228 int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start, 229 void *data, int (*fn)(struct device_driver *, void *));
|
/linux-master/drivers/base/ |
H A D | base.h | 83 struct device_driver *driver; 115 struct device_driver *async_driver; 156 int bus_add_driver(struct device_driver *drv); 157 void bus_remove_driver(struct device_driver *drv); 158 void device_release_driver_internal(struct device *dev, struct device_driver *drv, 161 void driver_detach(struct device_driver *drv); 164 static inline int driver_match_device(struct device_driver *drv, 178 int driver_add_groups(struct device_driver *drv, const struct attribute_group **groups); 179 void driver_remove_groups(struct device_driver *drv, const struct attribute_group **groups); 195 void module_add_driver(struct module *mod, struct device_driver *dr [all...] |
H A D | driver.c | 117 int driver_for_each_device(struct device_driver *drv, struct device *start, 151 struct device *driver_find_device(struct device_driver *drv, 176 int driver_create_file(struct device_driver *drv, 194 void driver_remove_file(struct device_driver *drv, 202 int driver_add_groups(struct device_driver *drv, 208 void driver_remove_groups(struct device_driver *drv, 222 int driver_register(struct device_driver *drv) 225 struct device_driver *other; 267 void driver_unregister(struct device_driver *drv)
|
H A D | module.c | 12 static char *make_driver_name(struct device_driver *drv) 33 void module_add_driver(struct module *mod, struct device_driver *drv) 72 void module_remove_driver(struct device_driver *drv)
|
/linux-master/drivers/tty/serial/ |
H A D | serial_base.h | 14 struct device_driver; 37 int serial_base_driver_register(struct device_driver *driver); 38 void serial_base_driver_unregister(struct device_driver *driver);
|
H A D | serial_ctrl.c | 49 static struct device_driver serial_ctrl_driver = {
|
/linux-master/lib/kunit/ |
H A D | device.c | 23 KUNIT_DEFINE_ACTION_WRAPPER(driver_unregister_wrapper, driver_unregister, struct device_driver *); 34 const struct device_driver *driver; 79 * Create and register a KUnit-managed struct device_driver on the kunit_bus. 82 struct device_driver *kunit_driver_create(struct kunit *test, const char *name) 84 struct device_driver *driver; 110 const struct device_driver *drv) 146 * Create and register a new KUnit-managed device, using the user-supplied device_driver. 151 const struct device_driver *drv) 163 * Create and register a new KUnit-managed device, including a matching device_driver. 168 struct device_driver *dr [all...] |
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_bus.h | 24 struct device_driver driver; 32 static inline struct vchiq_driver *to_vchiq_driver(struct device_driver *d)
|
/linux-master/include/scsi/ |
H A D | scsi_driver.h | 13 struct device_driver gendrv; 26 extern int scsi_register_driver(struct device_driver *);
|
/linux-master/drivers/dma/idxd/ |
H A D | compat.c | 10 extern int device_driver_attach(struct device_driver *drv, struct device *dev); 17 static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count) 33 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count) 37 struct device_driver *alt_drv = NULL;
|
/linux-master/include/linux/ |
H A D | siox.h | 53 struct device_driver driver; 56 static inline struct siox_driver *to_siox_driver(struct device_driver *driver)
|
H A D | sunxi-rsb.h | 60 struct device_driver driver; 65 static inline struct sunxi_rsb_driver *to_sunxi_rsb_driver(struct device_driver *d)
|
H A D | auxiliary_bus.h | 187 struct device_driver driver; 206 static inline struct auxiliary_driver *to_auxiliary_drv(struct device_driver *drv)
|
H A D | of_device.h | 17 * @drv: the device_driver structure to test 21 const struct device_driver *drv) 46 const struct device_driver *drv)
|
H A D | ntb_transport.h | 54 struct device_driver driver;
|
/linux-master/include/drm/display/ |
H A D | drm_dp_aux_bus.h | 34 struct device_driver driver; 42 static inline struct dp_aux_ep_driver *to_dp_aux_ep_drv(struct device_driver *drv)
|
/linux-master/include/sound/ac97/ |
H A D | codec.h | 64 struct device_driver driver; 76 static inline struct ac97_codec_driver *to_ac97_driver(struct device_driver *d)
|
/linux-master/arch/s390/include/asm/ |
H A D | ccwgroup.h | 48 struct device_driver driver;
|
/linux-master/include/sound/ |
H A D | seq_device.h | 46 struct device_driver driver;
|
/linux-master/drivers/mmc/core/ |
H A D | bus.h | 34 struct device_driver drv;
|
/linux-master/drivers/vfio/mdev/ |
H A D | mdev_driver.c | 34 static int mdev_match(struct device *dev, struct device_driver *drv)
|
/linux-master/arch/mips/include/asm/ |
H A D | cdmm.h | 43 struct device_driver drv;
|