Home
last modified time | relevance | path

Searched refs:device_driver (Results 1 – 200 of 263) sorted by relevance

12

/linux-4.4.14/drivers/base/
Dbase.h51 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()
119 extern bool driver_allows_async_probing(struct device_driver *drv);
121 extern int driver_add_groups(struct device_driver *drv,
123 extern void driver_remove_groups(struct device_driver *drv,
140 extern void module_add_driver(struct module *mod, struct device_driver *drv);
[all …]
Ddriver.c43 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()
120 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
128 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
134 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
148 int driver_register(struct device_driver *drv) in driver_register()
151 struct device_driver *other; in driver_register()
188 void driver_unregister(struct device_driver *drv) in driver_unregister()
211 struct device_driver *driver_find(const char *name, struct bus_type *bus) in driver_find()
Ddd.c242 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()
415 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
438 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
488 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
623 struct device_driver *drv = data; in __driver_attach()
659 int driver_attach(struct device_driver *drv) in driver_attach()
671 struct device_driver *drv; in __device_release_driver()
732 void driver_detach(struct device_driver *drv) in driver_detach()
Dmodule.c14 static char *make_driver_name(struct device_driver *drv) in make_driver_name()
33 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver()
72 void module_remove_driver(struct device_driver *drv) in module_remove_driver()
Dbus.c181 static ssize_t unbind_store(struct device_driver *drv, const char *buf, in unbind_store()
208 static ssize_t bind_store(struct device_driver *drv, const char *buf, in bind_store()
420 static struct device_driver *next_driver(struct klist_iter *i) in next_driver()
451 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv()
452 void *data, int (*fn)(struct device_driver *, void *)) in bus_for_each_drv() argument
455 struct device_driver *drv; in bus_for_each_drv()
605 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files()
618 static void remove_bind_files(struct device_driver *drv) in remove_bind_files()
649 static ssize_t uevent_store(struct device_driver *drv, const char *buf, in uevent_store()
662 struct device_driver *drv = _drv; in driver_attach_async()
[all …]
Dplatform.c898 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
955 struct device_driver *drv = dev->driver; in platform_pm_suspend()
973 struct device_driver *drv = dev->driver; in platform_pm_resume()
995 struct device_driver *drv = dev->driver; in platform_pm_freeze()
1013 struct device_driver *drv = dev->driver; in platform_pm_thaw()
1031 struct device_driver *drv = dev->driver; in platform_pm_poweroff()
1049 struct device_driver *drv = dev->driver; in platform_pm_restore()
Disa.c25 static int isa_bus_match(struct device *dev, struct device_driver *driver) in isa_bus_match()
Dcpu.c25 static int cpu_subsys_match(struct device *dev, struct device_driver *drv) in cpu_subsys_match()
/linux-4.4.14/arch/powerpc/kernel/
Dibmebus.c330 static int ibmebus_bus_bus_match(struct device *dev, struct device_driver *drv) in ibmebus_bus_bus_match()
443 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_prepare()
454 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_complete()
464 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_suspend()
482 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_suspend_noirq()
498 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_resume()
516 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_resume_noirq()
543 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_freeze()
561 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_freeze_noirq()
577 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_thaw()
[all …]
/linux-4.4.14/Documentation/driver-model/
Ddriver.txt4 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;
80 int driver_register(struct device_driver * drv);
85 struct device_driver object.
92 struct device_driver object, including the reference count and the
118 int driver_for_each_dev(struct device_driver * drv, void * data,
[all …]
Dporting.txt228 struct device_driver is a simple driver structure that contains a set
232 - Embed a struct device_driver in the bus-specific driver.
238 struct device_driver driver;
281 struct device_driver defines a set of operations that the driver model
341 int (*match)(struct device * dev, struct device_driver * drv);
422 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
423 void * data, int (*fn)(struct device_driver *, void *));
439 Some of the fields in struct device and struct device_driver duplicate
Dbus.txt74 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
75 void * data, int (*fn)(struct device_driver *, void *));
Dclass.txt76 the struct device_driver::devclass field.
Dbinding.txt34 int match(struct device * dev, struct device_driver * drv);
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes.c845 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf) in nes_show_adapter()
864 static ssize_t nes_store_adapter(struct device_driver *ddp, in nes_store_adapter()
873 static ssize_t nes_show_ee_cmd(struct device_driver *ddp, char *buf) in nes_show_ee_cmd()
889 static ssize_t nes_store_ee_cmd(struct device_driver *ddp, in nes_store_ee_cmd()
910 static ssize_t nes_show_ee_data(struct device_driver *ddp, char *buf) in nes_show_ee_data()
927 static ssize_t nes_store_ee_data(struct device_driver *ddp, in nes_store_ee_data()
948 static ssize_t nes_show_flash_cmd(struct device_driver *ddp, char *buf) in nes_show_flash_cmd()
965 static ssize_t nes_store_flash_cmd(struct device_driver *ddp, in nes_store_flash_cmd()
986 static ssize_t nes_show_flash_data(struct device_driver *ddp, char *buf) in nes_show_flash_data()
1003 static ssize_t nes_store_flash_data(struct device_driver *ddp, in nes_store_flash_data()
[all …]
/linux-4.4.14/include/scsi/
Dscsi_driver.h12 struct device_driver gendrv;
23 extern int scsi_register_driver(struct device_driver *);
Dscsi_transport_iscsi.h477 struct device_driver *drv);
/linux-4.4.14/drivers/pci/pcie/
Dportdrv_bus.c18 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()
/linux-4.4.14/include/linux/
Ddevice.h34 struct device_driver;
114 int (*match)(struct device *dev, struct device_driver *drv);
162 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
163 void *data, int (*fn)(struct device_driver *, void *));
259 struct device_driver { struct
285 extern int __must_check driver_register(struct device_driver *drv); argument
286 extern void driver_unregister(struct device_driver *drv);
288 extern struct device_driver *driver_find(const char *name,
298 ssize_t (*show)(struct device_driver *driver, char *buf);
299 ssize_t (*store)(struct device_driver *driver, const char *buf,
[all …]
Dsunxi-rsb.h60 struct device_driver driver;
65 static inline struct sunxi_rsb_driver *to_sunxi_rsb_driver(struct device_driver *d) in to_sunxi_rsb_driver()
Dmic_bus.h66 struct device_driver driver;
106 static inline struct mbus_driver *drv_to_mbus(struct device_driver *drv) in drv_to_mbus()
Dof_device.h24 const struct device_driver *drv) in of_driver_match_device()
62 const struct device_driver *drv) in of_driver_match_device()
Dnd.h20 struct device_driver drv;
27 struct device_driver *drv) in to_nd_device_driver()
Dvirtio.h141 struct device_driver driver;
157 static inline struct virtio_driver *drv_to_virtio(struct device_driver *drv) in drv_to_virtio()
Dvlynq.h82 struct device_driver driver;
90 static inline struct vlynq_driver *to_vlynq_driver(struct device_driver *drv) in to_vlynq_driver()
Dspmi.h146 struct device_driver driver;
151 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver()
Disa.h19 struct device_driver driver;
Dfmc.h77 struct device_driver driver;
231 extern int fmc_match(struct device *dev, struct device_driver *drv);
Dpcieport_if.h60 struct device_driver driver;
Dntb_transport.h54 struct device_driver driver;
Deisa.h59 struct device_driver driver;
Dmei_cl_bus.h60 struct device_driver driver;
Dhost1x.h254 struct device_driver driver;
265 to_host1x_driver(struct device_driver *driver) in to_host1x_driver()
Dtc.h107 struct device_driver driver;
Dsuperhyway.h54 struct device_driver drv;
Dmaple.h85 struct device_driver drv;
Dmcb.h84 struct device_driver driver;
Dzorro.h60 struct device_driver driver;
Dserio.h69 struct device_driver driver;
Dtifm.h111 struct device_driver driver;
Drpmsg.h163 struct device_driver drv;
Dipack.h133 struct device_driver driver;
Dvme.h117 struct device_driver driver;
Dgameport.h61 struct device_driver driver;
Ddio.h92 struct device_driver driver;
Dmemstick.h306 struct device_driver driver;
Dplatform_device.h180 struct device_driver driver;
Dhyperv.h949 struct device_driver driver;
976 static inline struct hv_driver *drv_to_hv_drv(struct device_driver *d) in drv_to_hv_drv()
Dacpi.h463 const struct device_driver *drv);
587 const struct device_driver *drv) in acpi_driver_match_device()
Drio.h396 struct device_driver driver;
Dfirewire.h254 struct device_driver driver;
Di2c.h191 struct device_driver driver;
Dusb.h1011 struct device_driver *driver,
1022 struct device_driver driver;
Dntb.h310 struct device_driver drv;
Dparport.h263 struct device_driver driver;
Dphy.h592 struct device_driver driver;
Dpnp.h387 struct device_driver driver;
/linux-4.4.14/drivers/usb/serial/
Dbus.c20 struct device_driver *drv) in usb_serial_device_match()
125 static ssize_t new_id_store(struct device_driver *driver, in new_id_store()
140 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
/linux-4.4.14/drivers/misc/mic/bus/
Dcosm_bus.h88 struct device_driver driver;
130 static inline struct cosm_driver *drv_to_cosm(struct device_driver *drv) in drv_to_cosm()
Dscif_bus.h75 struct device_driver driver;
129 static inline struct scif_driver *drv_to_scif(struct device_driver *drv) in drv_to_scif()
Dmic_bus.c74 static int mbus_dev_match(struct device *dv, struct device_driver *dr) in mbus_dev_match()
Dscif_bus.c73 static int scif_dev_match(struct device *dv, struct device_driver *dr) in scif_dev_match()
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_probe_frontend.c186 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()
Dxenbus_probe.h59 extern int xenbus_match(struct device *_dev, struct device_driver *_drv);
/linux-4.4.14/arch/powerpc/include/asm/
Dvio.h126 struct device_driver driver;
162 static inline struct vio_driver *to_vio_driver(struct device_driver *drv) in to_vio_driver()
Dps3.h391 struct device_driver core;
404 struct device_driver *_drv) in ps3_drv_to_system_bus_drv()
Dmacio.h136 struct device_driver driver;
/linux-4.4.14/drivers/scsi/
Dscsi_debug.c651 static struct device_driver sdebug_driverfs_driver = {
4231 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show()
4236 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store()
4264 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show()
4270 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store()
4298 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show()
4303 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store()
4337 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show()
4341 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store()
4354 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show()
[all …]
Dscsi_sysfs.c448 static int scsi_bus_match(struct device *dev, struct device_driver *gendrv) in scsi_bus_match()
1217 int scsi_register_driver(struct device_driver *drv) in scsi_register_driver()
/linux-4.4.14/drivers/usb/usbip/
Dstub_main.c137 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()
/linux-4.4.14/Documentation/zh_CN/filesystems/
Dsysfs.txt352 ssize_t (*show)(struct device_driver *, char * buf);
353 ssize_t (*store)(struct device_driver *, const char * buf,
363 int driver_create_file(struct device_driver *, const struct driver_attribute *);
364 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_sysfs.c28 static ssize_t dgnc_driver_version_show(struct device_driver *ddp, char *buf) in dgnc_driver_version_show()
34 static ssize_t dgnc_driver_boards_show(struct device_driver *ddp, char *buf) in dgnc_driver_boards_show()
40 static ssize_t dgnc_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgnc_driver_maxboards_show()
46 static ssize_t dgnc_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgnc_driver_pollrate_show()
51 static ssize_t dgnc_driver_pollrate_store(struct device_driver *ddp, in dgnc_driver_pollrate_store()
74 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_create_driver_sysfiles()
86 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_remove_driver_sysfiles()
/linux-4.4.14/drivers/pci/
Dpci-driver.c99 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()
668 struct device_driver *drv = dev->driver; in pci_pm_prepare()
807 struct device_driver *drv = dev->driver; in pci_pm_resume_noirq()
907 struct device_driver *drv = dev->driver; in pci_pm_freeze_noirq()
935 struct device_driver *drv = dev->driver; in pci_pm_thaw_noirq()
1020 struct device_driver *drv = dev->driver; in pci_pm_poweroff_noirq()
1060 struct device_driver *drv = dev->driver; in pci_pm_restore_noirq()
1346 static int pci_bus_match(struct device *dev, struct device_driver *drv) in pci_bus_match()
/linux-4.4.14/drivers/w1/
Dw1.h254 struct device_driver *driver;
329 extern struct device_driver w1_master_driver;
Dw1_int.c42 struct device_driver *driver, in w1_alloc_dev()
Dw1.c76 static int w1_master_match(struct device *dev, struct device_driver *drv) in w1_master_match()
196 struct device_driver w1_master_driver = {
210 static struct device_driver w1_slave_driver = {
/linux-4.4.14/arch/arm/mach-integrator/
Dlm.h10 struct device_driver drv;
Dlm.c20 static int lm_match(struct device *dev, struct device_driver *drv) in lm_match()
/linux-4.4.14/include/xen/
Dxenbus.h103 struct device_driver driver;
108 static inline struct xenbus_driver *to_xenbus_driver(struct device_driver *drv) in to_xenbus_driver()
/linux-4.4.14/include/drm/
Ddrm_mipi_dsi.h226 struct device_driver driver;
233 to_mipi_dsi_driver(struct device_driver *driver) in to_mipi_dsi_driver()
/linux-4.4.14/include/linux/soc/qcom/
Dsmd.h40 struct device_driver driver;
/linux-4.4.14/include/linux/ulpi/
Ddriver.h45 struct device_driver driver;
/linux-4.4.14/arch/mips/include/asm/
Dcdmm.h43 struct device_driver drv;
Dgio_device.h30 struct device_driver driver;
/linux-4.4.14/include/sound/
Dseq_device.h60 struct device_driver driver;
Dhdaudio.h182 struct device_driver driver;
/linux-4.4.14/arch/s390/include/asm/
Dccwgroup.h57 struct device_driver driver;
Deadm.h104 struct device_driver drv;
Dccwdev.h149 struct device_driver driver;
/linux-4.4.14/drivers/tc/
Dtc-driver.c86 static int tc_bus_match(struct device *dev, struct device_driver *drv) in tc_bus_match()
/linux-4.4.14/drivers/net/caif/
Dcaif_spi.c292 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()
/linux-4.4.14/arch/parisc/include/asm/
Dparisc-device.h38 struct device_driver drv;
/linux-4.4.14/include/linux/mfd/
Dmcp.h50 struct device_driver drv;
/linux-4.4.14/drivers/xen/xen-pciback/
Dpci_stub.c1130 static ssize_t pcistub_slot_add(struct device_driver *drv, const char *buf, in pcistub_slot_add()
1149 static ssize_t pcistub_slot_remove(struct device_driver *drv, const char *buf, in pcistub_slot_remove()
1168 static ssize_t pcistub_slot_show(struct device_driver *drv, char *buf) in pcistub_slot_show()
1191 static ssize_t pcistub_irq_handler_show(struct device_driver *drv, char *buf) in pcistub_irq_handler_show()
1220 static ssize_t pcistub_irq_handler_switch(struct device_driver *drv, in pcistub_irq_handler_switch()
1262 static ssize_t pcistub_quirk_add(struct device_driver *drv, const char *buf, in pcistub_quirk_add()
1281 static ssize_t pcistub_quirk_show(struct device_driver *drv, char *buf) in pcistub_quirk_show()
1327 static ssize_t permissive_add(struct device_driver *drv, const char *buf, in permissive_add()
1367 static ssize_t permissive_show(struct device_driver *drv, char *buf) in permissive_show()
/linux-4.4.14/sound/
Dac97_bus.c87 static int ac97_bus_match(struct device *dev, struct device_driver *drv) in ac97_bus_match()
/linux-4.4.14/sound/hda/
Dhda_bus_type.c48 static int hda_bus_match(struct device *dev, struct device_driver *drv) in hda_bus_match()
/linux-4.4.14/arch/ia64/include/asm/sn/
Dtiocx.h37 struct device_driver driver;
/linux-4.4.14/drivers/isdn/gigaset/
Dser-gigaset.c52 static struct platform_driver device_driver = { variable
755 rc = platform_driver_register(&device_driver); in ser_gigaset_init()
781 platform_driver_unregister(&device_driver); in ser_gigaset_init()
800 platform_driver_unregister(&device_driver); in ser_gigaset_exit()
/linux-4.4.14/drivers/base/power/
Dgeneric_ops.c63 struct device_driver *drv = dev->driver; in pm_generic_prepare()
296 struct device_driver *drv = dev->driver; in pm_generic_complete()
/linux-4.4.14/drivers/bcma/
Dmain.c28 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
570 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend()
591 struct device_driver *drv = core->dev.driver; in bcma_bus_resume()
619 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match()
/linux-4.4.14/drivers/dio/
Ddio-driver.c113 static int dio_bus_match(struct device *dev, struct device_driver *drv) in dio_bus_match()
/linux-4.4.14/drivers/net/wimax/i2400m/
Di2400m.h795 int i2400m_sysfs_setup(struct device_driver *);
796 void i2400m_sysfs_release(struct device_driver *);
/linux-4.4.14/drivers/input/serio/
Dserio.c401 struct device_driver *drv; in drvctl_store()
751 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
758 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show()
764 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store()
900 static int serio_bus_match(struct device *dev, struct device_driver *drv) in serio_bus_match()
/linux-4.4.14/include/linux/uwb/
Dumc.h93 struct device_driver driver;
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc.h39 struct device_driver driver;
/linux-4.4.14/sound/aoa/soundbus/
Dsoundbus.h193 struct device_driver driver;
/linux-4.4.14/drivers/s390/cio/
Dcss.h83 struct device_driver drv;
Dscm.c56 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()
Dcss.c1036 static int css_settle(struct device_driver *drv, void *unused) in css_settle()
1126 static int css_bus_match(struct device *dev, struct device_driver *drv) in css_bus_match()
/linux-4.4.14/drivers/zorro/
Dzorro-driver.c126 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/linux-4.4.14/drivers/fmc/
Dfmc-match.c22 int fmc_match(struct device *dev, struct device_driver *drv) in fmc_match()
/linux-4.4.14/drivers/usb/core/
Ddriver.c41 struct device_driver *driver, in usb_store_new_id()
128 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
135 static ssize_t new_id_store(struct device_driver *driver, in new_id_store()
147 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, in remove_id_store()
175 static ssize_t remove_id_show(struct device_driver *driver, char *buf) in remove_id_show()
798 static int usb_device_match(struct device *dev, struct device_driver *drv) in usb_device_match()
Dusb.h144 static inline int is_usb_device_driver(struct device_driver *drv) in is_usb_device_driver()
Dport.c186 static struct device_driver usb_port_driver = {
/linux-4.4.14/drivers/hwtracing/intel_th/
Dintel_th.h122 struct device_driver driver;
Dcore.c33 static int intel_th_match(struct device *dev, struct device_driver *driver) in intel_th_match()
/linux-4.4.14/drivers/mfd/
Ducb1400_core.c142 static struct device_driver ucb1400_core_driver = {
Dmcp-core.c26 static int mcp_bus_match(struct device *dev, struct device_driver *drv) in mcp_bus_match()
/linux-4.4.14/drivers/s390/crypto/
Dap_bus.h164 struct device_driver driver;
Dap_bus.c1180 static int ap_bus_match(struct device *dev, struct device_driver *drv) in ap_bus_match()
1388 struct device_driver *drv = &ap_drv->driver; in ap_driver_register()
/linux-4.4.14/include/linux/mmc/
Dsdio_func.h84 struct device_driver drv;
Dcard.h523 struct device_driver drv;
/linux-4.4.14/drivers/input/gameport/
Dgameport.c473 struct device_driver *drv; in drvctl_store()
684 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
786 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match()
/linux-4.4.14/arch/arm/include/asm/
Decard.h207 struct device_driver drv;
/linux-4.4.14/arch/arm/include/asm/hardware/
Dlocomo.h188 struct device_driver drv;
Dsa1111.h429 struct device_driver drv;
/linux-4.4.14/arch/sparc/include/asm/
Dvio.h348 struct device_driver driver;
465 static inline struct vio_driver *to_vio_driver(struct device_driver *drv) in to_vio_driver()
/linux-4.4.14/Documentation/filesystems/
Dsysfs.txt362 ssize_t (*show)(struct device_driver *, char * buf);
363 ssize_t (*store)(struct device_driver *, const char * buf,
373 int driver_create_file(struct device_driver *, const struct driver_attribute *);
374 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-4.4.14/drivers/rapidio/
Drio-driver.c183 static int rio_match_bus(struct device *dev, struct device_driver *drv) in rio_match_bus()
/linux-4.4.14/include/linux/amba/
Dbus.h40 struct device_driver drv;
/linux-4.4.14/drivers/s390/net/
Dsmsgiucv_app.c152 struct device_driver *smsgiucv_drv; in smsgiucv_app_init()
Dsmsgiucv.c183 static struct device_driver smsg_driver = {
Dnetiucv.c145 static struct device_driver netiucv_driver = {
2044 static ssize_t conn_write(struct device_driver *drv, in conn_write()
2109 static ssize_t remove_write (struct device_driver *drv, in remove_write()
/linux-4.4.14/include/pcmcia/
Dds.h60 struct device_driver drv;
/linux-4.4.14/drivers/uwb/
Dumc-bus.c120 static int umc_bus_match(struct device *dev, struct device_driver *drv) in umc_bus_match()
/linux-4.4.14/drivers/net/phy/
Dmdio_bus.c486 static int mdio_bus_match(struct device *dev, struct device_driver *drv) in mdio_bus_match()
520 struct device_driver *drv = phydev->dev.driver; in mdio_bus_phy_may_suspend()
/linux-4.4.14/include/linux/spi/
Dspi.h249 struct device_driver driver;
252 static inline struct spi_driver *to_spi_driver(struct device_driver *drv) in to_spi_driver()
/linux-4.4.14/drivers/staging/unisys/include/
Dvisorbus.h112 struct device_driver driver;
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-gpio.c43 static int bttv_sub_bus_match(struct device *dev, struct device_driver *drv) in bttv_sub_bus_match()
Dbttv.h340 struct device_driver drv;
/linux-4.4.14/drivers/sh/superhyway/
Dsuperhyway.c194 static int superhyway_bus_match(struct device *dev, struct device_driver *drv) in superhyway_bus_match()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-alsa-main.c282 struct device_driver *drv; in cx18_alsa_exit()
/linux-4.4.14/drivers/misc/sgi-xp/
Dxp_main.c23 struct device_driver xp_dbg_name = {
Dxpnet.c132 struct device_driver xpnet_dbg_name = {
/linux-4.4.14/sound/core/seq/
Dseq_device.c58 static int snd_seq_bus_match(struct device *dev, struct device_driver *drv) in snd_seq_bus_match()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-main.c300 struct device_driver *drv; in ivtv_alsa_exit()
Divtvfb.c1273 struct device_driver *drv; in ivtvfb_init()
1296 struct device_driver *drv; in ivtvfb_cleanup()
/linux-4.4.14/drivers/usb/common/
Dulpi.c36 static int ulpi_match(struct device *dev, struct device_driver *driver) in ulpi_match()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorbus_main.c43 static int visorbus_match(struct device *xdev, struct device_driver *xdrv);
182 visorbus_match(struct device *xdev, struct device_driver *xdrv) in visorbus_match()
487 struct device_driver *xdrv = dev->driver; in typename_show()
694 DRIVER_ATTR_version(struct device_driver *xdrv, char *buf) in DRIVER_ATTR_version()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_drv.c137 struct device_driver *drv = &drivers[i]->driver; in vc4_match_add_drivers()
/linux-4.4.14/include/linux/hsi/
Dhsi.h173 struct device_driver driver;
/linux-4.4.14/drivers/acpi/
Dprocessor_driver.c61 static struct device_driver acpi_processor_driver = {
Dbus.c682 const struct device_driver *drv) in acpi_driver_match_device()
739 static int acpi_bus_match(struct device *dev, struct device_driver *drv) in acpi_bus_match()
/linux-4.4.14/drivers/s390/char/
Dsclp.c1132 static ssize_t sclp_show_console_pages(struct device_driver *dev, char *buf) in sclp_show_console_pages()
1139 static ssize_t sclp_show_con_drop(struct device_driver *dev, char *buf) in sclp_show_con_drop()
1146 static ssize_t sclp_show_console_full(struct device_driver *dev, char *buf) in sclp_show_console_full()
Dvmlogrdr.c646 static ssize_t vmlogrdr_recording_status_show(struct device_driver *driver, in vmlogrdr_recording_status_show()
710 static struct device_driver vmlogrdr_driver = {
Dmonreader.c539 static struct device_driver monreader_driver = {
/linux-4.4.14/drivers/platform/x86/
Dthinkpad_acpi.c1433 struct device_driver *drv, in tpacpi_driver_interface_version_show()
1443 static ssize_t tpacpi_driver_debug_show(struct device_driver *drv, in tpacpi_driver_debug_show()
1449 static ssize_t tpacpi_driver_debug_store(struct device_driver *drv, in tpacpi_driver_debug_store()
1466 static ssize_t tpacpi_driver_version_show(struct device_driver *drv, in tpacpi_driver_version_show()
1481 static ssize_t tpacpi_driver_wlsw_emulstate_show(struct device_driver *drv, in tpacpi_driver_wlsw_emulstate_show()
1487 static ssize_t tpacpi_driver_wlsw_emulstate_store(struct device_driver *drv, in tpacpi_driver_wlsw_emulstate_store()
1509 struct device_driver *drv, in tpacpi_driver_bluetooth_emulstate_show()
1516 struct device_driver *drv, in tpacpi_driver_bluetooth_emulstate_store()
1535 struct device_driver *drv, in tpacpi_driver_wwan_emulstate_show()
1542 struct device_driver *drv, in tpacpi_driver_wwan_emulstate_store()
[all …]
/linux-4.4.14/drivers/nvdimm/
Dbus.c61 static int nvdimm_bus_match(struct device *dev, struct device_driver *drv) in nvdimm_bus_match()
215 struct device_driver *drv = &nd_drv->drv; in __nd_driver_register()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-alsa.c800 struct device_driver *drv = driver_find("cx25821", &pci_bus_type); in cx25821_audio_fini()
826 struct device_driver *drv = driver_find("cx25821", &pci_bus_type); in cx25821_alsa_init()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_init.c960 static ssize_t asd_version_show(struct device_driver *driver, char *buf) in asd_version_show()
966 static int asd_create_driver_attrs(struct device_driver *driver) in asd_create_driver_attrs()
971 static void asd_remove_driver_attrs(struct device_driver *driver) in asd_remove_driver_attrs()
/linux-4.4.14/drivers/pnp/
Ddriver.c147 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
/linux-4.4.14/drivers/mcb/
Dmcb-core.c34 static int mcb_match(struct device *dev, struct device_driver *drv) in mcb_match()
/linux-4.4.14/include/linux/usb/
Dserial.h233 struct device_driver driver;
Dgadget.h1074 struct device_driver driver;
/linux-4.4.14/drivers/mmc/core/
Dbus.c62 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match()
Dsdio_bus.c97 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match()
/linux-4.4.14/drivers/sh/maple/
Dmaple.c312 static int maple_check_matching_driver(struct device_driver *driver, in maple_check_matching_driver()
750 struct device_driver *drvptr) in maple_match_bus_driver()
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei-client-bus.txt28 struct device_driver driver;
/linux-4.4.14/drivers/ide/
Dide.c110 static int ide_bus_match(struct device *dev, struct device_driver *drv) in ide_bus_match()
/linux-4.4.14/arch/mips/sgi-ip22/
Dip22-gio.c113 static int gio_bus_match(struct device *dev, struct device_driver *drv) in gio_bus_match()
/linux-4.4.14/drivers/misc/
Dtifm_core.c45 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match()
/linux-4.4.14/drivers/virtio/
Dvirtio.c82 static int virtio_dev_match(struct device *_dv, struct device_driver *_dr) in virtio_dev_match()
/linux-4.4.14/drivers/spmi/
Dspmi.c51 static int spmi_device_match(struct device *dev, struct device_driver *drv) in spmi_device_match()
/linux-4.4.14/include/linux/bcma/
Dbcma.h301 struct device_driver drv;
/linux-4.4.14/arch/ia64/sn/kernel/
Dtiocx.c50 static int tiocx_match(struct device *dev, struct device_driver *drv) in tiocx_match()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_main.c626 static ssize_t ehca_show_debug_level(struct device_driver *ddp, char *buf) in ehca_show_debug_level()
631 static ssize_t ehca_store_debug_level(struct device_driver *ddp, in ehca_store_debug_level()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c87 struct device_driver *dev_driver) in pseudo_lld_bus_match()
99 static struct device_driver tcm_loop_driverfs = {
/linux-4.4.14/drivers/block/paride/
Dparide.c441 struct device_driver *drv = par_dev->dev.driver; in pi_probe()
/linux-4.4.14/drivers/bus/
Dmips_cdmm.c60 static int mips_cdmm_match(struct device *dev, struct device_driver *drv) in mips_cdmm_match()
Dsunxi-rsb.c134 static int sunxi_rsb_device_match(struct device *dev, struct device_driver *drv) in sunxi_rsb_device_match()
/linux-4.4.14/drivers/eisa/
Deisa-bus.c109 static int eisa_bus_match(struct device *dev, struct device_driver *drv) in eisa_bus_match()
/linux-4.4.14/arch/sparc/kernel/
Dvio.c48 static int vio_bus_match(struct device *dev, struct device_driver *drv) in vio_bus_match()
/linux-4.4.14/drivers/parport/
Dshare.c154 static int driver_check(struct device_driver *dev_drv, void *_port) in driver_check()
181 static int driver_detach(struct device_driver *_drv, void *_port) in driver_detach()
/linux-4.4.14/drivers/tty/hvc/
Dhvcs.c487 static ssize_t hvcs_rescan_show(struct device_driver *ddp, char *buf) in hvcs_rescan_show()
493 static ssize_t hvcs_rescan_store(struct device_driver *ddp, const char * buf, in hvcs_rescan_store()
/linux-4.4.14/drivers/ipack/
Dipack.c55 static int ipack_bus_match(struct device *dev, struct device_driver *drv) in ipack_bus_match()
/linux-4.4.14/drivers/firewire/
Dcore-device.c172 struct device_driver *drv) in unit_match()
189 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match()
/linux-4.4.14/drivers/gpu/host1x/
Dbus.c262 static int host1x_device_match(struct device *dev, struct device_driver *drv) in host1x_device_match()
/linux-4.4.14/include/linux/ssb/
Dssb.h325 struct device_driver drv;
/linux-4.4.14/include/acpi/
Dacpi_bus.h175 struct device_driver drv;
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_sysfs.c76 static ssize_t show_version(struct device_driver *dev, char *buf) in show_version()
82 static ssize_t show_num_units(struct device_driver *dev, char *buf) in show_num_units()
/linux-4.4.14/drivers/amba/
Dbus.c42 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match()
/linux-4.4.14/drivers/memstick/core/
Dmemstick.c44 static int memstick_bus_match(struct device *dev, struct device_driver *drv) in memstick_bus_match()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_drv.c584 struct device_driver *drv = &exynos_drm_kms_drivers[i]->driver; in exynos_drm_match_add()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_mipi_dsi.c48 static int mipi_dsi_device_match(struct device *dev, struct device_driver *drv) in mipi_dsi_device_match()
/linux-4.4.14/Documentation/powerpc/
Deeh-pci-error-recovery.txt217 struct device_driver->remove() which is just
245 struct device_driver->remove() is just pci_device_remove()
/linux-4.4.14/lib/
Ddma-debug.c143 static struct device_driver *current_driver __read_mostly;
184 struct device_driver *drv; in driver_filter()
/linux-4.4.14/drivers/pcmcia/
Dds.c98 pcmcia_store_new_id(struct device_driver *driver, const char *buf, size_t count) in pcmcia_store_new_id()
907 static int pcmcia_bus_match(struct device *dev, struct device_driver *drv) in pcmcia_bus_match()
/linux-4.4.14/drivers/vfio/
Dvfio.c458 static bool vfio_dev_whitelisted(struct device *dev, struct device_driver *drv) in vfio_dev_whitelisted()
495 struct device_driver *drv = ACCESS_ONCE(dev->driver); in vfio_dev_viable()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c6285 static ssize_t dgap_driver_version_show(struct device_driver *ddp, char *buf) in dgap_driver_version_show()
6292 static ssize_t dgap_driver_boards_show(struct device_driver *ddp, char *buf) in dgap_driver_boards_show()
6299 static ssize_t dgap_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgap_driver_maxboards_show()
6306 static ssize_t dgap_driver_pollcounter_show(struct device_driver *ddp, in dgap_driver_pollcounter_show()
6313 static ssize_t dgap_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgap_driver_pollrate_show()
6318 static ssize_t dgap_driver_pollrate_store(struct device_driver *ddp, in dgap_driver_pollrate_store()
6332 struct device_driver *driverfs = &dgap_driver->driver; in dgap_create_driver_sysfiles()
6345 struct device_driver *driverfs = &dgap_driver->driver; in dgap_remove_driver_sysfiles()
/linux-4.4.14/Documentation/
Deisa.txt82 struct device_driver driver;

12