Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/drivers/base/
Dbase.h52 struct device_driver *driver;
107 extern int bus_add_driver(struct device_driver *drv);
108 extern void bus_remove_driver(struct device_driver *drv);
110 struct device_driver *drv,
113 extern void driver_detach(struct device_driver *drv);
114 extern int driver_probe_device(struct device_driver *drv, struct device *dev);
116 static inline int driver_match_device(struct device_driver *drv, in driver_match_device()
121 extern bool driver_allows_async_probing(struct device_driver *drv);
123 extern int driver_add_groups(struct device_driver *drv,
125 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.c396 struct device_driver *drv = dev->driver; in driver_sysfs_remove()
446 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
587 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
644 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
672 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
722 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
867 struct device_driver *drv = data; in __driver_attach()
913 int driver_attach(struct device_driver *drv) in driver_attach()
925 struct device_driver *drv; in __device_release_driver()
991 struct device_driver *drv, in device_release_driver_internal()
[all …]
Dbus.c178 static ssize_t unbind_store(struct device_driver *drv, const char *buf, in unbind_store()
205 static ssize_t bind_store(struct device_driver *drv, const char *buf, in bind_store()
417 static struct device_driver *next_driver(struct klist_iter *i) in next_driver()
448 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start, in bus_for_each_drv()
449 void *data, int (*fn)(struct device_driver *, void *)) in bus_for_each_drv() argument
452 struct device_driver *drv; in bus_for_each_drv()
567 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files()
580 static void remove_bind_files(struct device_driver *drv) in remove_bind_files()
611 static ssize_t uevent_store(struct device_driver *drv, const char *buf, in uevent_store()
621 struct device_driver *drv = _drv; in driver_attach_async()
[all …]
/Linux-v4.19/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-v4.19/drivers/infiniband/hw/nes/
Dnes.c815 static ssize_t adapter_show(struct device_driver *ddp, char *buf) in adapter_show()
834 static ssize_t adapter_store(struct device_driver *ddp, in adapter_store()
843 static ssize_t eeprom_cmd_show(struct device_driver *ddp, char *buf) in eeprom_cmd_show()
859 static ssize_t eeprom_cmd_store(struct device_driver *ddp, in eeprom_cmd_store()
880 static ssize_t eeprom_data_show(struct device_driver *ddp, char *buf) in eeprom_data_show()
897 static ssize_t eeprom_data_store(struct device_driver *ddp, in eeprom_data_store()
918 static ssize_t flash_cmd_show(struct device_driver *ddp, char *buf) in flash_cmd_show()
935 static ssize_t flash_cmd_store(struct device_driver *ddp, in flash_cmd_store()
956 static ssize_t flash_data_show(struct device_driver *ddp, char *buf) in flash_data_show()
973 static ssize_t flash_data_store(struct device_driver *ddp, in flash_data_store()
[all …]
/Linux-v4.19/include/scsi/
Dscsi_driver.h13 struct device_driver gendrv;
25 extern int scsi_register_driver(struct device_driver *);
/Linux-v4.19/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()
Dmic_bus.h66 struct device_driver driver;
106 static inline struct mbus_driver *drv_to_mbus(struct device_driver *drv) in drv_to_mbus()
Dsiox.h56 struct device_driver driver;
59 static inline struct siox_driver *to_siox_driver(struct device_driver *driver) in to_siox_driver()
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;
80 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()
/Linux-v4.19/drivers/net/phy/
Dmdio_device.c40 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
145 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe()
166 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove()
/Linux-v4.19/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-v4.19/drivers/usb/serial/
Dbus.c17 struct device_driver *drv) in usb_serial_device_match()
123 static ssize_t new_id_store(struct device_driver *driver, in new_id_store()
138 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
/Linux-v4.19/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-v4.19/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-v4.19/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()
/Linux-v4.19/drivers/scsi/
Dscsi_debug.c713 static struct device_driver sdebug_driverfs_driver = {
4703 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show()
4710 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store()
4743 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show()
4749 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store()
4784 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show()
4789 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store()
4814 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show()
4818 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store()
4831 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show()
[all …]

12345678910>>...13