Home
last modified time | relevance | path

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

12345678910

/linux/include/linux/device/
H A Ddriver.h100 struct device_driver { struct
136 int __must_check driver_register(struct device_driver *drv); argument
137 void driver_unregister(struct device_driver *drv);
139 struct device_driver *driver_find(const char *name, const struct bus_type *bus);
148 ssize_t (*show)(struct device_driver *driver, char *buf);
149 ssize_t (*store)(struct device_driver *driver, const char *buf,
160 int __must_check driver_create_file(const struct device_driver *driver,
162 void driver_remove_file(const struct device_driver *driver,
165 int __must_check driver_for_each_device(struct device_driver *drv, struct device *start,
167 struct device *driver_find_device(const struct device_driver *drv,
[all …]
/linux/lib/kunit/
H A Ddevice.c23 KUNIT_DEFINE_ACTION_WRAPPER(driver_unregister_wrapper, driver_unregister, struct device_driver *);
34 const struct device_driver *driver;
82 struct device_driver *kunit_driver_create(struct kunit *test, const char *name) in kunit_driver_create()
84 struct device_driver *driver; in kunit_driver_create()
150 const struct device_driver *drv) in kunit_device_register_with_driver()
167 struct device_driver *drv; in kunit_device_register()
191 const struct device_driver *driver = to_kunit_device(dev)->driver; in kunit_device_unregister()
/linux/include/kunit/
H A Ddevice.h19 struct device_driver;
31 struct device_driver *kunit_driver_create(struct kunit *test, const char *name);
65 const struct device_driver *drv);
/linux/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);
/linux/Documentation/driver-api/driver-model/
H A Ddriver.rst5 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;
82 int driver_register(struct device_driver *drv);
87 struct device_driver object.
94 struct device_driver object, including the reference count and the
120 int driver_for_each_dev(struct device_driver *drv, void *data,
[all …]
H A Dporting.rst230 struct device_driver is a simple driver structure that contains a set
234 - Embed a struct device_driver in the bus-specific driver.
240 struct device_driver driver;
283 struct device_driver defines a set of operations that the driver model
343 int (*match)(struct device * dev, struct device_driver * drv);
426 int bus_for_each_drv(struct bus_type * bus, struct device_driver * start,
427 void * data, int (*fn)(struct device_driver *, void *));
443 Some of the fields in struct device and struct device_driver duplicate
/linux/drivers/dma/idxd/
H A Dcompat.c16 static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count) in unbind_store()
37 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count) in bind_store()
41 struct device_driver *alt_drv = NULL; in bind_store()
H A Dbus.c13 struct device_driver *drv = &idxd_drv->drv; in __idxd_driver_register()
36 const struct device_driver *drv) in idxd_config_bus_match()
/linux/include/linux/raspberrypi/
H A Dvchiq_bus.h27 struct device_driver driver;
35 static inline struct vchiq_driver *to_vchiq_driver(struct device_driver *d) in to_vchiq_driver()
/linux/include/linux/
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()
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 Dof_device.h21 const struct device_driver *drv) in of_driver_match_device()
46 const struct device_driver *drv) in of_driver_match_device()
H A Dauxiliary_bus.h200 struct device_driver driver;
219 static inline const struct auxiliary_driver *to_auxiliary_drv(const struct device_driver *drv) in to_auxiliary_drv()
H A Dspmi.h144 struct device_driver driver;
150 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver()
/linux/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()
/linux/drivers/usb/serial/
H A Dbus.c17 const struct device_driver *drv) in usb_serial_device_match()
106 static ssize_t new_id_store(struct device_driver *driver, in new_id_store()
121 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show()
/linux/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c198 struct device_driver *drv = data; in is_device_connecting()
230 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device()
235 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device()
244 struct device_driver *drv = data; in print_device_status()
302 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
/linux/drivers/net/phy/
H A Dmdio_device.c236 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe()
257 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove()
272 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown()
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt356 ssize_t (*show)(struct device_driver *, char * buf);
357 ssize_t (*store)(struct device_driver *, const char * buf,
367 int driver_create_file(struct device_driver *, const struct driver_attribute *);
368 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt353 ssize_t (*show)(struct device_driver *, char * buf);
354 ssize_t (*store)(struct device_driver *, const char * buf,
364 int driver_create_file(struct device_driver *, const struct driver_attribute *);
365 void driver_remove_file(struct device_driver *, const struct driver_attribute *);
/linux/tools/usb/usbip/libsrc/
H A Dusbip_device_driver.c151 struct usbip_host_driver device_driver = { variable
152 .edev_list = LIST_HEAD_INIT(device_driver.edev_list),
H A Dusbip_device_driver.h20 extern struct usbip_host_driver device_driver;
/linux/drivers/scsi/
H A Dscsi_debug.c971 static struct device_driver sdebug_driverfs_driver = {
7592 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show()
7599 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store()
7633 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show()
7639 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store()
7676 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show()
7681 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store()
7705 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show()
7709 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store()
7728 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show()
[all …]
/linux/tools/virtio/linux/
H A Ddevice.h8 struct device_driver { struct
/linux/drivers/usb/usbip/
H A Dstub_main.c149 static ssize_t match_busid_show(struct device_driver *drv, char *buf) in match_busid_show()
167 static ssize_t match_busid_store(struct device_driver *dev, const char *buf, in match_busid_store()
242 static ssize_t rebind_store(struct device_driver *dev, const char *buf, in rebind_store()

12345678910