| /drivers/base/ |
| A D | base.h | 84 struct device_driver *driver; 116 const struct device_driver *async_driver; 158 int bus_add_driver(struct device_driver *drv); 159 void bus_remove_driver(struct device_driver *drv); 163 void driver_detach(const struct device_driver *drv); 166 static inline int driver_match_device(const struct device_driver *drv, in driver_match_device() 197 WRITE_ONCE(dev->driver, (struct device_driver *)drv); in device_set_driver() 213 int module_add_driver(struct module *mod, const struct device_driver *drv); 214 void module_remove_driver(const struct device_driver *drv); 217 struct device_driver *drv) in module_add_driver() [all …]
|
| A D | driver.c | 117 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() 151 struct device *driver_find_device(const struct device_driver *drv, in driver_find_device() 179 int driver_create_file(const struct device_driver *drv, in driver_create_file() 197 void driver_remove_file(const struct device_driver *drv, in driver_remove_file() 205 int driver_add_groups(const struct device_driver *drv, in driver_add_groups() 211 void driver_remove_groups(const struct device_driver *drv, in driver_remove_groups() 225 int driver_register(struct device_driver *drv) in driver_register() 228 struct device_driver *other; in driver_register() 270 void driver_unregister(struct device_driver *drv) in driver_unregister()
|
| A D | dd.c | 471 struct device_driver *drv = dev->driver; in driver_sysfs_remove() 605 static int really_probe(struct device *dev, const struct device_driver *drv) in really_probe() 869 static bool driver_allows_async_probing(const struct device_driver *drv) in driver_allows_async_probing() 922 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver() 1123 int device_driver_attach(const struct device_driver *drv, struct device *dev) in device_driver_attach() 1143 const struct device_driver *drv; in __driver_attach_async_helper() 1159 const struct device_driver *drv = data; in __driver_attach() 1232 int driver_attach(const struct device_driver *drv) in driver_attach() 1245 struct device_driver *drv; in __device_release_driver() 1291 const struct device_driver *drv, in device_release_driver_internal() [all …]
|
| A D | module.c | 12 static char *make_driver_name(const struct device_driver *drv) in make_driver_name() 33 int module_add_driver(struct module *mod, const struct device_driver *drv) in module_add_driver() 93 void module_remove_driver(const struct device_driver *drv) in module_remove_driver()
|
| A D | bus.c | 235 static ssize_t unbind_store(struct device_driver *drv, const char *buf, in unbind_store() 258 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(const 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 453 struct device_driver *drv; in bus_for_each_drv() 590 static int __must_check add_bind_files(struct device_driver *drv) in add_bind_files() 603 static void remove_bind_files(struct device_driver *drv) in remove_bind_files() 633 static ssize_t uevent_store(struct device_driver *drv, const char *buf, in uevent_store() 647 int bus_add_driver(struct device_driver *drv) in bus_add_driver() [all …]
|
| A D | platform.c | 1125 const struct device_driver *drv = dev->driver; in platform_pm_suspend() 1143 const struct device_driver *drv = dev->driver; in platform_pm_resume() 1165 const struct device_driver *drv = dev->driver; in platform_pm_freeze() 1183 const struct device_driver *drv = dev->driver; in platform_pm_thaw() 1201 const struct device_driver *drv = dev->driver; in platform_pm_poweroff() 1219 const struct device_driver *drv = dev->driver; in platform_pm_restore() 1335 static int platform_match(struct device *dev, const struct device_driver *drv) in platform_match() 1440 struct device_driver *drv = READ_ONCE(dev->driver); in platform_dma_configure() 1491 return platform_match(dev, (struct device_driver *)drv); in __platform_match() 1501 const struct device_driver *drv) in platform_find_device_by_driver()
|
| A D | faux.c | 36 static int faux_match(struct device *dev, const struct device_driver *drv) in faux_match() 85 static struct device_driver faux_driver = {
|
| /drivers/tty/serial/ |
| A D | serial_base.h | 14 struct device_driver; 37 int serial_base_driver_register(struct device_driver *driver); 38 void serial_base_driver_unregister(struct device_driver *driver);
|
| A D | serial_base_bus.c | 33 static int serial_base_match(struct device *dev, const struct device_driver *drv) in serial_base_match() 51 int serial_base_driver_register(struct device_driver *driver) in serial_base_driver_register() 58 void serial_base_driver_unregister(struct device_driver *driver) in serial_base_driver_unregister()
|
| A D | serial_ctrl.c | 49 static struct device_driver serial_ctrl_driver = {
|
| /drivers/net/phy/ |
| A D | mdio_device.c | 39 const struct device_driver *drv) in mdio_device_bus_match() 159 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() 180 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() 195 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown()
|
| /drivers/dma/idxd/ |
| A D | compat.c | 16 static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count) in unbind_store() 32 static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count) in bind_store() 36 struct device_driver *alt_drv = NULL; in bind_store()
|
| A D | bus.c | 13 struct device_driver *drv = &idxd_drv->drv; in __idxd_driver_register() 36 const struct device_driver *drv) in idxd_config_bus_match()
|
| /drivers/xen/xenbus/ |
| A D | xenbus_probe_frontend.c | 200 struct device_driver *drv = data; in is_device_connecting() 232 static int exists_essential_connecting_device(struct device_driver *drv) in exists_essential_connecting_device() 237 static int exists_non_essential_connecting_device(struct device_driver *drv) in exists_non_essential_connecting_device() 246 struct device_driver *drv = data; in print_device_status() 304 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices()
|
| /drivers/usb/serial/ |
| A D | bus.c | 17 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()
|
| /drivers/staging/vc04_services/interface/vchiq_arm/ |
| A D | vchiq_bus.h | 27 struct device_driver driver; 35 static inline struct vchiq_driver *to_vchiq_driver(struct device_driver *d) in to_vchiq_driver()
|
| /drivers/scsi/ |
| A D | scsi_debug.c | 1023 static struct device_driver sdebug_driverfs_driver = { 7614 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show() 7655 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show() 7698 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show() 7728 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show() 8191 static ssize_t dix_show(struct device_driver *ddp, char *buf) in dix_show() 8197 static ssize_t dif_show(struct device_driver *ddp, char *buf) in dif_show() 8203 static ssize_t guard_show(struct device_driver *ddp, char *buf) in guard_show() 8209 static ssize_t ato_show(struct device_driver *ddp, char *buf) in ato_show() 8215 static ssize_t map_show(struct device_driver *ddp, char *buf) in map_show() [all …]
|
| /drivers/xen/xen-pciback/ |
| A D | pci_stub.c | 1215 static ssize_t new_slot_store(struct device_driver *drv, const char *buf, in new_slot_store() 1234 static ssize_t remove_slot_store(struct device_driver *drv, const char *buf, in remove_slot_store() 1253 static ssize_t slots_show(struct device_driver *drv, char *buf) in slots_show() 1276 static ssize_t irq_handlers_show(struct device_driver *drv, char *buf) in irq_handlers_show() 1305 static ssize_t irq_handler_state_store(struct device_driver *drv, in irq_handler_state_store() 1345 static ssize_t quirks_store(struct device_driver *drv, const char *buf, in quirks_store() 1364 static ssize_t quirks_show(struct device_driver *drv, char *buf) in quirks_show() 1409 static ssize_t permissive_store(struct device_driver *drv, const char *buf, in permissive_store() 1449 static ssize_t permissive_show(struct device_driver *drv, char *buf) in permissive_show() 1473 static ssize_t allow_interrupt_control_store(struct device_driver *drv, in allow_interrupt_control_store() [all …]
|
| /drivers/usb/usbip/ |
| A D | stub_main.c | 149 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()
|
| /drivers/input/rmi4/ |
| A D | rmi_bus.c | 147 static int rmi_function_match(struct device *dev, const struct device_driver *drv) in rmi_function_match() 301 struct device_driver *driver = &handler->driver; in __rmi_register_function_handler() 336 static int rmi_bus_match(struct device *dev, const struct device_driver *drv) in rmi_bus_match()
|
| /drivers/bcma/ |
| A D | main.c | 29 static int bcma_bus_match(struct device *dev, const struct device_driver *drv); 538 struct device_driver *drv = core->dev.driver; in bcma_bus_suspend() 559 struct device_driver *drv = core->dev.driver; in bcma_bus_resume() 587 static int bcma_bus_match(struct device *dev, const struct device_driver *drv) in bcma_bus_match()
|
| /drivers/base/power/ |
| A D | generic_ops.c | 60 struct device_driver *drv = dev->driver; in pm_generic_prepare() 269 struct device_driver *drv = dev->driver; in pm_generic_complete()
|
| /drivers/input/serio/ |
| A D | serio.c | 356 struct device_driver *drv; in drvctl_store() 704 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show() 711 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show() 717 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store() 851 static int serio_bus_match(struct device *dev, const struct device_driver *drv) in serio_bus_match()
|
| /drivers/firmware/arm_scmi/ |
| A D | bus.c | 225 static int scmi_dev_match(struct device *dev, const struct device_driver *drv) in scmi_dev_match() 328 const struct device_driver *drv = dev->driver; in scmi_pm_suspend() 338 const struct device_driver *drv = dev->driver; in scmi_pm_resume()
|
| /drivers/usb/core/ |
| A D | driver.c | 44 struct device_driver *driver, in usb_store_new_id() 132 static ssize_t new_id_show(struct device_driver *driver, char *buf) in new_id_show() 139 static ssize_t new_id_store(struct device_driver *driver, in new_id_store() 151 static ssize_t remove_id_store(struct device_driver *driver, const char *buf, in remove_id_store() 178 static ssize_t remove_id_show(struct device_driver *driver, char *buf) in remove_id_show() 868 static int usb_device_match(struct device *dev, const struct device_driver *drv) in usb_device_match() 977 bool is_usb_device_driver(const struct device_driver *drv) in is_usb_device_driver()
|