Home
last modified time | relevance | path

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

123456

/linux-4.19.296/drivers/base/
Dbase.h52 struct device_driver *driver;
111 extern int bus_add_driver(struct device_driver *drv);
112 extern void bus_remove_driver(struct device_driver *drv);
114 struct device_driver *drv,
117 extern void driver_detach(struct device_driver *drv);
118 extern int driver_probe_device(struct device_driver *drv, struct device *dev);
120 static inline int driver_match_device(struct device_driver *drv, in driver_match_device()
125 extern bool driver_allows_async_probing(struct device_driver *drv);
127 extern int driver_add_groups(struct device_driver *drv,
129 extern void driver_remove_groups(struct device_driver *drv,
[all …]
Ddriver.c41 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
75 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
100 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 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
132 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
146 int driver_register(struct device_driver *drv) in driver_register()
149 struct device_driver *other; in driver_register()
190 void driver_unregister(struct device_driver *drv) in driver_unregister()
213 struct device_driver *driver_find(const char *name, struct bus_type *bus) in driver_find()
Dmodule.c12 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()
Ddd.c407 struct device_driver *drv = dev->driver; in driver_sysfs_remove()
457 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
601 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
658 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
686 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
736 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
888 struct device_driver *drv = data; in __driver_attach()
943 int driver_attach(struct device_driver *drv) in driver_attach()
955 struct device_driver *drv; in __device_release_driver()
1021 struct device_driver *drv, in device_release_driver_internal()
[all …]
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()
570 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files()
583 static void remove_bind_files(struct device_driver *drv) in remove_bind_files()
614 static ssize_t uevent_store(struct device_driver *drv, const char *buf, in uevent_store()
626 struct device_driver *drv = _drv; in driver_attach_async()
[all …]
/linux-4.19.296/include/scsi/
Dscsi_driver.h13 struct device_driver gendrv;
25 extern int scsi_register_driver(struct device_driver *);
/linux-4.19.296/include/linux/
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()
Dsiox.h56 struct device_driver driver;
59 static inline struct siox_driver *to_siox_driver(struct device_driver *driver) in to_siox_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()
Ddevice.h33 struct device_driver;
122 int (*match)(struct device *dev, struct device_driver *drv);
176 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
177 void *data, int (*fn)(struct device_driver *, void *));
277 struct device_driver { struct
304 extern int __must_check driver_register(struct device_driver *drv); argument
305 extern void driver_unregister(struct device_driver *drv);
307 extern struct device_driver *driver_find(const char *name,
316 ssize_t (*show)(struct device_driver *driver, char *buf);
317 ssize_t (*store)(struct device_driver *driver, const char *buf,
[all …]
Dof_device.h24 const struct device_driver *drv) in of_driver_match_device()
65 const struct device_driver *drv) in of_driver_match_device()
Dmcb.h97 struct device_driver driver;
104 static inline struct mcb_driver *to_mcb_driver(struct device_driver *drv) in to_mcb_driver()
Dmdio.h35 int (*bus_match)(struct device *dev, struct device_driver *drv);
50 struct device_driver driver;
83 int mdio_device_bus_match(struct device *dev, struct device_driver *drv);
Dnd.h34 struct device_driver drv;
43 struct device_driver *drv) in to_nd_device_driver()
Dvlynq.h82 struct device_driver driver;
90 static inline struct vlynq_driver *to_vlynq_driver(struct device_driver *drv) in to_vlynq_driver()
Dvirtio.h180 struct device_driver driver;
197 static inline struct virtio_driver *drv_to_virtio(struct device_driver *drv) in drv_to_virtio()
Dspmi.h146 struct device_driver driver;
151 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver()
Disa.h21 struct device_driver driver;
/linux-4.19.296/include/sound/ac97/
Dcodec.h64 struct device_driver driver;
76 static inline struct ac97_codec_driver *to_ac97_driver(struct device_driver *d) in to_ac97_driver()
/linux-4.19.296/drivers/misc/mic/bus/
Dcosm_bus.h90 struct device_driver driver;
132 static inline struct cosm_driver *drv_to_cosm(struct device_driver *drv) in drv_to_cosm()
Dvop_bus.h72 struct device_driver driver;
136 static inline struct vop_driver *drv_to_vop(struct device_driver *drv) in drv_to_vop()
Dscif_bus.h75 struct device_driver driver;
129 static inline struct scif_driver *drv_to_scif(struct device_driver *drv) in drv_to_scif()
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_probe_frontend.c178 struct device_driver *drv = data; in is_device_connecting()
218 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device()
223 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device()
232 struct device_driver *drv = data; in print_device_status()
290 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
/linux-4.19.296/drivers/pci/
Dpci-driver.c98 static ssize_t new_id_store(struct device_driver *driver, const char *buf, in new_id_store()
166 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, in remove_id_store()
683 struct device_driver *drv = dev->driver; in pci_pm_prepare()
874 struct device_driver *drv = dev->driver; in pci_pm_resume_noirq()
995 struct device_driver *drv = dev->driver; in pci_pm_freeze_noirq()
1026 struct device_driver *drv = dev->driver; in pci_pm_thaw_noirq()
1132 struct device_driver *drv = dev->driver; in pci_pm_poweroff_noirq()
1175 struct device_driver *drv = dev->driver; in pci_pm_restore_noirq()
1464 static int pci_bus_match(struct device *dev, struct device_driver *drv) in pci_bus_match()
1634 static int pcie_port_bus_match(struct device *dev, struct device_driver *drv) in pcie_port_bus_match()
/linux-4.19.296/include/xen/
Dxenbus.h113 struct device_driver driver;
118 static inline struct xenbus_driver *to_xenbus_driver(struct device_driver *drv) in to_xenbus_driver()

123456