Home
last modified time | relevance | path

Searched refs:device_driver (Results 1 – 25 of 209) sorted by relevance

123456789

/linux-3.4.99/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()
128 extern void module_add_driver(struct module *mod, struct device_driver *drv);
129 extern void module_remove_driver(struct device_driver *drv);
132 struct device_driver *drv) { } in module_add_driver()
133 static inline void module_remove_driver(struct device_driver *drv) { } in module_remove_driver()
Ddriver.c42 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
76 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
101 int driver_create_file(struct device_driver *drv, in driver_create_file()
118 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
126 static int driver_add_groups(struct device_driver *drv, in driver_add_groups()
146 static void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
164 int driver_register(struct device_driver *drv) in driver_register()
167 struct device_driver *other; in driver_register()
200 void driver_unregister(struct device_driver *drv) in driver_unregister()
223 struct device_driver *driver_find(const char *name, struct bus_type *bus) in driver_find()
Ddd.c229 struct device_driver *drv = dev->driver; in driver_sysfs_remove()
265 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
368 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
386 static int __device_attach(struct device_driver *drv, void *data) in __device_attach()
440 struct device_driver *drv = data; in __driver_attach()
476 int driver_attach(struct device_driver *drv) in driver_attach()
488 struct device_driver *drv; in __device_release_driver()
542 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.c171 static ssize_t driver_unbind(struct device_driver *drv, in driver_unbind()
198 static ssize_t driver_bind(struct device_driver *drv, in driver_bind()
409 static struct device_driver *next_driver(struct klist_iter *i) in next_driver()
440 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv()
441 void *data, int (*fn)(struct device_driver *, void *)) in bus_for_each_drv() argument
444 struct device_driver *drv; in bus_for_each_drv()
591 static int driver_add_attrs(struct bus_type *bus, struct device_driver *drv) in driver_add_attrs()
612 struct device_driver *drv) in driver_remove_attrs()
627 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files()
640 static void remove_bind_files(struct device_driver *drv) in remove_bind_files()
[all …]
Dplatform.c660 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match()
709 struct device_driver *drv = dev->driver; in platform_pm_suspend()
727 struct device_driver *drv = dev->driver; in platform_pm_resume()
749 struct device_driver *drv = dev->driver; in platform_pm_freeze()
767 struct device_driver *drv = dev->driver; in platform_pm_thaw()
785 struct device_driver *drv = dev->driver; in platform_pm_poweroff()
803 struct device_driver *drv = dev->driver; in platform_pm_restore()
/linux-3.4.99/arch/powerpc/kernel/
Dibmebus.c329 static int ibmebus_bus_bus_match(struct device *dev, struct device_driver *drv) in ibmebus_bus_bus_match()
444 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_prepare()
455 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_complete()
465 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_suspend()
483 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_suspend_noirq()
499 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_resume()
517 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_resume_noirq()
544 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_freeze()
562 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_freeze_noirq()
578 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_thaw()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/include/linux/
Ddevice.h30 struct device_driver;
97 int (*match)(struct device *dev, struct device_driver *drv);
148 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
149 void *data, int (*fn)(struct device_driver *, void *));
214 struct device_driver { struct
238 extern int __must_check driver_register(struct device_driver *drv); argument
239 extern void driver_unregister(struct device_driver *drv);
241 extern struct device_driver *driver_find(const char *name,
251 ssize_t (*show)(struct device_driver *driver, char *buf);
252 ssize_t (*store)(struct device_driver *driver, const char *buf,
[all …]
Dof_device.h23 const struct device_driver *drv) in of_driver_match_device()
49 struct device_driver *drv) in of_driver_match_device()
Dvlynq.h82 struct device_driver driver;
90 static inline struct vlynq_driver *to_vlynq_driver(struct device_driver *drv) in to_vlynq_driver()
Disa.h19 struct device_driver driver;
/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes.c821 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf) in nes_show_adapter()
840 static ssize_t nes_store_adapter(struct device_driver *ddp, in nes_store_adapter()
849 static ssize_t nes_show_ee_cmd(struct device_driver *ddp, char *buf) in nes_show_ee_cmd()
865 static ssize_t nes_store_ee_cmd(struct device_driver *ddp, in nes_store_ee_cmd()
886 static ssize_t nes_show_ee_data(struct device_driver *ddp, char *buf) in nes_show_ee_data()
903 static ssize_t nes_store_ee_data(struct device_driver *ddp, in nes_store_ee_data()
924 static ssize_t nes_show_flash_cmd(struct device_driver *ddp, char *buf) in nes_show_flash_cmd()
941 static ssize_t nes_store_flash_cmd(struct device_driver *ddp, in nes_store_flash_cmd()
962 static ssize_t nes_show_flash_data(struct device_driver *ddp, char *buf) in nes_show_flash_data()
979 static ssize_t nes_store_flash_data(struct device_driver *ddp, in nes_store_flash_data()
[all …]
/linux-3.4.99/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-3.4.99/include/scsi/
Dscsi_driver.h15 struct device_driver gendrv;
24 extern int scsi_register_driver(struct device_driver *);
/linux-3.4.99/drivers/xen/xenbus/
Dxenbus_probe_frontend.c141 struct device_driver *drv = data; in is_device_connecting()
181 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device()
186 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device()
195 struct device_driver *drv = data; in print_device_status()
254 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
/linux-3.4.99/arch/powerpc/include/asm/
Dvio.h81 struct device_driver driver;
115 static inline struct vio_driver *to_vio_driver(struct device_driver *drv) in to_vio_driver()
/linux-3.4.99/drivers/amba/
Dbus.c40 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match()
122 struct device_driver *drv = dev->driver; in amba_pm_suspend()
140 struct device_driver *drv = dev->driver; in amba_pm_resume()
167 struct device_driver *drv = dev->driver; in amba_pm_freeze()
185 struct device_driver *drv = dev->driver; in amba_pm_thaw()
203 struct device_driver *drv = dev->driver; in amba_pm_poweroff()
221 struct device_driver *drv = dev->driver; in amba_pm_restore()
/linux-3.4.99/drivers/scsi/
Dscsi_debug.c284 static struct device_driver sdebug_driverfs_driver = {
2873 static ssize_t sdebug_delay_show(struct device_driver * ddp, char * buf) in sdebug_delay_show()
2878 static ssize_t sdebug_delay_store(struct device_driver * ddp, in sdebug_delay_store()
2895 static ssize_t sdebug_opts_show(struct device_driver * ddp, char * buf) in sdebug_opts_show()
2900 static ssize_t sdebug_opts_store(struct device_driver * ddp, in sdebug_opts_store()
2924 static ssize_t sdebug_ptype_show(struct device_driver * ddp, char * buf) in sdebug_ptype_show()
2928 static ssize_t sdebug_ptype_store(struct device_driver * ddp, in sdebug_ptype_store()
2941 static ssize_t sdebug_dsense_show(struct device_driver * ddp, char * buf) in sdebug_dsense_show()
2945 static ssize_t sdebug_dsense_store(struct device_driver * ddp, in sdebug_dsense_store()
2959 static ssize_t sdebug_fake_rw_show(struct device_driver * ddp, char * buf) in sdebug_fake_rw_show()
[all …]
Dscsi_pm.c21 struct device_driver *drv; in scsi_dev_type_suspend()
36 struct device_driver *drv; in scsi_dev_type_resume()
/linux-3.4.99/drivers/pci/
Dpci-driver.c105 store_new_id(struct device_driver *driver, const char *buf, size_t count) in store_new_id()
153 store_remove_id(struct device_driver *driver, const char *buf, size_t count) in store_remove_id()
616 struct device_driver *drv = dev->driver; in pci_pm_prepare()
653 struct device_driver *drv = dev->driver; in pci_pm_complete()
764 struct device_driver *drv = dev->driver; in pci_pm_resume_noirq()
846 struct device_driver *drv = dev->driver; in pci_pm_freeze_noirq()
871 struct device_driver *drv = dev->driver; in pci_pm_thaw_noirq()
938 struct device_driver *drv = dev->driver; in pci_pm_poweroff_noirq()
971 struct device_driver *drv = dev->driver; in pci_pm_restore_noirq()
1226 static int pci_bus_match(struct device *dev, struct device_driver *drv) in pci_bus_match()
/linux-3.4.99/drivers/misc/iwmc3200top/
Diwmc3200top.h201 extern void iwmct_dbg_init_drv_attrs(struct device_driver *drv);
202 extern void iwmct_dbg_remove_drv_attrs(struct device_driver *drv);
/linux-3.4.99/drivers/bcma/
Dmain.c22 static int bcma_bus_match(struct device *dev, struct device_driver *drv);
259 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend()
281 struct device_driver *drv = core->dev.driver; in bcma_bus_resume()
309 static int bcma_bus_match(struct device *dev, struct device_driver *drv) in bcma_bus_match()
/linux-3.4.99/drivers/w1/
Dw1.h184 struct device_driver *driver;
237 extern struct device_driver w1_master_driver;
/linux-3.4.99/drivers/usb/serial/
Dbus.c20 struct device_driver *drv) in usb_serial_device_match()
114 static ssize_t store_new_id(struct device_driver *driver, in store_new_id()

123456789