Home
last modified time | relevance | path

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

12

/linux-4.1.27/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()
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 …]
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()
403 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
420 static int __device_attach(struct device_driver *drv, void *data) in __device_attach()
473 struct device_driver *drv = data; in __driver_attach()
509 int driver_attach(struct device_driver *drv) in driver_attach()
521 struct device_driver *drv; in __device_release_driver()
579 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.c180 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 …]
Dplatform.c820 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
877 struct device_driver *drv = dev->driver; in platform_pm_suspend()
895 struct device_driver *drv = dev->driver; in platform_pm_resume()
917 struct device_driver *drv = dev->driver; in platform_pm_freeze()
935 struct device_driver *drv = dev->driver; in platform_pm_thaw()
953 struct device_driver *drv = dev->driver; in platform_pm_poweroff()
971 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.c24 static int cpu_subsys_match(struct device *dev, struct device_driver *drv) in cpu_subsys_match()
/linux-4.1.27/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.1.27/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 *));
Dbinding.txt34 int match(struct device * dev, struct device_driver * drv);
Dclass.txt76 the struct device_driver::devclass field.
/linux-4.1.27/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.1.27/include/scsi/
Dscsi_driver.h12 struct device_driver gendrv;
23 extern int scsi_register_driver(struct device_driver *);
Dscsi_transport_iscsi.h476 struct device_driver *drv);
/linux-4.1.27/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.1.27/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 *));
230 struct device_driver { struct
255 extern int __must_check driver_register(struct device_driver *drv); argument
256 extern void driver_unregister(struct device_driver *drv);
258 extern struct device_driver *driver_find(const char *name,
268 ssize_t (*show)(struct device_driver *driver, char *buf);
269 ssize_t (*store)(struct device_driver *driver, const char *buf,
[all …]
Dmic_bus.h66 struct device_driver driver;
105 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()
60 struct device_driver *drv) in of_driver_match_device()
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);
Dmei_cl_bus.h11 struct device_driver driver;
Dpcieport_if.h60 struct device_driver driver;
Dntb.h52 struct device_driver driver;
Deisa.h59 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.h67 struct device_driver driver;
Dtifm.h111 struct device_driver driver;
Drpmsg.h163 struct device_driver drv;
Dipack.h133 struct device_driver driver;
Dvme.h114 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;
Dacpi.h454 const struct device_driver *drv);
557 const struct device_driver *drv) in acpi_driver_match_device()
Dhyperv.h935 struct device_driver driver;
962 static inline struct hv_driver *drv_to_hv_drv(struct device_driver *d) in drv_to_hv_drv()
Drio.h396 struct device_driver driver;
Di2c.h188 struct device_driver driver;
Dfirewire.h254 struct device_driver driver;
Dusb.h1002 struct device_driver *driver,
1013 struct device_driver driver;
Dphy.h580 struct device_driver driver;
Dpnp.h387 struct device_driver driver;
Dhid.h712 struct device_driver driver;
/linux-4.1.27/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.1.27/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);
Dxenbus_probe.c93 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match()
/linux-4.1.27/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.1.27/drivers/scsi/
Dscsi_debug.c648 static struct device_driver sdebug_driverfs_driver = {
4230 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show()
4235 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store()
4263 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show()
4269 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store()
4297 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show()
4302 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store()
4336 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show()
4340 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store()
4353 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show()
[all …]
Dscsi_sysfs.c446 static int scsi_bus_match(struct device *dev, struct device_driver *gendrv) in scsi_bus_match()
1179 int scsi_register_driver(struct device_driver *drv) in scsi_register_driver()
Dst.c4374 static ssize_t st_try_direct_io_show(struct device_driver *ddp, char *buf) in st_try_direct_io_show()
4380 static ssize_t st_fixed_buffer_size_show(struct device_driver *ddp, char *buf) in st_fixed_buffer_size_show()
4386 static ssize_t st_max_sg_segs_show(struct device_driver *ddp, char *buf) in st_max_sg_segs_show()
4392 static ssize_t st_version_show(struct device_driver *ddd, char *buf) in st_version_show()
4400 struct device_driver *sysfs = &st_template.gendrv; in do_create_sysfs_files()
4429 struct device_driver *sysfs = &st_template.gendrv; in do_remove_sysfs_files()
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/dgnc/
Ddgnc_sysfs.c30 static ssize_t dgnc_driver_version_show(struct device_driver *ddp, char *buf) in dgnc_driver_version_show()
37 static ssize_t dgnc_driver_boards_show(struct device_driver *ddp, char *buf) in dgnc_driver_boards_show()
44 static ssize_t dgnc_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgnc_driver_maxboards_show()
51 static ssize_t dgnc_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgnc_driver_pollrate_show()
56 static ssize_t dgnc_driver_pollrate_store(struct device_driver *ddp, const char *buf, size_t count) in dgnc_driver_pollrate_store()
71 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_create_driver_sysfiles()
84 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_remove_driver_sysfiles()
/linux-4.1.27/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()
655 struct device_driver *drv = dev->driver; in pci_pm_prepare()
788 struct device_driver *drv = dev->driver; in pci_pm_resume_noirq()
888 struct device_driver *drv = dev->driver; in pci_pm_freeze_noirq()
916 struct device_driver *drv = dev->driver; in pci_pm_thaw_noirq()
1001 struct device_driver *drv = dev->driver; in pci_pm_poweroff_noirq()
1041 struct device_driver *drv = dev->driver; in pci_pm_restore_noirq()
1314 static int pci_bus_match(struct device *dev, struct device_driver *drv) in pci_bus_match()
/linux-4.1.27/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.c72 static int w1_master_match(struct device *dev, struct device_driver *drv) in w1_master_match()
192 struct device_driver w1_master_driver = {
206 static struct device_driver w1_slave_driver = {
/linux-4.1.27/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.1.27/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.1.27/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.1.27/sound/hda/
Dhda_bus_type.c13 static int hda_bus_match(struct device *dev, struct device_driver *drv) in hda_bus_match()
/linux-4.1.27/arch/mips/include/asm/
Dcdmm.h43 struct device_driver drv;
Dgio_device.h30 struct device_driver driver;
/linux-4.1.27/sound/
Dac97_bus.c25 static int ac97_bus_match(struct device *dev, struct device_driver *drv) in ac97_bus_match()
/linux-4.1.27/include/sound/
Dseq_device.h60 struct device_driver driver;
Dhdaudio.h155 struct device_driver driver;
/linux-4.1.27/arch/s390/include/asm/
Dccwgroup.h57 struct device_driver driver;
Deadm.h104 struct device_driver drv;
Dccwdev.h149 struct device_driver driver;
/linux-4.1.27/drivers/tc/
Dtc-driver.c86 static int tc_bus_match(struct device *dev, struct device_driver *drv) in tc_bus_match()
/linux-4.1.27/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.1.27/arch/parisc/include/asm/
Dparisc-device.h38 struct device_driver drv;
/linux-4.1.27/include/linux/mfd/
Dmcp.h50 struct device_driver drv;
/linux-4.1.27/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.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.h92 struct device_driver core_driver; /* VIRTPCI core fills this in */
Dvirtpci.c50 struct device_driver *driver;
104 static int virtpci_bus_match(struct device *dev, struct device_driver *drv);
635 static int virtpci_bus_match(struct device *dev, struct device_driver *drv) in virtpci_bus_match()
1168 #define kobj_to_device_driver(obj) container_of(obj, struct device_driver, kobj)
1180 struct device_driver *driver = dprivate->driver; in virtpci_driver_attr_show()
1196 struct device_driver *driver = dprivate->driver; in virtpci_driver_attr_store()
/linux-4.1.27/arch/ia64/include/asm/sn/
Dtiocx.h37 struct device_driver driver;
/linux-4.1.27/drivers/isdn/gigaset/
Dser-gigaset.c52 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()
/linux-4.1.27/drivers/base/power/
Dgeneric_ops.c62 struct device_driver *drv = dev->driver; in pm_generic_prepare()
295 struct device_driver *drv = dev->driver; in pm_generic_complete()
/linux-4.1.27/drivers/bcma/
Dmain.c25 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
539 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend()
560 struct device_driver *drv = core->dev.driver; in bcma_bus_resume()
588 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match()
/linux-4.1.27/drivers/dio/
Ddio-driver.c113 static int dio_bus_match(struct device *dev, struct device_driver *drv) in dio_bus_match()
/linux-4.1.27/drivers/net/wimax/i2400m/
Di2400m.h795 int i2400m_sysfs_setup(struct device_driver *);
796 void i2400m_sysfs_release(struct device_driver *);
/linux-4.1.27/drivers/staging/fsl-mc/include/
Dmc.h39 struct device_driver driver;
/linux-4.1.27/include/linux/uwb/
Dumc.h93 struct device_driver driver;
/linux-4.1.27/drivers/input/serio/
Dserio.c403 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()
/linux-4.1.27/drivers/s390/cio/
Dcss.h83 struct device_driver drv;
Dscm.c56 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()
Dcss.c1042 static int css_settle(struct device_driver *drv, void *unused) in css_settle()
1131 static int css_bus_match(struct device *dev, struct device_driver *drv) in css_bus_match()
/linux-4.1.27/sound/aoa/soundbus/
Dsoundbus.h195 struct device_driver driver;
/linux-4.1.27/drivers/zorro/
Dzorro-driver.c126 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/linux-4.1.27/drivers/fmc/
Dfmc-match.c22 int fmc_match(struct device *dev, struct device_driver *drv) in fmc_match()
/linux-4.1.27/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()
174 static ssize_t remove_id_show(struct device_driver *driver, char *buf) in remove_id_show()
791 static int usb_device_match(struct device *dev, struct device_driver *drv) in usb_device_match()
Dusb.h142 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 = {
Dusb.c191 struct device_driver *drv;
/linux-4.1.27/drivers/s390/crypto/
Dap_bus.h143 struct device_driver driver;
Dap_bus.c771 static int ap_bus_match(struct device *dev, struct device_driver *drv) in ap_bus_match()
984 struct device_driver *drv = &ap_drv->driver; in ap_driver_register()
/linux-4.1.27/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.1.27/include/linux/mmc/
Dsdio_func.h84 struct device_driver drv;
Dcard.h519 struct device_driver drv;
/linux-4.1.27/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.1.27/arch/arm/include/asm/
Decard.h207 struct device_driver drv;
/linux-4.1.27/arch/arm/include/asm/hardware/
Dlocomo.h188 struct device_driver drv;
Dsa1111.h429 struct device_driver drv;
/linux-4.1.27/include/linux/spi/
Dspi.h185 struct device_driver driver;
188 static inline struct spi_driver *to_spi_driver(struct device_driver *drv) in to_spi_driver()
/linux-4.1.27/drivers/net/phy/
Dmdio_bus.c420 static int mdio_bus_match(struct device *dev, struct device_driver *drv) in mdio_bus_match()
439 struct device_driver *drv = phydev->dev.driver; in mdio_bus_phy_may_suspend()
/linux-4.1.27/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.1.27/Documentation/filesystems/
Dsysfs.txt358 ssize_t (*show)(struct device_driver *, char * buf);
359 ssize_t (*store)(struct device_driver *, const char * buf,
369 int driver_create_file(struct device_driver *, const struct driver_attribute *);
370 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux-4.1.27/drivers/rapidio/
Drio-driver.c183 static int rio_match_bus(struct device *dev, struct device_driver *drv) in rio_match_bus()
/linux-4.1.27/include/linux/amba/
Dbus.h40 struct device_driver drv;
/linux-4.1.27/drivers/uwb/
Dumc-bus.c120 static int umc_bus_match(struct device *dev, struct device_driver *drv) in umc_bus_match()
/linux-4.1.27/drivers/s390/net/
Dsmsgiucv_app.c152 struct device_driver *smsgiucv_drv; in smsgiucv_app_init()
Dsmsgiucv.c184 static struct device_driver smsg_driver = {
Dnetiucv.c145 static struct device_driver netiucv_driver = {
2045 static ssize_t conn_write(struct device_driver *drv, in conn_write()
2110 static ssize_t remove_write (struct device_driver *drv, in remove_write()
/linux-4.1.27/include/pcmcia/
Dds.h60 struct device_driver drv;
/linux-4.1.27/drivers/misc/sgi-xp/
Dxp_main.c23 struct device_driver xp_dbg_name = {
Dxpnet.c132 struct device_driver xpnet_dbg_name = {
/linux-4.1.27/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.1.27/drivers/sh/superhyway/
Dsuperhyway.c194 static int superhyway_bus_match(struct device *dev, struct device_driver *drv) in superhyway_bus_match()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-alsa-main.c282 struct device_driver *drv; in cx18_alsa_exit()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-alsa-main.c290 struct device_driver *drv; in ivtv_alsa_exit()
Divtvfb.c1283 struct device_driver *drv; in ivtvfb_init()
1305 struct device_driver *drv; in ivtvfb_cleanup()
/linux-4.1.27/drivers/misc/mic/bus/
Dmic_bus.c77 static int mbus_dev_match(struct device *dv, struct device_driver *dr) in mbus_dev_match()
/linux-4.1.27/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.1.27/drivers/acpi/
Dprocessor_driver.c65 static struct device_driver acpi_processor_driver = {
/linux-4.1.27/include/linux/hsi/
Dhsi.h173 struct device_driver driver;
/linux-4.1.27/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.1.27/drivers/platform/x86/
Dthinkpad_acpi.c1432 struct device_driver *drv, in tpacpi_driver_interface_version_show()
1442 static ssize_t tpacpi_driver_debug_show(struct device_driver *drv, in tpacpi_driver_debug_show()
1448 static ssize_t tpacpi_driver_debug_store(struct device_driver *drv, in tpacpi_driver_debug_store()
1465 static ssize_t tpacpi_driver_version_show(struct device_driver *drv, in tpacpi_driver_version_show()
1480 static ssize_t tpacpi_driver_wlsw_emulstate_show(struct device_driver *drv, in tpacpi_driver_wlsw_emulstate_show()
1486 static ssize_t tpacpi_driver_wlsw_emulstate_store(struct device_driver *drv, in tpacpi_driver_wlsw_emulstate_store()
1508 struct device_driver *drv, in tpacpi_driver_bluetooth_emulstate_show()
1515 struct device_driver *drv, in tpacpi_driver_bluetooth_emulstate_store()
1534 struct device_driver *drv, in tpacpi_driver_wwan_emulstate_show()
1541 struct device_driver *drv, in tpacpi_driver_wwan_emulstate_store()
[all …]
/linux-4.1.27/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.1.27/drivers/scsi/aic94xx/
Daic94xx_init.c966 static ssize_t asd_version_show(struct device_driver *driver, char *buf) in asd_version_show()
972 static int asd_create_driver_attrs(struct device_driver *driver) in asd_create_driver_attrs()
977 static void asd_remove_driver_attrs(struct device_driver *driver) in asd_remove_driver_attrs()
/linux-4.1.27/drivers/mmc/core/
Dsdio_bus.c97 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match()
Dbus.c62 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match()
/linux-4.1.27/drivers/staging/i2o/
Ddriver.c46 static int i2o_bus_match(struct device *dev, struct device_driver *drv) in i2o_bus_match()
Di2o.h469 struct device_driver driver;
/linux-4.1.27/drivers/pnp/
Ddriver.c147 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
/linux-4.1.27/drivers/mcb/
Dmcb-core.c34 static int mcb_match(struct device *dev, struct device_driver *drv) in mcb_match()
/linux-4.1.27/include/linux/usb/
Dserial.h233 struct device_driver driver;
Dgadget.h886 struct device_driver driver;
/linux-4.1.27/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.1.27/Documentation/misc-devices/mei/
Dmei-client-bus.txt28 struct device_driver driver;
/linux-4.1.27/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.1.27/drivers/ide/
Dide.c110 static int ide_bus_match(struct device *dev, struct device_driver *drv) in ide_bus_match()
Dide-proc.c742 static int proc_print_driver(struct device_driver *drv, void *data) in proc_print_driver()
/linux-4.1.27/drivers/misc/
Dtifm_core.c45 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match()
/linux-4.1.27/drivers/virtio/
Dvirtio.c82 static int virtio_dev_match(struct device *_dv, struct device_driver *_dr) in virtio_dev_match()
/linux-4.1.27/drivers/staging/vt6655/
Ddevice_main.c1861 static struct pci_driver device_driver = { variable
1876 ret = pci_register_driver(&device_driver); in vt6655_init_module()
1890 pci_unregister_driver(&device_driver); in vt6655_cleanup_module()
1907 if (pci_dev_driver(pdev) == &device_driver) { in device_notify_reboot()
/linux-4.1.27/arch/ia64/sn/kernel/
Dtiocx.c50 static int tiocx_match(struct device *dev, struct device_driver *drv) in tiocx_match()
/linux-4.1.27/drivers/spmi/
Dspmi.c49 static int spmi_device_match(struct device *dev, struct device_driver *drv) in spmi_device_match()
/linux-4.1.27/include/linux/bcma/
Dbcma.h299 struct device_driver drv;
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_main.c603 static ssize_t ehca_show_debug_level(struct device_driver *ddp, char *buf) in ehca_show_debug_level()
608 static ssize_t ehca_store_debug_level(struct device_driver *ddp, in ehca_store_debug_level()
/linux-4.1.27/drivers/bus/
Dmips_cdmm.c60 static int mips_cdmm_match(struct device *dev, struct device_driver *drv) in mips_cdmm_match()
/linux-4.1.27/drivers/eisa/
Deisa-bus.c109 static int eisa_bus_match(struct device *dev, struct device_driver *drv) in eisa_bus_match()
/linux-4.1.27/arch/sparc/kernel/
Dvio.c48 static int vio_bus_match(struct device *dev, struct device_driver *drv) in vio_bus_match()
/linux-4.1.27/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.1.27/drivers/ipack/
Dipack.c55 static int ipack_bus_match(struct device *dev, struct device_driver *drv) in ipack_bus_match()
/linux-4.1.27/drivers/misc/mei/
Dbus.c33 static int mei_cl_device_match(struct device *dev, struct device_driver *drv) in mei_cl_device_match()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c91 struct device_driver *dev_driver) in pseudo_lld_bus_match()
103 static struct device_driver tcm_loop_driverfs = {
/linux-4.1.27/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.1.27/drivers/gpu/host1x/
Dbus.c262 static int host1x_device_match(struct device *dev, struct device_driver *drv) in host1x_device_match()
/linux-4.1.27/include/linux/ssb/
Dssb.h319 struct device_driver drv;
/linux-4.1.27/include/acpi/
Dacpi_bus.h179 struct device_driver drv;
/linux-4.1.27/drivers/infiniband/hw/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.1.27/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.1.27/drivers/memstick/core/
Dmemstick.c44 static int memstick_bus_match(struct device *dev, struct device_driver *drv) in memstick_bus_match()
/linux-4.1.27/drivers/amba/
Dbus.c42 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match()
/linux-4.1.27/drivers/vfio/
Dvfio.c447 static bool vfio_whitelisted_driver(struct device_driver *drv) in vfio_whitelisted_driver()
476 struct device_driver *drv = ACCESS_ONCE(dev->driver); in vfio_dev_viable()
/linux-4.1.27/lib/
Ddma-debug.c143 static struct device_driver *current_driver __read_mostly;
184 struct device_driver *drv; in driver_filter()
/linux-4.1.27/drivers/pcmcia/
Dds.c98 pcmcia_store_new_id(struct device_driver *driver, const char *buf, size_t count) in pcmcia_store_new_id()
895 static int pcmcia_bus_match(struct device *dev, struct device_driver *drv) in pcmcia_bus_match()
/linux-4.1.27/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.1.27/drivers/staging/dgap/
Ddgap.c6375 static ssize_t dgap_driver_version_show(struct device_driver *ddp, char *buf) in dgap_driver_version_show()
6382 static ssize_t dgap_driver_boards_show(struct device_driver *ddp, char *buf) in dgap_driver_boards_show()
6389 static ssize_t dgap_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgap_driver_maxboards_show()
6396 static ssize_t dgap_driver_pollcounter_show(struct device_driver *ddp, in dgap_driver_pollcounter_show()
6403 static ssize_t dgap_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgap_driver_pollrate_show()
6408 static ssize_t dgap_driver_pollrate_store(struct device_driver *ddp, in dgap_driver_pollrate_store()
6422 struct device_driver *driverfs = &dgap_driver->driver; in dgap_create_driver_sysfiles()
6435 struct device_driver *driverfs = &dgap_driver->driver; in dgap_remove_driver_sysfiles()
/linux-4.1.27/drivers/staging/fsl-mc/bus/
Dmc-bus.c33 static int fsl_mc_bus_match(struct device *dev, struct device_driver *drv) in fsl_mc_bus_match()
/linux-4.1.27/Documentation/
Deisa.txt82 struct device_driver driver;
/linux-4.1.27/drivers/macintosh/
Dmacio_asic.c42 static int macio_bus_match(struct device *dev, struct device_driver *drv) in macio_bus_match()
/linux-4.1.27/drivers/hsi/
Dhsi.c53 static int hsi_bus_match(struct device *dev, struct device_driver *driver) in hsi_bus_match()
/linux-4.1.27/drivers/i2c/
Di2c-core.c457 static int i2c_device_match(struct device *dev, struct device_driver *drv) in i2c_device_match()
1372 static int __process_new_adapter(struct device_driver *d, void *data) in __process_new_adapter()
1607 static int __process_removed_adapter(struct device_driver *d, void *data) in __process_removed_adapter()
/linux-4.1.27/Documentation/zh_CN/video4linux/
Dv4l2-framework.txt166 struct device_driver *drv;
/linux-4.1.27/arch/parisc/kernel/
Ddrivers.c536 static int parisc_generic_match(struct device *dev, struct device_driver *drv) in parisc_generic_match()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dsystem-bus.c347 struct device_driver *_drv) in ps3_system_bus_match()
/linux-4.1.27/drivers/input/touchscreen/
Dwm97xx-core.c833 static struct device_driver wm97xx_driver = {
/linux-4.1.27/drivers/dma/ppc4xx/
Dadma.c4315 static ssize_t show_ppc440spe_devices(struct device_driver *dev, char *buf) in show_ppc440spe_devices()
4330 static ssize_t show_ppc440spe_r6enable(struct device_driver *dev, char *buf) in show_ppc440spe_r6enable()
4337 static ssize_t store_ppc440spe_r6enable(struct device_driver *dev, in store_ppc440spe_r6enable()
4366 static ssize_t show_ppc440spe_r6poly(struct device_driver *dev, char *buf) in show_ppc440spe_r6poly()
4385 static ssize_t store_ppc440spe_r6poly(struct device_driver *dev, in store_ppc440spe_r6poly()
/linux-4.1.27/drivers/rpmsg/
Dvirtio_rpmsg_bus.c171 static int rpmsg_dev_match(struct device *dev, struct device_driver *drv) in rpmsg_dev_match()

12