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

1234567891011>>

/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.h20 extern struct usbip_host_driver device_driver;
/linux-master/include/kunit/
H A Ddevice.h19 struct device_driver;
22 * kunit_driver_create() - Create a struct device_driver attached to the kunit_bus
26 * Creates a struct device_driver attached to the kunit_bus, with the name @name.
29 * Return: a stub struct device_driver, managed by KUnit, with the name @name.
31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name);
42 * struct device_driver.
53 * @drv: The struct device_driver to associate with the device.
65 const struct device_driver *drv);
/linux-master/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;
84 int (*match)(struct device *dev, struct device_driver *drv);
228 int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start,
229 void *data, int (*fn)(struct device_driver *, void *));
/linux-master/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,
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,
151 struct device *driver_find_device(struct device_driver *drv,
176 int driver_create_file(struct device_driver *drv,
194 void driver_remove_file(struct device_driver *drv,
202 int driver_add_groups(struct device_driver *drv,
208 void driver_remove_groups(struct device_driver *drv,
222 int driver_register(struct device_driver *drv)
225 struct device_driver *other;
267 void driver_unregister(struct device_driver *drv)
H A Dmodule.c12 static char *make_driver_name(struct device_driver *drv)
33 void module_add_driver(struct module *mod, struct device_driver *drv)
72 void module_remove_driver(struct device_driver *drv)
/linux-master/drivers/tty/serial/
H A Dserial_base.h14 struct device_driver;
37 int serial_base_driver_register(struct device_driver *driver);
38 void serial_base_driver_unregister(struct device_driver *driver);
H A Dserial_ctrl.c49 static struct device_driver serial_ctrl_driver = {
/linux-master/lib/kunit/
H A Ddevice.c23 KUNIT_DEFINE_ACTION_WRAPPER(driver_unregister_wrapper, driver_unregister, struct device_driver *);
34 const struct device_driver *driver;
79 * Create and register a KUnit-managed struct device_driver on the kunit_bus.
82 struct device_driver *kunit_driver_create(struct kunit *test, const char *name)
84 struct device_driver *driver;
110 const struct device_driver *drv)
146 * Create and register a new KUnit-managed device, using the user-supplied device_driver.
151 const struct device_driver *drv)
163 * Create and register a new KUnit-managed device, including a matching device_driver.
168 struct device_driver *dr
[all...]
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_bus.h24 struct device_driver driver;
32 static inline struct vchiq_driver *to_vchiq_driver(struct device_driver *d)
/linux-master/include/scsi/
H A Dscsi_driver.h13 struct device_driver gendrv;
26 extern int scsi_register_driver(struct device_driver *);
/linux-master/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)
33 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count)
37 struct device_driver *alt_drv = NULL;
/linux-master/include/linux/
H A Dsiox.h53 struct device_driver driver;
56 static inline struct siox_driver *to_siox_driver(struct device_driver *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)
H A Dauxiliary_bus.h187 struct device_driver driver;
206 static inline struct auxiliary_driver *to_auxiliary_drv(struct device_driver *drv)
H A Dof_device.h17 * @drv: the device_driver structure to test
21 const struct device_driver *drv)
46 const struct device_driver *drv)
H A Dntb_transport.h54 struct device_driver driver;
/linux-master/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)
/linux-master/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)
/linux-master/arch/s390/include/asm/
H A Dccwgroup.h48 struct device_driver driver;
/linux-master/include/sound/
H A Dseq_device.h46 struct device_driver driver;
/linux-master/drivers/mmc/core/
H A Dbus.h34 struct device_driver drv;
/linux-master/drivers/vfio/mdev/
H A Dmdev_driver.c34 static int mdev_match(struct device *dev, struct device_driver *drv)
/linux-master/arch/mips/include/asm/
H A Dcdmm.h43 struct device_driver drv;

Completed in 220 milliseconds

1234567891011>>