Home
last modified time | relevance | path

Searched refs:device_driver (Results 1 - 25 of 620) sorted by relevance

12345678910>>...25

/kernel/linux/linux-5.10/drivers/base/
H A Dbase.h63 struct device_driver *driver;
95 struct device_driver *async_driver;
129 extern int bus_add_driver(struct device_driver *drv);
130 extern void bus_remove_driver(struct device_driver *drv);
132 struct device_driver *drv,
135 extern void driver_detach(struct device_driver *drv);
136 extern int driver_probe_device(struct device_driver *drv, struct device *dev);
140 static inline int driver_match_device(struct device_driver *drv, in driver_match_device()
145 extern bool driver_allows_async_probing(struct device_driver *drv);
147 extern int driver_add_groups(struct device_driver *dr
[all...]
H A Ddriver.c111 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
145 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
170 int driver_create_file(struct device_driver *drv, in driver_create_file()
188 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
196 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
202 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
216 int driver_register(struct device_driver *drv) in driver_register()
219 struct device_driver *other; in driver_register()
260 void driver_unregister(struct device_driver *drv) in driver_unregister()
283 struct device_driver *driver_fin
[all...]
H A Dmodule.c13 static char *make_driver_name(struct device_driver *drv) in make_driver_name()
34 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver()
73 void module_remove_driver(struct device_driver *drv) in module_remove_driver()
H A Ddd.c435 struct device_driver *drv = dev->driver; in driver_sysfs_remove()
497 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
672 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
734 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
778 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
831 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1024 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach()
1045 struct device_driver *drv; in __driver_attach_async_helper()
1068 struct device_driver *drv = data; in __driver_attach()
1138 int driver_attach(struct device_driver *dr
[all...]
/kernel/linux/linux-5.10/include/linux/device/
H A Ddriver.h51 * struct device_driver - The basic device driver structure
95 struct device_driver { struct
124 extern int __must_check driver_register(struct device_driver *drv);
125 extern void driver_unregister(struct device_driver *drv);
127 extern struct device_driver *driver_find(const char *name,
136 ssize_t (*show)(struct device_driver *driver, char *buf);
137 ssize_t (*store)(struct device_driver *driver, const char *buf,
148 extern int __must_check driver_create_file(struct device_driver *driver,
150 extern void driver_remove_file(struct device_driver *driver,
155 extern int __must_check driver_for_each_device(struct device_driver *dr
[all...]
H A Dbus.h21 struct device_driver;
90 int (*match)(struct device *dev, struct device_driver *drv);
251 int bus_for_each_drv(struct bus_type *bus, struct device_driver *start,
252 void *data, int (*fn)(struct device_driver *, void *));
/kernel/linux/linux-6.6/include/linux/device/
H A Ddriver.h52 * struct device_driver - The basic device driver structure
96 struct device_driver { struct
125 int __must_check driver_register(struct device_driver *drv);
126 void driver_unregister(struct device_driver *drv);
128 struct device_driver *driver_find(const char *name, const struct bus_type *bus);
137 ssize_t (*show)(struct device_driver *driver, char *buf);
138 ssize_t (*store)(struct device_driver *driver, const char *buf,
149 int __must_check driver_create_file(struct device_driver *driver,
151 void driver_remove_file(struct device_driver *driver,
156 int __must_check driver_for_each_device(struct device_driver *dr
[all...]
H A Dbus.h21 struct device_driver;
87 int (*match)(struct device *dev, struct device_driver *drv);
233 int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start,
234 void *data, int (*fn)(struct device_driver *, void *));
/kernel/linux/linux-6.6/drivers/base/
H A Dbase.h83 struct device_driver *driver;
115 struct device_driver *async_driver;
156 int bus_add_driver(struct device_driver *drv);
157 void bus_remove_driver(struct device_driver *drv);
158 void device_release_driver_internal(struct device *dev, struct device_driver *drv,
161 void driver_detach(struct device_driver *drv);
164 static inline int driver_match_device(struct device_driver *drv, in driver_match_device()
178 int driver_add_groups(struct device_driver *drv, const struct attribute_group **groups);
179 void driver_remove_groups(struct device_driver *drv, const struct attribute_group **groups);
195 void module_add_driver(struct module *mod, struct device_driver *dr
[all...]
H A Ddriver.c117 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
151 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
176 int driver_create_file(struct device_driver *drv, in driver_create_file()
194 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
202 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
208 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
222 int driver_register(struct device_driver *drv) in driver_register()
225 struct device_driver *other; in driver_register()
267 void driver_unregister(struct device_driver *drv) in driver_unregister()
H A Ddd.c470 struct device_driver *drv = dev->driver; in driver_sysfs_remove()
572 static int call_driver_probe(struct device *dev, struct device_driver *drv) in call_driver_probe()
603 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
732 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
779 static int __driver_probe_device(struct device_driver *drv, struct device *dev) in __driver_probe_device()
824 static int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
868 static bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
921 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1122 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach()
1142 struct device_driver *dr in __driver_attach_async_helper()
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_drvfs.c39 struct device_driver *drv;
91 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show()
97 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store()
110 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show()
116 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store()
135 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show()
140 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store()
164 static int iunit_drvfs_create_files(struct device_driver *drv) in iunit_drvfs_create_files()
174 static void iunit_drvfs_remove_files(struct device_driver *drv) in iunit_drvfs_remove_files()
184 struct device_driver *dr in atomisp_drvfs_init()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_drvfs.c39 struct device_driver *drv;
96 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show()
102 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store()
115 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show()
121 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store()
140 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show()
145 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store()
169 static int iunit_drvfs_create_files(struct device_driver *drv) in iunit_drvfs_create_files()
179 static void iunit_drvfs_remove_files(struct device_driver *drv) in iunit_drvfs_remove_files()
189 struct device_driver *dr in atomisp_drvfs_init()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dserial_base.h14 struct device_driver;
33 int serial_base_driver_register(struct device_driver *driver);
34 void serial_base_driver_unregister(struct device_driver *driver);
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dcompat.c10 extern int device_driver_attach(struct device_driver *drv, struct device *dev);
17 static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count) in unbind_store()
33 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count) in bind_store()
37 struct device_driver *alt_drv = NULL; in bind_store()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_driver.h14 struct device_driver gendrv;
26 extern int scsi_register_driver(struct device_driver *);
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_driver.h13 struct device_driver gendrv;
25 extern int scsi_register_driver(struct device_driver *);
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dmdio_device.c36 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
149 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe()
170 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove()
185 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown()
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmdio_device.c38 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
151 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe()
172 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove()
187 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown()
/kernel/linux/linux-5.10/include/linux/
H A Dsiox.h53 struct device_driver driver;
56 static inline struct siox_driver *to_siox_driver(struct device_driver *driver) in to_siox_driver()
H A 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()
/kernel/linux/linux-5.10/include/sound/ac97/
H A Dcodec.h64 struct device_driver driver;
76 static inline struct ac97_codec_driver *to_ac97_driver(struct device_driver *d) in to_ac97_driver()
/kernel/linux/linux-6.6/include/linux/
H A Dof_device.h20 * @drv: the device_driver structure to test
24 const struct device_driver *drv) in of_driver_match_device()
46 const struct device_driver *drv) in of_driver_match_device()
/kernel/linux/linux-6.6/include/drm/display/
H A Ddrm_dp_aux_bus.h34 struct device_driver driver;
42 static inline struct dp_aux_ep_driver *to_dp_aux_ep_drv(struct device_driver *drv) in to_dp_aux_ep_drv()

Completed in 11 milliseconds

12345678910>>...25