/drivers/base/ |
D | base.h | 51 struct device_driver *driver; 108 extern int bus_add_driver(struct device_driver *drv); 109 extern void bus_remove_driver(struct device_driver *drv); 111 extern void driver_detach(struct device_driver *drv); 112 extern int driver_probe_device(struct device_driver *drv, struct device *dev); 114 static inline int driver_match_device(struct device_driver *drv, in driver_match_device() 120 extern int driver_add_groups(struct device_driver *drv, 122 extern void driver_remove_groups(struct device_driver *drv, 138 extern void module_add_driver(struct module *mod, struct device_driver *drv); 139 extern void module_remove_driver(struct device_driver *drv); [all …]
|
D | driver.c | 43 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() 77 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() 102 int driver_create_file(struct device_driver *drv, in driver_create_file() 119 void driver_remove_file(struct device_driver *drv, in driver_remove_file() 127 int driver_add_groups(struct device_driver *drv, in driver_add_groups() 133 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups() 147 int driver_register(struct device_driver *drv) in driver_register() 150 struct device_driver *other; in driver_register() 187 void driver_unregister(struct device_driver *drv) in driver_unregister() 210 struct device_driver *driver_find(const char *name, struct bus_type *bus) in driver_find()
|
D | dd.c | 242 struct device_driver *drv = dev->driver; in driver_sysfs_remove() 278 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 389 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 406 static int __device_attach(struct device_driver *drv, void *data) in __device_attach() 459 struct device_driver *drv = data; in __driver_attach() 495 int driver_attach(struct device_driver *drv) in driver_attach() 507 struct device_driver *drv; in __device_release_driver() 562 void driver_detach(struct device_driver *drv) in driver_detach()
|
D | module.c | 14 static char *make_driver_name(struct device_driver *drv) in make_driver_name() 35 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver() 74 void module_remove_driver(struct device_driver *drv) in module_remove_driver()
|
D | bus.c | 180 static ssize_t unbind_store(struct device_driver *drv, const char *buf, in unbind_store() 207 static ssize_t bind_store(struct device_driver *drv, const char *buf, in bind_store() 419 static struct device_driver *next_driver(struct klist_iter *i) in next_driver() 450 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv() 451 void *data, int (*fn)(struct device_driver *, void *)) in bus_for_each_drv() argument 454 struct device_driver *drv; in bus_for_each_drv() 607 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files() 620 static void remove_bind_files(struct device_driver *drv) in remove_bind_files() 651 static ssize_t uevent_store(struct device_driver *drv, const char *buf, in uevent_store() 666 int bus_add_driver(struct device_driver *drv) in bus_add_driver() [all …]
|
D | platform.c | 826 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match() 883 struct device_driver *drv = dev->driver; in platform_pm_suspend() 901 struct device_driver *drv = dev->driver; in platform_pm_resume() 923 struct device_driver *drv = dev->driver; in platform_pm_freeze() 941 struct device_driver *drv = dev->driver; in platform_pm_thaw() 959 struct device_driver *drv = dev->driver; in platform_pm_poweroff() 977 struct device_driver *drv = dev->driver; in platform_pm_restore()
|
/drivers/infiniband/hw/nes/ |
D | nes.c | 844 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf) in nes_show_adapter() 863 static ssize_t nes_store_adapter(struct device_driver *ddp, in nes_store_adapter() 872 static ssize_t nes_show_ee_cmd(struct device_driver *ddp, char *buf) in nes_show_ee_cmd() 888 static ssize_t nes_store_ee_cmd(struct device_driver *ddp, in nes_store_ee_cmd() 909 static ssize_t nes_show_ee_data(struct device_driver *ddp, char *buf) in nes_show_ee_data() 926 static ssize_t nes_store_ee_data(struct device_driver *ddp, in nes_store_ee_data() 947 static ssize_t nes_show_flash_cmd(struct device_driver *ddp, char *buf) in nes_show_flash_cmd() 964 static ssize_t nes_store_flash_cmd(struct device_driver *ddp, in nes_store_flash_cmd() 985 static ssize_t nes_show_flash_data(struct device_driver *ddp, char *buf) in nes_show_flash_data() 1002 static ssize_t nes_store_flash_data(struct device_driver *ddp, in nes_store_flash_data() [all …]
|
/drivers/staging/dgnc/ |
D | dgnc_sysfs.c | 46 static ssize_t dgnc_driver_version_show(struct device_driver *ddp, char *buf) in dgnc_driver_version_show() 53 static ssize_t dgnc_driver_boards_show(struct device_driver *ddp, char *buf) in dgnc_driver_boards_show() 60 static ssize_t dgnc_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgnc_driver_maxboards_show() 66 static ssize_t dgnc_driver_debug_show(struct device_driver *ddp, char *buf) in dgnc_driver_debug_show() 71 static ssize_t dgnc_driver_debug_store(struct device_driver *ddp, const char *buf, size_t count) in dgnc_driver_debug_store() 83 static ssize_t dgnc_driver_rawreadok_show(struct device_driver *ddp, char *buf) in dgnc_driver_rawreadok_show() 88 static ssize_t dgnc_driver_rawreadok_store(struct device_driver *ddp, const char *buf, size_t count) in dgnc_driver_rawreadok_store() 100 static ssize_t dgnc_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgnc_driver_pollrate_show() 105 static ssize_t dgnc_driver_pollrate_store(struct device_driver *ddp, const char *buf, size_t count) in dgnc_driver_pollrate_store() 120 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_create_driver_sysfiles() [all …]
|
/drivers/scsi/ |
D | scsi_debug.c | 339 static struct device_driver sdebug_driverfs_driver = { 3295 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show() 3300 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store() 3328 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show() 3334 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store() 3362 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show() 3367 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store() 3391 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show() 3395 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store() 3408 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show() [all …]
|
/drivers/pci/pcie/ |
D | portdrv_bus.c | 18 static int pcie_port_bus_match(struct device *dev, struct device_driver *drv); 26 static int pcie_port_bus_match(struct device *dev, struct device_driver *drv) in pcie_port_bus_match()
|
/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 186 struct device_driver *drv = data; in is_device_connecting() 226 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device() 231 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device() 240 struct device_driver *drv = data; in print_device_status() 298 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
|
D | xenbus_probe.h | 59 extern int xenbus_match(struct device *_dev, struct device_driver *_drv);
|
/drivers/usb/serial/ |
D | bus.c | 20 struct device_driver *drv) in usb_serial_device_match() 141 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() 156 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
|
/drivers/usb/usbip/ |
D | stub_main.c | 137 static ssize_t show_match_busid(struct device_driver *drv, char *buf) in show_match_busid() 152 static ssize_t store_match_busid(struct device_driver *dev, const char *buf, in store_match_busid() 187 static ssize_t rebind_store(struct device_driver *dev, const char *buf, in rebind_store()
|
/drivers/pci/ |
D | pci-driver.c | 99 static ssize_t store_new_id(struct device_driver *driver, const char *buf, in store_new_id() 167 static ssize_t store_remove_id(struct device_driver *driver, const char *buf, in store_remove_id() 655 struct device_driver *drv = dev->driver; in pci_pm_prepare() 787 struct device_driver *drv = dev->driver; in pci_pm_resume_noirq() 887 struct device_driver *drv = dev->driver; in pci_pm_freeze_noirq() 915 struct device_driver *drv = dev->driver; in pci_pm_thaw_noirq() 1006 struct device_driver *drv = dev->driver; in pci_pm_poweroff_noirq() 1046 struct device_driver *drv = dev->driver; in pci_pm_restore_noirq() 1325 static int pci_bus_match(struct device *dev, struct device_driver *drv) in pci_bus_match()
|
/drivers/xen/xen-pciback/ |
D | pci_stub.c | 1114 static ssize_t pcistub_slot_add(struct device_driver *drv, const char *buf, in pcistub_slot_add() 1133 static ssize_t pcistub_slot_remove(struct device_driver *drv, const char *buf, in pcistub_slot_remove() 1152 static ssize_t pcistub_slot_show(struct device_driver *drv, char *buf) in pcistub_slot_show() 1175 static ssize_t pcistub_irq_handler_show(struct device_driver *drv, char *buf) in pcistub_irq_handler_show() 1204 static ssize_t pcistub_irq_handler_switch(struct device_driver *drv, in pcistub_irq_handler_switch() 1246 static ssize_t pcistub_quirk_add(struct device_driver *drv, const char *buf, in pcistub_quirk_add() 1265 static ssize_t pcistub_quirk_show(struct device_driver *drv, char *buf) in pcistub_quirk_show() 1311 static ssize_t permissive_add(struct device_driver *drv, const char *buf, in permissive_add() 1351 static ssize_t permissive_show(struct device_driver *drv, char *buf) in permissive_show()
|
/drivers/w1/ |
D | w1.h | 254 struct device_driver *driver; 329 extern struct device_driver w1_master_driver;
|
/drivers/net/caif/ |
D | caif_spi.c | 292 static ssize_t show_up_head_align(struct device_driver *driver, char *buf) in show_up_head_align() 300 static ssize_t show_up_tail_align(struct device_driver *driver, char *buf) in show_up_tail_align() 308 static ssize_t show_down_head_align(struct device_driver *driver, char *buf) in show_down_head_align() 316 static ssize_t show_down_tail_align(struct device_driver *driver, char *buf) in show_down_tail_align() 324 static ssize_t show_frame_align(struct device_driver *driver, char *buf) in show_frame_align()
|
/drivers/bcma/ |
D | main.c | 24 static int bcma_bus_match(struct device *dev, struct device_driver *drv); 466 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend() 487 struct device_driver *drv = core->dev.driver; in bcma_bus_resume() 515 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match()
|
/drivers/isdn/gigaset/ |
D | ser-gigaset.c | 52 static struct platform_driver device_driver = { variable 780 rc = platform_driver_register(&device_driver); in ser_gigaset_init() 806 platform_driver_unregister(&device_driver); in ser_gigaset_init() 825 platform_driver_unregister(&device_driver); in ser_gigaset_exit()
|
/drivers/input/serio/ |
D | serio.c | 403 struct device_driver *drv; in drvctl_store() 753 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show() 760 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show() 766 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store() 902 static int serio_bus_match(struct device *dev, struct device_driver *drv) in serio_bus_match()
|
/drivers/base/power/ |
D | generic_ops.c | 62 struct device_driver *drv = dev->driver; in pm_generic_prepare() 295 struct device_driver *drv = dev->driver; in pm_generic_complete()
|
/drivers/net/wimax/i2400m/ |
D | i2400m.h | 795 int i2400m_sysfs_setup(struct device_driver *); 796 void i2400m_sysfs_release(struct device_driver *);
|
/drivers/tc/ |
D | tc-driver.c | 86 static int tc_bus_match(struct device *dev, struct device_driver *drv) in tc_bus_match()
|
/drivers/staging/unisys/virtpci/ |
D | virtpci.h | 92 struct device_driver core_driver; /* VIRTPCI core fills this in */
|