/linux/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; 82 struct device_driver *kunit_driver_create(struct kunit *test, const char *name) in kunit_driver_create() 84 struct device_driver *driver; in kunit_driver_create() 110 const struct device_driver *drv) in kunit_device_register_internal() 151 const struct device_driver *drv) in kunit_device_register_with_driver() 168 struct device_driver *drv; in kunit_device_register() 192 const struct device_driver *driver = to_kunit_device(dev)->driver; in kunit_device_unregister()
|
/linux/include/kunit/ |
H A D | device.h | 19 struct device_driver; 31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name); 65 const struct device_driver *drv);
|
/linux/drivers/base/ |
H A D | dd.c | 470 struct device_driver *drv = dev->driver; in driver_sysfs_remove() 572 static int call_driver_probe(struct device *dev, const struct device_driver *drv) in call_driver_probe() 603 static int really_probe(struct device *dev, const struct device_driver *drv) in really_probe() 633 dev->driver = (struct device_driver *)drv; in really_probe() 732 static int really_probe_debug(struct device *dev, const struct device_driver *drv) in really_probe_debug() 779 static int __driver_probe_device(const struct device_driver *drv, struct device *dev) in __driver_probe_device() 824 static int driver_probe_device(const struct device_driver *drv, struct device *dev) in driver_probe_device() 868 static bool driver_allows_async_probing(const struct device_driver *drv) in driver_allows_async_probing() 921 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver() 1122 int device_driver_attach(const struct device_driver *drv, struct device *dev) in device_driver_attach() [all …]
|
H A D | module.c | 12 static char *make_driver_name(const struct device_driver *drv) in make_driver_name() 33 int module_add_driver(struct module *mod, const struct device_driver *drv) in module_add_driver() 96 void module_remove_driver(const struct device_driver *drv) in module_remove_driver()
|
/linux/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_base_bus.c | 32 static int serial_base_match(struct device *dev, const struct device_driver *drv) in serial_base_match() 50 int serial_base_driver_register(struct device_driver *driver) in serial_base_driver_register() 57 void serial_base_driver_unregister(struct device_driver *driver) in serial_base_driver_unregister()
|
/linux/Documentation/driver-api/driver-model/ |
H A D | driver.rst | 5 See the kerneldoc for the struct device_driver. 12 device_driver represents the driver as a whole (not a particular 26 As stated above, struct device_driver objects are statically 31 static struct device_driver eepro100_driver = { 51 Bus-specific drivers should include a generic struct device_driver in 56 struct device_driver driver; 82 int driver_register(struct device_driver *drv); 87 struct device_driver object. 94 struct device_driver object, including the reference count and the 120 int driver_for_each_dev(struct device_driver *drv, void *data, [all …]
|
/linux/drivers/net/phy/ |
H A D | mdio_device.c | 38 int mdio_device_bus_match(struct device *dev, const struct device_driver *drv) in mdio_device_bus_match() 157 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() 178 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() 193 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown()
|
/linux/drivers/dma/idxd/ |
H A D | compat.c | 16 static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count) in unbind_store() 32 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count) in bind_store() 36 struct device_driver *alt_drv = NULL; in bind_store()
|
H A D | bus.c | 13 struct device_driver *drv = &idxd_drv->drv; in __idxd_driver_register() 36 const struct device_driver *drv) in idxd_config_bus_match()
|
/linux/include/scsi/ |
H A D | scsi_driver.h | 13 struct device_driver gendrv; 28 int __scsi_register_driver(struct device_driver *, struct module *);
|
/linux/include/linux/ |
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) in to_sunxi_rsb_driver()
|
H A D | siox.h | 53 struct device_driver driver; 56 static inline struct siox_driver *to_siox_driver(struct device_driver *driver) in to_siox_driver()
|
H A D | of_device.h | 21 const struct device_driver *drv) in of_driver_match_device() 46 const struct device_driver *drv) in of_driver_match_device()
|
H A D | spmi.h | 141 struct device_driver driver; 147 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver()
|
/linux/drivers/usb/serial/ |
H A D | bus.c | 17 const struct device_driver *drv) in usb_serial_device_match() 106 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() 121 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
|
/linux/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) in to_dp_aux_ep_drv()
|
/linux/drivers/xen/xenbus/ |
H A D | xenbus_probe_frontend.c | 200 struct device_driver *drv = data; in is_device_connecting() 232 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device() 237 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device() 246 struct device_driver *drv = data; in print_device_status() 304 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
|
/linux/Documentation/translations/zh_CN/filesystems/ |
H A D | sysfs.txt | 353 ssize_t (*show)(struct device_driver *, char * buf); 354 ssize_t (*store)(struct device_driver *, const char * buf, 364 int driver_create_file(struct device_driver *, const struct driver_attribute *); 365 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
|
/linux/Documentation/translations/zh_TW/filesystems/ |
H A D | sysfs.txt | 356 ssize_t (*show)(struct device_driver *, char * buf); 357 ssize_t (*store)(struct device_driver *, const char * buf, 367 int driver_create_file(struct device_driver *, const struct driver_attribute *); 368 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
|
/linux/drivers/scsi/ |
H A D | scsi_debug.c | 946 static struct device_driver sdebug_driverfs_driver = { 6872 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show() 6879 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store() 6913 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show() 6919 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store() 6956 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show() 6961 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store() 6986 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show() 6990 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store() 7009 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show() [all …]
|
/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 147 struct usbip_host_driver device_driver = { variable 148 .edev_list = LIST_HEAD_INIT(device_driver.edev_list),
|
H A D | usbip_device_driver.h | 20 extern struct usbip_host_driver device_driver;
|
/linux/Documentation/driver-api/ |
H A D | infrastructure.rst | 18 :identifiers: probe_type device_driver 27 :no-identifiers: probe_type device_driver
|
/linux/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 1235 static ssize_t new_slot_store(struct device_driver *drv, const char *buf, in new_slot_store() 1254 static ssize_t remove_slot_store(struct device_driver *drv, const char *buf, in remove_slot_store() 1273 static ssize_t slots_show(struct device_driver *drv, char *buf) in slots_show() 1296 static ssize_t irq_handlers_show(struct device_driver *drv, char *buf) in irq_handlers_show() 1325 static ssize_t irq_handler_state_store(struct device_driver *drv, in irq_handler_state_store() 1365 static ssize_t quirks_store(struct device_driver *drv, const char *buf, in quirks_store() 1384 static ssize_t quirks_show(struct device_driver *drv, char *buf) in quirks_show() 1429 static ssize_t permissive_store(struct device_driver *drv, const char *buf, in permissive_store() 1469 static ssize_t permissive_show(struct device_driver *drv, char *buf) in permissive_show() 1493 static ssize_t allow_interrupt_control_store(struct device_driver *drv, in allow_interrupt_control_store() [all …]
|