Symbol: device_driver
arch/arm/common/locomo.c
819
static int locomo_match(struct device *_dev, const struct device_driver *_drv)
arch/arm/common/sa1111.c
1346
static int sa1111_match(struct device *_dev, const struct device_driver *_drv)
arch/arm/include/asm/ecard.h
208
struct device_driver drv;
arch/arm/include/asm/hardware/locomo.h
186
struct device_driver drv;
arch/arm/include/asm/hardware/sa1111.h
401
struct device_driver drv;
arch/arm/mach-rpc/ecard.c
1112
static int ecard_match(struct device *_dev, const struct device_driver *_drv)
arch/mips/include/asm/cdmm.h
43
struct device_driver drv;
arch/mips/include/asm/gio_device.h
31
struct device_driver driver;
arch/mips/sgi-ip22/ip22-gio.c
114
static int gio_bus_match(struct device *dev, const struct device_driver *drv)
arch/parisc/include/asm/parisc-device.h
39
struct device_driver drv;
arch/parisc/kernel/drivers.c
551
static int parisc_generic_match(struct device *dev, const struct device_driver *drv)
arch/powerpc/include/asm/macio.h
138
struct device_driver driver;
arch/powerpc/include/asm/ps3.h
381
struct device_driver core;
arch/powerpc/include/asm/vio.h
123
struct device_driver driver;
arch/powerpc/platforms/ps3/system-bus.c
336
const struct device_driver *_drv)
arch/powerpc/platforms/pseries/ibmebus.c
343
static int ibmebus_bus_bus_match(struct device *dev, const struct device_driver *drv)
arch/powerpc/platforms/pseries/vio.c
1581
static int vio_bus_match(struct device *dev, const struct device_driver *drv)
arch/s390/include/asm/ccwdev.h
145
struct device_driver driver;
arch/s390/include/asm/ccwgroup.h
48
struct device_driver driver;
arch/s390/include/asm/eadm.h
107
struct device_driver drv;
arch/sh/drivers/platform_early.c
24
static int platform_match(struct device *dev, struct device_driver *drv)
arch/sparc/include/asm/vio.h
368
struct device_driver driver;
arch/sparc/kernel/vio.c
58
static int vio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/acpi/bus.c
1045
const struct device_driver *drv)
drivers/acpi/bus.c
1101
static int acpi_bus_match(struct device *dev, const struct device_driver *drv)
drivers/acpi/processor_driver.c
45
static struct device_driver acpi_processor_driver = {
drivers/amba/bus.c
208
static int amba_match(struct device *dev, const struct device_driver *drv)
drivers/ata/pata_parport/pata_parport.c
640
struct device_driver *drv;
drivers/ata/pata_parport/pata_parport.h
76
struct device_driver driver;
drivers/base/auxiliary.c
191
static int auxiliary_match(struct device *dev, const struct device_driver *drv)
drivers/base/base.h
129
const struct device_driver *async_driver;
drivers/base/base.h
174
int bus_add_driver(struct device_driver *drv);
drivers/base/base.h
175
void bus_remove_driver(struct device_driver *drv);
drivers/base/base.h
176
void device_release_driver_internal(struct device *dev, const struct device_driver *drv,
drivers/base/base.h
179
void driver_detach(const struct device_driver *drv);
drivers/base/base.h
182
static inline int driver_match_device(const struct device_driver *drv,
drivers/base/base.h
196
int driver_add_groups(const struct device_driver *drv, const struct attribute_group **groups);
drivers/base/base.h
197
void driver_remove_groups(const struct device_driver *drv, const struct attribute_group **groups);
drivers/base/base.h
200
static inline void device_set_driver(struct device *dev, const struct device_driver *drv)
drivers/base/base.h
213
WRITE_ONCE(dev->driver, (struct device_driver *)drv);
drivers/base/base.h
233
int module_add_driver(struct module *mod, const struct device_driver *drv);
drivers/base/base.h
234
void module_remove_driver(const struct device_driver *drv);
drivers/base/base.h
237
struct device_driver *drv)
drivers/base/base.h
241
static inline void module_remove_driver(struct device_driver *drv) { }
drivers/base/base.h
84
struct device_driver *driver;
drivers/base/bus.c
1402
struct device_driver *driver_find(const char *name, const struct bus_type *bus)
drivers/base/bus.c
235
static ssize_t unbind_store(struct device_driver *drv, const char *buf,
drivers/base/bus.c
258
static ssize_t bind_store(struct device_driver *drv, const char *buf,
drivers/base/bus.c
455
static struct device_driver *next_driver(struct klist_iter *i)
drivers/base/bus.c
486
int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start,
drivers/base/bus.c
487
void *data, int (*fn)(struct device_driver *, void *))
drivers/base/bus.c
491
struct device_driver *drv;
drivers/base/bus.c
668
static int __must_check add_bind_files(struct device_driver *drv)
drivers/base/bus.c
681
static void remove_bind_files(struct device_driver *drv)
drivers/base/bus.c
711
static ssize_t uevent_store(struct device_driver *drv, const char *buf,
drivers/base/bus.c
725
int bus_add_driver(struct device_driver *drv)
drivers/base/bus.c
811
void bus_remove_driver(struct device_driver *drv)
drivers/base/core.c
2400
struct device_driver *drv;
drivers/base/core.c
2645
struct device_driver *drv = READ_ONCE(dev->driver);
drivers/base/cpu.c
29
static int cpu_subsys_match(struct device *dev, const struct device_driver *drv)
drivers/base/dd.c
1193
int device_driver_attach(const struct device_driver *drv, struct device *dev)
drivers/base/dd.c
1213
const struct device_driver *drv;
drivers/base/dd.c
1229
const struct device_driver *drv = data;
drivers/base/dd.c
1302
int driver_attach(const struct device_driver *drv)
drivers/base/dd.c
1315
struct device_driver *drv;
drivers/base/dd.c
1361
const struct device_driver *drv,
drivers/base/dd.c
1410
void driver_detach(const struct device_driver *drv)
drivers/base/dd.c
531
struct device_driver *drv = dev->driver;
drivers/base/dd.c
636
static int call_driver_probe(struct device *dev, const struct device_driver *drv)
drivers/base/dd.c
667
static int really_probe(struct device *dev, const struct device_driver *drv)
drivers/base/dd.c
795
static int really_probe_debug(struct device *dev, const struct device_driver *drv)
drivers/base/dd.c
842
static int __driver_probe_device(const struct device_driver *drv, struct device *dev)
drivers/base/dd.c
887
static int driver_probe_device(const struct device_driver *drv, struct device *dev)
drivers/base/dd.c
931
static bool driver_allows_async_probing(const struct device_driver *drv)
drivers/base/dd.c
984
static int __device_attach_driver(struct device_driver *drv, void *_data)
drivers/base/driver.c
117
int driver_for_each_device(struct device_driver *drv, struct device *start,
drivers/base/driver.c
151
struct device *driver_find_device(const struct device_driver *drv,
drivers/base/driver.c
179
int driver_create_file(const struct device_driver *drv,
drivers/base/driver.c
197
void driver_remove_file(const struct device_driver *drv,
drivers/base/driver.c
205
int driver_add_groups(const struct device_driver *drv,
drivers/base/driver.c
211
void driver_remove_groups(const struct device_driver *drv,
drivers/base/driver.c
225
int driver_register(struct device_driver *drv)
drivers/base/driver.c
228
struct device_driver *other;
drivers/base/driver.c
270
void driver_unregister(struct device_driver *drv)
drivers/base/faux.c
34
static int faux_match(struct device *dev, const struct device_driver *drv)
drivers/base/faux.c
83
static struct device_driver faux_driver = {
drivers/base/isa.c
26
static int isa_bus_match(struct device *dev, const struct device_driver *driver)
drivers/base/module.c
12
static char *make_driver_name(const struct device_driver *drv)
drivers/base/module.c
33
int module_add_driver(struct module *mod, const struct device_driver *drv)
drivers/base/module.c
93
void module_remove_driver(const struct device_driver *drv)
drivers/base/platform.c
1165
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1183
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1205
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1223
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1241
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1259
const struct device_driver *drv = dev->driver;
drivers/base/platform.c
1346
static int platform_match(struct device *dev, const struct device_driver *drv)
drivers/base/platform.c
1453
struct device_driver *drv = READ_ONCE(dev->driver);
drivers/base/platform.c
1505
return platform_match(dev, (struct device_driver *)drv);
drivers/base/platform.c
1515
const struct device_driver *drv)
drivers/base/power/generic_ops.c
234
struct device_driver *drv = dev->driver;
drivers/base/power/generic_ops.c
57
struct device_driver *drv = dev->driver;
drivers/bcma/main.c
29
static int bcma_bus_match(struct device *dev, const struct device_driver *drv);
drivers/bcma/main.c
544
struct device_driver *drv = core->dev.driver;
drivers/bcma/main.c
565
struct device_driver *drv = core->dev.driver;
drivers/bcma/main.c
593
static int bcma_bus_match(struct device *dev, const struct device_driver *drv)
drivers/bus/fsl-mc/fsl-mc-bus.c
171
const struct device_driver *drv = READ_ONCE(dev->driver);
drivers/bus/fsl-mc/fsl-mc-bus.c
83
static int fsl_mc_bus_match(struct device *dev, const struct device_driver *drv)
drivers/bus/mhi/ep/main.c
1649
struct device_driver *driver = &mhi_drv->driver;
drivers/bus/mhi/ep/main.c
1679
static int mhi_ep_match(struct device *dev, const struct device_driver *drv)
drivers/bus/mhi/host/init.c
1260
struct device_driver *drv = dev->driver;
drivers/bus/mhi/host/init.c
1402
struct device_driver *driver = &mhi_drv->driver;
drivers/bus/mhi/host/init.c
1428
static int mhi_match(struct device *dev, const struct device_driver *drv)
drivers/bus/mips_cdmm.c
62
static int mips_cdmm_match(struct device *dev, const struct device_driver *drv)
drivers/bus/moxtet.c
87
static int moxtet_match(struct device *dev, const struct device_driver *drv)
drivers/bus/sunxi-rsb.c
133
static int sunxi_rsb_device_match(struct device *dev, const struct device_driver *drv)
drivers/cdx/cdx.c
265
static int cdx_bus_match(struct device *dev, const struct device_driver *drv)
drivers/char/ipmi/ipmi_msghandler.c
3020
static struct bmc_device *ipmi_find_bmc_guid(struct device_driver *drv,
drivers/char/ipmi/ipmi_msghandler.c
3060
struct device_driver *drv,
drivers/char/ppdev.c
827
struct device_driver *drv = par_dev->dev.driver;
drivers/crypto/intel/iaa/iaa_crypto_main.c
103
static ssize_t verify_compress_store(struct device_driver *driver,
drivers/crypto/intel/iaa/iaa_crypto_main.c
187
static ssize_t sync_mode_show(struct device_driver *driver, char *buf)
drivers/crypto/intel/iaa/iaa_crypto_main.c
201
static ssize_t sync_mode_store(struct device_driver *driver,
drivers/crypto/intel/iaa/iaa_crypto_main.c
98
static ssize_t verify_compress_show(struct device_driver *driver, char *buf)
drivers/cxl/core/port.c
2250
static int cxl_bus_match(struct device *dev, const struct device_driver *drv)
drivers/cxl/cxl.h
898
struct device_driver drv;
drivers/dax/bus.c
135
static ssize_t new_id_store(struct device_driver *drv, const char *buf,
drivers/dax/bus.c
142
static ssize_t remove_id_store(struct device_driver *drv, const char *buf,
drivers/dax/bus.c
1551
struct device_driver *drv = &dax_drv->drv;
drivers/dax/bus.c
156
static int dax_bus_match(struct device *dev, const struct device_driver *drv);
drivers/dax/bus.c
1572
struct device_driver *drv = &dax_drv->drv;
drivers/dax/bus.c
250
static int dax_bus_match(struct device *dev, const struct device_driver *drv)
drivers/dax/bus.c
92
static ssize_t do_id_store(struct device_driver *drv, const char *buf,
drivers/dax/bus.h
37
struct device_driver drv;
drivers/dio/dio-driver.c
113
static int dio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/dma/idxd/bus.c
13
struct device_driver *drv = &idxd_drv->drv;
drivers/dma/idxd/bus.c
36
const struct device_driver *drv)
drivers/dma/idxd/compat.c
16
static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count)
drivers/dma/idxd/compat.c
37
static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count)
drivers/dma/idxd/compat.c
41
struct device_driver *alt_drv = NULL;
drivers/dma/idxd/idxd.h
77
struct device_driver drv;
drivers/dma/idxd/init.c
792
static int idxd_bind(struct device_driver *drv, const char *buf)
drivers/dma/idxd/init.c
810
static void idxd_unbind(struct device_driver *drv, const char *buf)
drivers/dma/ppc4xx/adma.c
4292
static ssize_t devices_show(struct device_driver *dev, char *buf)
drivers/dma/ppc4xx/adma.c
4307
static ssize_t enable_show(struct device_driver *dev, char *buf)
drivers/dma/ppc4xx/adma.c
4313
static ssize_t enable_store(struct device_driver *dev, const char *buf,
drivers/dma/ppc4xx/adma.c
4347
static ssize_t poly_show(struct device_driver *dev, char *buf)
drivers/dma/ppc4xx/adma.c
4366
static ssize_t poly_store(struct device_driver *dev, const char *buf,
drivers/eisa/eisa-bus.c
108
static int eisa_bus_match(struct device *dev, const struct device_driver *drv)
drivers/firewire/core-device.c
192
const struct device_driver *drv)
drivers/firewire/core-device.c
209
static int fw_unit_match(struct device *dev, const struct device_driver *drv)
drivers/firmware/arm_ffa/bus.c
22
static int ffa_device_match(struct device *dev, const struct device_driver *drv)
drivers/firmware/arm_scmi/bus.c
225
static int scmi_dev_match(struct device *dev, const struct device_driver *drv)
drivers/firmware/arm_scmi/bus.c
328
const struct device_driver *drv = dev->driver;
drivers/firmware/arm_scmi/bus.c
338
const struct device_driver *drv = dev->driver;
drivers/firmware/google/coreboot_table.c
27
static int coreboot_bus_match(struct device *dev, const struct device_driver *drv)
drivers/firmware/google/coreboot_table.h
96
struct device_driver drv;
drivers/fpga/altera-cvp.c
536
static ssize_t chkcfg_show(struct device_driver *dev, char *buf)
drivers/fpga/altera-cvp.c
541
static ssize_t chkcfg_store(struct device_driver *drv, const char *buf,
drivers/fpga/dfl.c
248
static int dfl_bus_match(struct device *dev, const struct device_driver *drv)
drivers/fsi/fsi-core.c
105
static int fsi_bus_match(struct device *dev, const struct device_driver *drv)
drivers/fsi/fsi-core.c
1420
struct device_driver *driver = dev->driver;
drivers/fsi/fsi-core.c
1428
struct device_driver *driver = dev->driver;
drivers/gpio/gpio-aggregator.c
1439
static ssize_t gpio_aggregator_new_device_store(struct device_driver *driver,
drivers/gpio/gpio-aggregator.c
1532
static ssize_t gpio_aggregator_delete_device_store(struct device_driver *driver,
drivers/gpio/gpiolib.c
5276
static struct device_driver gpio_stub_drv = {
drivers/gpio/gpiolib.c
60
static int gpio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/gpu/drm/display/drm_dp_aux_bus.c
40
static int dp_aux_ep_match(struct device *dev, const struct device_driver *drv)
drivers/gpu/drm/drm_mipi_dsi.c
54
static int mipi_dsi_device_match(struct device *dev, const struct device_driver *drv)
drivers/gpu/drm/mcde/mcde_drv.c
392
struct device_driver *drv = &mcde_component_drivers[i]->driver;
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
317
struct device_driver *drv;
drivers/gpu/drm/vc4/vc4_drv.c
259
struct device_driver *drv = &drivers[i]->driver;
drivers/gpu/drm/xe/xe_configfs.c
930
struct device_driver *driver = driver_find("xe", &pci_bus_type);
drivers/gpu/host1x/bus.c
331
static int host1x_device_match(struct device *dev, const struct device_driver *drv)
drivers/greybus/core.c
93
static int greybus_match_device(struct device *dev, const struct device_driver *drv)
drivers/hid/hid-core.c
2600
static ssize_t new_id_store(struct device_driver *drv, const char *buf,
drivers/hid/hid-core.c
2670
static int hid_bus_match(struct device *dev, const struct device_driver *drv)
drivers/hid/hid-core.c
3050
static int __hid_bus_driver_added(struct device_driver *drv, void *data)
drivers/hid/hid-core.c
3062
static int __bus_removed_driver(struct device_driver *drv, void *data)
drivers/hid/hid-generic.c
26
static int __check_hid_generic(struct device_driver *drv, void *data)
drivers/hid/intel-ish-hid/ishtp/bus.c
239
static int ishtp_cl_bus_match(struct device *dev, const struct device_driver *drv)
drivers/hsi/hsi_core.c
40
static int hsi_bus_match(struct device *dev, const struct device_driver *driver)
drivers/hv/vmbus_drv.c
789
static ssize_t new_id_store(struct device_driver *driver, const char *buf,
drivers/hv/vmbus_drv.c
815
static ssize_t remove_id_store(struct device_driver *driver, const char *buf,
drivers/hv/vmbus_drv.c
856
static int vmbus_match(struct device *device, const struct device_driver *driver)
drivers/hwtracing/intel_th/core.c
29
static int intel_th_match(struct device *dev, const struct device_driver *driver)
drivers/hwtracing/intel_th/intel_th.h
160
struct device_driver driver;
drivers/i2c/i2c-core-base.c
139
static int i2c_device_match(struct device *dev, const struct device_driver *drv)
drivers/i2c/i2c-core-base.c
1433
static int __process_new_adapter(struct device_driver *d, void *data)
drivers/i2c/i2c-core-base.c
1741
static int __process_removed_adapter(struct device_driver *d, void *data)
drivers/i3c/master.c
338
static int i3c_device_match(struct device *dev, const struct device_driver *drv)
drivers/input/gameport/gameport.c
470
struct device_driver *drv;
drivers/input/gameport/gameport.c
710
static ssize_t description_show(struct device_driver *drv, char *buf)
drivers/input/gameport/gameport.c
811
static int gameport_bus_match(struct device *dev, const struct device_driver *drv)
drivers/input/rmi4/rmi_bus.c
148
static int rmi_function_match(struct device *dev, const struct device_driver *drv)
drivers/input/rmi4/rmi_bus.c
302
struct device_driver *driver = &handler->driver;
drivers/input/rmi4/rmi_bus.c
337
static int rmi_bus_match(struct device *dev, const struct device_driver *drv)
drivers/input/rmi4/rmi_bus.h
76
struct device_driver driver;
drivers/input/rmi4/rmi_driver.c
1262
bool rmi_is_physical_driver(const struct device_driver *drv)
drivers/input/rmi4/rmi_driver.h
87
bool rmi_is_physical_driver(const struct device_driver *);
drivers/input/serio/serio.c
357
struct device_driver *drv;
drivers/input/serio/serio.c
705
static ssize_t description_show(struct device_driver *drv, char *buf)
drivers/input/serio/serio.c
712
static ssize_t bind_mode_show(struct device_driver *drv, char *buf)
drivers/input/serio/serio.c
718
static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count)
drivers/input/serio/serio.c
852
static int serio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/input/touchscreen/wm97xx-core.c
863
static struct device_driver wm97xx_driver = {
drivers/ipack/ipack.c
52
static int ipack_bus_match(struct device *dev, const struct device_driver *drv)
drivers/macintosh/macio_asic.c
39
static int macio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/mailbox/zynqmp-ipi-mailbox.c
145
static struct device_driver zynqmp_ipi_mbox_driver = {
drivers/mcb/mcb-core.c
31
static int mcb_match(struct device *dev, const struct device_driver *drv)
drivers/media/pci/bt8xx/bttv-gpio.c
31
static int bttv_sub_bus_match(struct device *dev, const struct device_driver *drv)
drivers/media/pci/bt8xx/bttv.h
339
struct device_driver drv;
drivers/media/pci/cx18/cx18-alsa-main.c
260
struct device_driver *drv;
drivers/media/pci/cx25821/cx25821-alsa.c
787
struct device_driver *drv = driver_find("cx25821", &pci_bus_type);
drivers/media/pci/cx25821/cx25821-alsa.c
813
struct device_driver *drv = driver_find("cx25821", &pci_bus_type);
drivers/media/pci/ivtv/ivtv-alsa-main.c
260
struct device_driver *drv;
drivers/media/pci/ivtv/ivtvfb.c
1269
struct device_driver *drv;
drivers/media/pci/ivtv/ivtvfb.c
1292
struct device_driver *drv;
drivers/memstick/core/memstick.c
41
static int memstick_bus_match(struct device *dev, const struct device_driver *drv)
drivers/mfd/mcp-core.c
23
static int mcp_bus_match(struct device *dev, const struct device_driver *drv)
drivers/misc/mei/bus.c
1088
static int mei_cl_device_match(struct device *dev, const struct device_driver *drv)
drivers/misc/sgi-gru/grumain.c
26
static struct device_driver gru_driver = {
drivers/misc/sgi-xp/xp_main.c
24
static struct device_driver xp_dbg_name = {
drivers/misc/sgi-xp/xpc_main.c
63
static struct device_driver xpc_dbg_name = {
drivers/misc/sgi-xp/xpnet.c
135
static struct device_driver xpnet_dbg_name = {
drivers/misc/tifm_core.c
41
static int tifm_bus_match(struct device *dev, const struct device_driver *drv)
drivers/mmc/core/bus.h
34
struct device_driver drv;
drivers/mmc/core/sdio_bus.c
111
static int sdio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/mmc/core/sdio_bus.c
277
struct device_driver *driver = dev->driver;
drivers/most/core.c
494
static int most_match(struct device *dev, const struct device_driver *drv)
drivers/most/core.c
507
static ssize_t links_show(struct device_driver *drv, char *buf)
drivers/most/core.c
515
static ssize_t components_show(struct device_driver *drv, char *buf)
drivers/most/core.c
730
static struct device_driver mostbus_driver = {
drivers/net/dsa/dsa_loop.c
399
const struct device_driver *drv)
drivers/net/ethernet/ibm/ehea/ehea_main.c
3523
static ssize_t capabilities_show(struct device_driver *drv, char *buf)
drivers/net/hamradio/baycom_epp.c
1183
struct device_driver *drv = par_dev->dev.driver;
drivers/net/hamradio/baycom_par.c
494
struct device_driver *drv = par_dev->dev.driver;
drivers/net/netdevsim/bus.c
494
static struct device_driver nsim_driver = {
drivers/net/phy/mdio_bus.c
958
static int mdio_bus_match(struct device *dev, const struct device_driver *drv)
drivers/net/phy/mdio_device.c
204
struct device_driver *drv = mdiodev->dev.driver;
drivers/net/phy/mdio_device.c
225
struct device_driver *drv = mdiodev->dev.driver;
drivers/net/phy/mdio_device.c
240
struct device_driver *drv = mdiodev->dev.driver;
drivers/net/phy/phy_device.c
303
struct device_driver *drv = phydev->mdio.dev.driver;
drivers/net/phy/phy_device.c
3665
struct device_driver *drv = phydev->mdio.dev.driver;
drivers/net/phy/phy_device.c
546
static int phy_bus_match(struct device *dev, const struct device_driver *drv)
drivers/net/plip/plip.c
1347
struct device_driver *drv = par_dev->dev.driver;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
1588
struct device_driver *drv = &brcmf_usbdrvr.driver;
drivers/net/wireless/intel/ipw2x00/ipw2100.c
4127
static ssize_t debug_level_show(struct device_driver *d, char *buf)
drivers/net/wireless/intel/ipw2x00/ipw2100.c
4132
static ssize_t debug_level_store(struct device_driver *d,
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1171
static ssize_t debug_level_show(struct device_driver *d, char *buf)
drivers/net/wireless/intel/ipw2x00/ipw2200.c
1176
static ssize_t debug_level_store(struct device_driver *d, const char *buf,
drivers/ntb/ntb_transport.c
308
const struct device_driver *drv)
drivers/nvdimm/bus.c
272
static int nvdimm_bus_match(struct device *dev, const struct device_driver *drv);
drivers/nvdimm/bus.c
468
static int nvdimm_bus_match(struct device *dev, const struct device_driver *drv)
drivers/nvdimm/bus.c
603
struct device_driver *drv = &nd_drv->drv;
drivers/nvmem/layouts.c
24
static int nvmem_layout_bus_match(struct device *dev, const struct device_driver *drv)
drivers/parport/daisy.c
87
struct device_driver *drv = par_dev->dev.driver;
drivers/parport/share.c
152
static int driver_check(struct device_driver *dev_drv, void *_port)
drivers/parport/share.c
175
static int driver_detach(struct device_driver *_drv, void *_port)
drivers/pci/endpoint/pci-epf-core.c
637
static int pci_epf_device_match(struct device *dev, const struct device_driver *drv)
drivers/pci/pci-driver.c
1533
static int pci_bus_match(struct device *dev, const struct device_driver *drv)
drivers/pci/pci-driver.c
1667
const struct device_driver *drv = READ_ONCE(dev->driver);
drivers/pci/pci-driver.c
188
static ssize_t new_id_store(struct device_driver *driver, const char *buf,
drivers/pci/pci-driver.c
256
static ssize_t remove_id_store(struct device_driver *driver, const char *buf,
drivers/pci/pcie/portdrv.c
511
static int pcie_port_bus_match(struct device *dev, const struct device_driver *drv)
drivers/pci/pcie/portdrv.h
93
struct device_driver driver;
drivers/pcmcia/ds.c
903
static int pcmcia_bus_match(struct device *dev, const struct device_driver *drv)
drivers/pcmcia/ds.c
95
new_id_store(struct device_driver *driver, const char *buf, size_t count)
drivers/peci/core.c
175
static int peci_bus_device_match(struct device *dev, const struct device_driver *drv)
drivers/peci/internal.h
93
struct device_driver driver;
drivers/phy/tegra/xusb.c
677
sizeof(struct device_driver),
drivers/platform/raspberrypi/vchiq-interface/vchiq_bus.c
17
static int vchiq_bus_type_match(struct device *dev, const struct device_driver *drv)
drivers/platform/surface/aggregator/bus.c
310
static int ssam_bus_match(struct device *dev, const struct device_driver *drv)
drivers/platform/wmi/core.c
950
static int wmi_dev_match(struct device *dev, const struct device_driver *driver)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1373
static ssize_t interface_version_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1380
static ssize_t debug_level_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1385
static ssize_t debug_level_store(struct device_driver *drv, const char *buf,
drivers/platform/x86/lenovo/thinkpad_acpi.c
1400
static ssize_t version_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1412
static ssize_t wlsw_emulstate_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1417
static ssize_t wlsw_emulstate_store(struct device_driver *drv, const char *buf,
drivers/platform/x86/lenovo/thinkpad_acpi.c
1435
static ssize_t bluetooth_emulstate_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1440
static ssize_t bluetooth_emulstate_store(struct device_driver *drv,
drivers/platform/x86/lenovo/thinkpad_acpi.c
1455
static ssize_t wwan_emulstate_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1460
static ssize_t wwan_emulstate_store(struct device_driver *drv, const char *buf,
drivers/platform/x86/lenovo/thinkpad_acpi.c
1475
static ssize_t uwb_emulstate_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
1480
static ssize_t uwb_emulstate_store(struct device_driver *drv, const char *buf,
drivers/platform/x86/lenovo/thinkpad_acpi.c
8757
static ssize_t fan_watchdog_show(struct device_driver *drv, char *buf)
drivers/platform/x86/lenovo/thinkpad_acpi.c
8762
static ssize_t fan_watchdog_store(struct device_driver *drv, const char *buf,
drivers/pmdomain/core.c
3551
static struct device_driver genpd_provider_drv = {
drivers/pnp/driver.c
171
static int pnp_bus_match(struct device *dev, const struct device_driver *drv)
drivers/power/supply/ab8500_charger.c
3639
struct device_driver *drv = &ab8500_charger_component_drivers[i]->driver;
drivers/rapidio/rio-driver.c
189
static int rio_match_bus(struct device *dev, const struct device_driver *drv)
drivers/regulator/core.c
6381
const struct device_driver *drv)
drivers/regulator/core.c
6409
static struct device_driver regulator_bus_driver = {
drivers/remoteproc/remoteproc_core.c
2111
struct device_driver *driver;
drivers/rpmsg/rpmsg_core.c
421
static int rpmsg_dev_match(struct device *dev, const struct device_driver *drv)
drivers/s390/char/con3215.c
782
static ssize_t con_drop_store(struct device_driver *dev, const char *buf, size_t count)
drivers/s390/char/con3215.c
793
static ssize_t con_drop_show(struct device_driver *dev, char *buf)
drivers/s390/char/sclp.c
1209
static ssize_t con_pages_show(struct device_driver *dev, char *buf)
drivers/s390/char/sclp.c
1216
static ssize_t con_drop_store(struct device_driver *dev, const char *buf, size_t count)
drivers/s390/char/sclp.c
1224
static ssize_t con_drop_show(struct device_driver *dev, char *buf)
drivers/s390/char/sclp.c
1231
static ssize_t con_full_show(struct device_driver *dev, char *buf)
drivers/s390/char/vmlogrdr.c
644
static ssize_t recording_status_show(struct device_driver *driver, char *buf)
drivers/s390/char/vmlogrdr.c
684
static struct device_driver vmlogrdr_driver = {
drivers/s390/cio/css.c
1282
static int css_settle(struct device_driver *drv, void *unused)
drivers/s390/cio/css.c
1354
static int css_bus_match(struct device *dev, const struct device_driver *drv)
drivers/s390/cio/css.h
96
struct device_driver drv;
drivers/s390/cio/device.c
1825
struct device_driver *drv = &cdriver->driver;
drivers/s390/cio/device.c
60
ccw_bus_match (struct device * dev, const struct device_driver * drv)
drivers/s390/cio/scm.c
59
struct device_driver *drv = &scmdrv->drv;
drivers/s390/crypto/ap_bus.c
1094
struct device_driver *drv = &ap_drv->driver;
drivers/s390/crypto/ap_bus.c
1505
static int __verify_card_reservations(struct device_driver *drv, void *data)
drivers/s390/crypto/ap_bus.c
1612
static int __verify_queue_reservations(struct device_driver *drv, void *data)
drivers/s390/crypto/ap_bus.c
1923
static int __drv_notify_config_changed(struct device_driver *drv, void *data)
drivers/s390/crypto/ap_bus.c
1944
static int __drv_notify_scan_complete(struct device_driver *drv, void *data)
drivers/s390/crypto/ap_bus.c
631
static int ap_bus_match(struct device *dev, const struct device_driver *drv)
drivers/s390/crypto/ap_bus.c
929
const struct device_driver *drv = aq->ap_dev.device.driver;
drivers/s390/crypto/ap_bus.h
136
struct device_driver driver;
drivers/s390/crypto/vfio_ap_drv.c
79
static struct device_driver matrix_driver = {
drivers/s390/net/ctcm_main.c
1684
static ssize_t group_store(struct device_driver *ddrv, const char *buf,
drivers/s390/net/qeth_core_main.c
6485
static ssize_t group_store(struct device_driver *ddrv, const char *buf,
drivers/s390/net/smsgiucv.c
126
static struct device_driver smsg_driver = {
drivers/s390/net/smsgiucv_app.c
154
struct device_driver *smsgiucv_drv;
drivers/scsi/aic94xx/aic94xx_init.c
927
static ssize_t version_show(struct device_driver *driver, char *buf)
drivers/scsi/aic94xx/aic94xx_init.c
933
static int asd_create_driver_attrs(struct device_driver *driver)
drivers/scsi/aic94xx/aic94xx_init.c
938
static void asd_remove_driver_attrs(struct device_driver *driver)
drivers/scsi/fcoe/fcoe_sysfs.c
599
const struct device_driver *drv)
drivers/scsi/megaraid/megaraid_sas_base.c
8683
static ssize_t version_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8690
static ssize_t release_date_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8697
static ssize_t support_poll_for_event_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8703
static ssize_t support_device_change_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8709
static ssize_t dbg_lvl_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8714
static ssize_t dbg_lvl_store(struct device_driver *dd, const char *buf,
drivers/scsi/megaraid/megaraid_sas_base.c
8728
support_nvme_encapsulation_show(struct device_driver *dd, char *buf)
drivers/scsi/megaraid/megaraid_sas_base.c
8736
support_pci_lane_margining_show(struct device_driver *dd, char *buf)
drivers/scsi/mpi3mr/mpi3mr_os.c
6085
static ssize_t event_counter_show(struct device_driver *dd, char *buf)
drivers/scsi/scsi_debug.c
1025
static struct device_driver sdebug_driverfs_driver = {
drivers/scsi/scsi_debug.c
7643
static ssize_t delay_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7650
static ssize_t delay_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7684
static ssize_t ndelay_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7690
static ssize_t ndelay_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7727
static ssize_t opts_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7732
static ssize_t opts_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7757
static ssize_t ptype_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7761
static ssize_t ptype_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7780
static ssize_t dsense_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7784
static ssize_t dsense_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7797
static ssize_t fake_rw_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7801
static ssize_t fake_rw_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7845
static ssize_t no_lun_0_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7849
static ssize_t no_lun_0_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7862
static ssize_t num_tgts_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7866
static ssize_t num_tgts_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7880
static ssize_t dev_size_mb_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7886
static ssize_t per_host_store_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7891
static ssize_t per_host_store_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7904
static ssize_t num_parts_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7910
static ssize_t every_nth_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7914
static ssize_t every_nth_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7942
static ssize_t lun_format_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7946
static ssize_t lun_format_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
7979
static ssize_t max_luns_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
7983
static ssize_t max_luns_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8018
static ssize_t max_queue_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8024
static ssize_t max_queue_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8046
static ssize_t host_max_queue_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8051
static ssize_t no_rwlock_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8056
static ssize_t no_rwlock_store(struct device_driver *ddp, const char *buf, size_t count)
drivers/scsi/scsi_debug.c
8074
static ssize_t no_uld_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8080
static ssize_t scsi_level_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8086
static ssize_t virtual_gb_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8090
static ssize_t virtual_gb_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8125
static ssize_t add_host_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8131
static ssize_t add_host_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8169
static ssize_t vpd_use_hostno_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8173
static ssize_t vpd_use_hostno_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8186
static ssize_t statistics_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8190
static ssize_t statistics_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8208
static ssize_t sector_size_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8214
static ssize_t submit_queues_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8220
static ssize_t dix_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8226
static ssize_t dif_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8232
static ssize_t guard_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8238
static ssize_t ato_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8244
static ssize_t map_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8266
static ssize_t random_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8271
static ssize_t random_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8284
static ssize_t removable_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8288
static ssize_t removable_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8301
static ssize_t host_lock_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8306
static ssize_t host_lock_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8319
static ssize_t strict_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8323
static ssize_t strict_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8336
static ssize_t uuid_ctl_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8342
static ssize_t cdb_len_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8346
static ssize_t cdb_len_store(struct device_driver *ddp, const char *buf,
drivers/scsi/scsi_debug.c
8393
static ssize_t zbc_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8400
static ssize_t tur_ms_to_ready_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8406
static ssize_t group_number_stats_show(struct device_driver *ddp, char *buf)
drivers/scsi/scsi_debug.c
8418
static ssize_t group_number_stats_store(struct device_driver *ddp,
drivers/scsi/scsi_sysfs.c
1598
struct device_driver *driver = dev->driver;
drivers/scsi/scsi_sysfs.c
1606
struct device_driver *driver = dev->driver;
drivers/scsi/scsi_sysfs.c
1614
struct device_driver *driver = dev->driver;
drivers/scsi/scsi_sysfs.c
1621
struct device_driver *drv = &sdrv->gendrv;
drivers/scsi/scsi_sysfs.c
531
static int scsi_bus_match(struct device *dev, const struct device_driver *gendrv)
drivers/scsi/scsi_transport_iscsi.c
1207
const struct device_driver *drv)
drivers/scsi/st.c
4608
static ssize_t try_direct_io_show(struct device_driver *ddp, char *buf)
drivers/scsi/st.c
4614
static ssize_t fixed_buffer_size_show(struct device_driver *ddp, char *buf)
drivers/scsi/st.c
4620
static ssize_t max_sg_segs_show(struct device_driver *ddp, char *buf)
drivers/scsi/st.c
4626
static ssize_t version_show(struct device_driver *ddd, char *buf)
drivers/scsi/st.c
4633
static ssize_t debug_flag_store(struct device_driver *ddp,
drivers/scsi/st.c
4652
static ssize_t debug_flag_show(struct device_driver *ddp, char *buf)
drivers/sh/maple/maple.c
312
static int maple_check_matching_driver(struct device_driver *driver,
drivers/sh/maple/maple.c
750
const struct device_driver *drvptr)
drivers/siox/siox-core.c
506
static int siox_match(struct device *dev, const struct device_driver *drv)
drivers/slimbus/core.c
33
static int slim_device_match(struct device *dev, const struct device_driver *drv)
drivers/soc/qcom/apr.c
341
static int apr_device_match(struct device *dev, const struct device_driver *drv)
drivers/soundwire/bus_type.c
38
static int sdw_bus_match(struct device *dev, const struct device_driver *ddrv)
drivers/spi/spi-mem.c
930
static inline struct spi_mem_driver *to_spi_mem_drv(struct device_driver *drv)
drivers/spi/spi.c
368
static int spi_match_device(struct device *dev, const struct device_driver *drv)
drivers/spmi/spmi.c
46
static int spmi_device_match(struct device *dev, const struct device_driver *drv)
drivers/ssb/main.c
326
static int ssb_bus_match(struct device *dev, const struct device_driver *drv)
drivers/staging/greybus/gbphy.c
120
static int gbphy_dev_match(struct device *dev, const struct device_driver *drv)
drivers/staging/greybus/gbphy.h
44
struct device_driver driver;
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
53
struct device_driver driver;
drivers/staging/vme_user/vme.c
1926
static int vme_bus_match(struct device *dev, const struct device_driver *drv)
drivers/staging/vme_user/vme.h
127
struct device_driver driver;
drivers/target/loopback/tcm_loop.c
93
static struct device_driver tcm_loop_driverfs = {
drivers/tc/tc-driver.c
85
static int tc_bus_match(struct device *dev, const struct device_driver *drv)
drivers/tee/tee_core.c
1422
const struct device_driver *drv)
drivers/tee/tee_core.c
1489
struct device_driver *driver = dev->driver;
drivers/tee/tee_core.c
1497
struct device_driver *driver = dev->driver;
drivers/tee/tee_core.c
1505
struct device_driver *driver = dev->driver;
drivers/thunderbolt/domain.c
49
const struct device_driver *drv)
drivers/thunderbolt/domain.c
71
static int tb_service_match(struct device *dev, const struct device_driver *drv)
drivers/tty/hvc/hvcs.c
448
static ssize_t rescan_show(struct device_driver *ddp, char *buf)
drivers/tty/hvc/hvcs.c
454
static ssize_t rescan_store(struct device_driver *ddp, const char * buf,
drivers/tty/serdev/core.c
830
struct device_driver *driver = dev->driver;
drivers/tty/serdev/core.c
88
static int serdev_device_match(struct device *dev, const struct device_driver *drv)
drivers/tty/serial/serial_base.h
14
struct device_driver;
drivers/tty/serial/serial_base.h
37
int serial_base_driver_register(struct device_driver *driver);
drivers/tty/serial/serial_base.h
38
void serial_base_driver_unregister(struct device_driver *driver);
drivers/tty/serial/serial_base_bus.c
33
static int serial_base_match(struct device *dev, const struct device_driver *drv)
drivers/tty/serial/serial_base_bus.c
51
int serial_base_driver_register(struct device_driver *driver)
drivers/tty/serial/serial_base_bus.c
58
void serial_base_driver_unregister(struct device_driver *driver)
drivers/tty/serial/serial_ctrl.c
49
static struct device_driver serial_ctrl_driver = {
drivers/tty/serial/serial_port.c
301
static struct device_driver serial_port_driver = {
drivers/usb/common/ulpi.c
37
static int ulpi_match(struct device *dev, const struct device_driver *driver)
drivers/usb/core/driver.c
132
static ssize_t new_id_show(struct device_driver *driver, char *buf)
drivers/usb/core/driver.c
139
static ssize_t new_id_store(struct device_driver *driver,
drivers/usb/core/driver.c
151
static ssize_t remove_id_store(struct device_driver *driver, const char *buf,
drivers/usb/core/driver.c
178
static ssize_t remove_id_show(struct device_driver *driver, char *buf)
drivers/usb/core/driver.c
44
struct device_driver *driver,
drivers/usb/core/driver.c
868
static int usb_device_match(struct device *dev, const struct device_driver *drv)
drivers/usb/core/driver.c
977
bool is_usb_device_driver(const struct device_driver *drv)
drivers/usb/core/generic.c
210
static int __check_for_non_generic_match(struct device_driver *drv, void *data)
drivers/usb/core/port.c
478
static struct device_driver usb_port_driver = {
drivers/usb/core/usb.c
401
struct device_driver *drv;
drivers/usb/core/usb.h
178
extern bool is_usb_device_driver(const struct device_driver *drv);
drivers/usb/gadget/udc/core.c
1588
static int gadget_match_driver(struct device *dev, const struct device_driver *drv)
drivers/usb/serial/bus.c
106
static ssize_t new_id_store(struct device_driver *driver,
drivers/usb/serial/bus.c
121
static ssize_t new_id_show(struct device_driver *driver, char *buf)
drivers/usb/serial/bus.c
17
const struct device_driver *drv)
drivers/usb/typec/bus.c
466
static int typec_match(struct device *dev, const struct device_driver *driver)
drivers/usb/usbip/stub_main.c
149
static ssize_t match_busid_show(struct device_driver *drv, char *buf)
drivers/usb/usbip/stub_main.c
167
static ssize_t match_busid_store(struct device_driver *dev, const char *buf,
drivers/usb/usbip/stub_main.c
242
static ssize_t rebind_store(struct device_driver *dev, const char *buf,
drivers/vdpa/vdpa.c
68
static int vdpa_dev_match(struct device *dev, const struct device_driver *drv)
drivers/vfio/mdev/mdev_driver.c
34
static int mdev_match(struct device *dev, const struct device_driver *drv)
drivers/video/fbdev/uvesafb.c
1859
static ssize_t v86d_show(struct device_driver *dev, char *buf)
drivers/video/fbdev/uvesafb.c
1864
static ssize_t v86d_store(struct device_driver *dev, const char *buf,
drivers/virtio/virtio.c
85
static int virtio_dev_match(struct device *_dv, const struct device_driver *_dr)
drivers/w1/w1.c
175
struct device_driver w1_master_driver = {
drivers/w1/w1.c
189
static struct device_driver w1_slave_driver = {
drivers/w1/w1_int.c
25
struct device_driver *driver,
drivers/w1/w1_internal.h
67
extern struct device_driver w1_master_driver;
drivers/xen/xen-pciback/pci_stub.c
1215
static ssize_t new_slot_store(struct device_driver *drv, const char *buf,
drivers/xen/xen-pciback/pci_stub.c
1234
static ssize_t remove_slot_store(struct device_driver *drv, const char *buf,
drivers/xen/xen-pciback/pci_stub.c
1253
static ssize_t slots_show(struct device_driver *drv, char *buf)
drivers/xen/xen-pciback/pci_stub.c
1276
static ssize_t irq_handlers_show(struct device_driver *drv, char *buf)
drivers/xen/xen-pciback/pci_stub.c
1305
static ssize_t irq_handler_state_store(struct device_driver *drv,
drivers/xen/xen-pciback/pci_stub.c
1345
static ssize_t quirks_store(struct device_driver *drv, const char *buf,
drivers/xen/xen-pciback/pci_stub.c
1364
static ssize_t quirks_show(struct device_driver *drv, char *buf)
drivers/xen/xen-pciback/pci_stub.c
1409
static ssize_t permissive_store(struct device_driver *drv, const char *buf,
drivers/xen/xen-pciback/pci_stub.c
1449
static ssize_t permissive_show(struct device_driver *drv, char *buf)
drivers/xen/xen-pciback/pci_stub.c
1473
static ssize_t allow_interrupt_control_store(struct device_driver *drv,
drivers/xen/xen-pciback/pci_stub.c
1506
static ssize_t allow_interrupt_control_show(struct device_driver *drv,
drivers/xen/xenbus/xenbus.h
109
int xenbus_match(struct device *_dev, const struct device_driver *_drv);
drivers/xen/xenbus/xenbus_probe.c
97
int xenbus_match(struct device *_dev, const struct device_driver *_drv)
drivers/xen/xenbus/xenbus_probe_frontend.c
198
struct device_driver *drv = data;
drivers/xen/xenbus/xenbus_probe_frontend.c
230
static int exists_essential_connecting_device(struct device_driver *drv)
drivers/xen/xenbus/xenbus_probe_frontend.c
235
static int exists_non_essential_connecting_device(struct device_driver *drv)
drivers/xen/xenbus/xenbus_probe_frontend.c
244
struct device_driver *drv = data;
drivers/xen/xenbus/xenbus_probe_frontend.c
302
struct device_driver *drv = xendrv ? &xendrv->driver : NULL;
drivers/zorro/zorro-driver.c
121
static int zorro_bus_match(struct device *dev, const struct device_driver *drv)
include/acpi/acpi_bus.h
182
struct device_driver drv;
include/drm/display/drm_dp_aux_bus.h
34
struct device_driver driver;
include/drm/display/drm_dp_aux_bus.h
42
static inline struct dp_aux_ep_driver *to_dp_aux_ep_drv(struct device_driver *drv)
include/drm/drm_mipi_dsi.h
552
struct device_driver driver;
include/drm/drm_mipi_dsi.h
559
to_mipi_dsi_driver(struct device_driver *driver)
include/kunit/device.h
19
struct device_driver;
include/kunit/device.h
31
struct device_driver *kunit_driver_create(struct kunit *test, const char *name);
include/kunit/device.h
65
const struct device_driver *drv);
include/linux/acpi.h
741
const struct device_driver *drv);
include/linux/acpi.h
974
const struct device_driver *drv)
include/linux/amba/bus.h
82
struct device_driver drv;
include/linux/arm_ffa.h
156
struct device_driver driver;
include/linux/auxiliary_bus.h
196
struct device_driver driver;
include/linux/auxiliary_bus.h
215
static inline const struct auxiliary_driver *to_auxiliary_drv(const struct device_driver *drv)
include/linux/bcma/bcma.h
310
struct device_driver drv;
include/linux/cdx/cdx_bus.h
203
struct device_driver driver;
include/linux/device.h
1164
int __must_check device_driver_attach(const struct device_driver *drv,
include/linux/device.h
1169
int __must_check driver_attach(const struct device_driver *drv);
include/linux/device.h
38
struct device_driver;
include/linux/device.h
575
struct device_driver *driver; /* which driver has allocated this
include/linux/device.h
750
const struct device_driver *drv)
include/linux/device/bus.h
21
struct device_driver;
include/linux/device/bus.h
246
int bus_for_each_drv(const struct bus_type *bus, struct device_driver *start,
include/linux/device/bus.h
247
void *data, int (*fn)(struct device_driver *, void *));
include/linux/device/bus.h
90
int (*match)(struct device *dev, const struct device_driver *drv);
include/linux/device/driver.h
134
int __must_check driver_register(struct device_driver *drv);
include/linux/device/driver.h
135
void driver_unregister(struct device_driver *drv);
include/linux/device/driver.h
137
struct device_driver *driver_find(const char *name, const struct bus_type *bus);
include/linux/device/driver.h
146
ssize_t (*show)(struct device_driver *driver, char *buf);
include/linux/device/driver.h
147
ssize_t (*store)(struct device_driver *driver, const char *buf,
include/linux/device/driver.h
158
int __must_check driver_create_file(const struct device_driver *driver,
include/linux/device/driver.h
160
void driver_remove_file(const struct device_driver *driver,
include/linux/device/driver.h
165
int __must_check driver_for_each_device(struct device_driver *drv, struct device *start,
include/linux/device/driver.h
167
struct device *driver_find_device(const struct device_driver *drv,
include/linux/device/driver.h
177
static inline struct device *driver_find_device_by_name(const struct device_driver *drv,
include/linux/device/driver.h
190
driver_find_device_by_of_node(const struct device_driver *drv,
include/linux/device/driver.h
203
driver_find_device_by_fwnode(struct device_driver *drv,
include/linux/device/driver.h
215
static inline struct device *driver_find_device_by_devt(const struct device_driver *drv,
include/linux/device/driver.h
221
static inline struct device *driver_find_next_device(const struct device_driver *drv,
include/linux/device/driver.h
235
driver_find_device_by_acpi_dev(const struct device_driver *drv,
include/linux/device/driver.h
242
driver_find_device_by_acpi_dev(const struct device_driver *drv, const void *adev)
include/linux/dfl.h
66
struct device_driver drv;
include/linux/dio.h
93
struct device_driver driver;
include/linux/eisa.h
63
struct device_driver driver;
include/linux/firewire.h
277
struct device_driver driver;
include/linux/fsi.h
54
struct device_driver drv;
include/linux/fsl/mc.h
48
struct device_driver driver;
include/linux/gameport.h
57
struct device_driver driver;
include/linux/greybus.h
65
struct device_driver driver;
include/linux/hid.h
897
struct device_driver driver;
include/linux/host1x.h
377
struct device_driver driver;
include/linux/host1x.h
388
to_host1x_driver(struct device_driver *driver)
include/linux/hsi/hsi.h
157
struct device_driver driver;
include/linux/hyperv.h
1247
struct device_driver driver;
include/linux/i2c.h
296
struct device_driver driver;
include/linux/i3c/device.h
188
struct device_driver driver;
include/linux/intel-ish-client-if.h
41
struct device_driver driver;
include/linux/ipack.h
129
struct device_driver driver;
include/linux/isa.h
21
struct device_driver driver;
include/linux/maple.h
85
struct device_driver drv;
include/linux/mcb.h
90
struct device_driver driver;
include/linux/mdev.h
73
struct device_driver driver;
include/linux/mdio.h
33
int (*bus_match)(struct device *dev, const struct device_driver *drv);
include/linux/mdio.h
51
struct device_driver driver;
include/linux/mei_cl_bus.h
65
struct device_driver driver;
include/linux/memstick.h
303
struct device_driver driver;
include/linux/mfd/mcp.h
47
struct device_driver drv;
include/linux/mhi.h
526
struct device_driver driver;
include/linux/mhi_ep.h
213
struct device_driver driver;
include/linux/mmc/sdio_func.h
83
struct device_driver drv;
include/linux/moxtet.h
61
struct device_driver driver;
include/linux/nd.h
79
struct device_driver drv;
include/linux/ntb.h
403
struct device_driver drv;
include/linux/ntb_transport.h
54
struct device_driver driver;
include/linux/nubus.h
87
struct device_driver driver;
include/linux/nvmem-provider.h
161
struct device_driver driver;
include/linux/of_device.h
21
const struct device_driver *drv)
include/linux/of_device.h
46
const struct device_driver *drv)
include/linux/parport.h
258
struct device_driver driver;
include/linux/pci-epf.h
104
struct device_driver driver;
include/linux/pci.h
1033
struct device_driver driver;
include/linux/platform_device.h
240
struct device_driver driver;
include/linux/platform_device.h
60
const struct device_driver *drv);
include/linux/pnp.h
383
struct device_driver driver;
include/linux/raspberrypi/vchiq_bus.h
27
struct device_driver driver;
include/linux/raspberrypi/vchiq_bus.h
35
static inline struct vchiq_driver *to_vchiq_driver(struct device_driver *d)
include/linux/rio.h
465
struct device_driver driver;
include/linux/rmi.h
301
struct device_driver driver;
include/linux/rpmsg.h
115
struct device_driver drv;
include/linux/scmi_protocol.h
961
struct device_driver driver;
include/linux/serdev.h
65
struct device_driver driver;
include/linux/serdev.h
71
static inline struct serdev_device_driver *to_serdev_device_driver(struct device_driver *d)
include/linux/serio.h
82
struct device_driver driver;
include/linux/siox.h
53
struct device_driver driver;
include/linux/siox.h
56
static inline struct siox_driver *to_siox_driver(struct device_driver *driver)
include/linux/slimbus.h
91
struct device_driver driver;
include/linux/soc/qcom/apr.h
160
struct device_driver driver;
include/linux/soundwire/sdw.h
714
struct device_driver driver;
include/linux/spi/spi.h
365
struct device_driver driver;
include/linux/spmi.h
141
struct device_driver driver;
include/linux/spmi.h
147
static inline struct spmi_driver *to_spmi_driver(struct device_driver *d)
include/linux/ssb/ssb.h
326
struct device_driver drv;
include/linux/sunxi-rsb.h
60
struct device_driver driver;
include/linux/sunxi-rsb.h
65
static inline struct sunxi_rsb_driver *to_sunxi_rsb_driver(struct device_driver *d)
include/linux/surface_aggregator/device.h
186
struct device_driver driver;
include/linux/tc.h
108
struct device_driver driver;
include/linux/tee_drv.h
322
struct device_driver driver;
include/linux/thunderbolt.h
448
struct device_driver driver;
include/linux/tifm.h
107
struct device_driver driver;
include/linux/ulpi/driver.h
46
struct device_driver driver;
include/linux/usb.h
1172
struct device_driver *driver,
include/linux/usb.h
1268
struct device_driver driver;
include/linux/usb.h
1319
struct device_driver driver;
include/linux/usb/gadget.h
780
struct device_driver driver;
include/linux/usb/serial.h
238
struct device_driver driver;
include/linux/usb/typec_altmode.h
212
struct device_driver driver;
include/linux/vdpa.h
496
struct device_driver driver;
include/linux/vdpa.h
510
static inline struct vdpa_driver *drv_to_vdpa(struct device_driver *driver)
include/linux/virtio.h
248
struct device_driver driver;
include/linux/w1.h
236
struct device_driver *driver;
include/linux/wmi.h
102
struct device_driver driver;
include/linux/zorro.h
52
struct device_driver driver;
include/net/iucv/iucv.h
86
struct device_driver;
include/net/iucv/iucv.h
89
struct device_driver *driver, void *priv,
include/pcmcia/ds.h
57
struct device_driver drv;
include/scsi/scsi_driver.h
13
struct device_driver gendrv;
include/scsi/scsi_transport_iscsi.h
494
const struct device_driver *drv);
include/sound/ac97/codec.h
64
struct device_driver driver;
include/sound/hdaudio.h
223
struct device_driver driver;
include/sound/seq_device.h
48
struct device_driver driver;
include/xen/xenbus.h
122
struct device_driver driver;
kernel/dma/debug.c
133
static struct device_driver *current_driver __read_mostly;
kernel/dma/debug.c
183
struct device_driver *drv;
lib/kunit/device.c
150
const struct device_driver *drv)
lib/kunit/device.c
167
struct device_driver *drv;
lib/kunit/device.c
191
const struct device_driver *driver = to_kunit_device(dev)->driver;
lib/kunit/device.c
23
KUNIT_DEFINE_ACTION_WRAPPER(driver_unregister_wrapper, driver_unregister, struct device_driver *);
lib/kunit/device.c
34
const struct device_driver *driver;
lib/kunit/device.c
82
struct device_driver *kunit_driver_create(struct kunit *test, const char *name)
lib/kunit/device.c
84
struct device_driver *driver;
lib/kunit/kunit-test.c
807
struct device_driver *test_driver;
net/core/dev.c
12933
const struct device_driver *driver;
net/devlink/dev.c
857
static int devlink_nl_driver_info_get(struct device_driver *drv,
net/iucv/iucv.c
66
static int iucv_bus_match(struct device *dev, const struct device_driver *drv)
net/iucv/iucv.c
85
struct device_driver *driver,
sound/ac97/bus.c
464
static int ac97_bus_match(struct device *dev, const struct device_driver *drv)
sound/aoa/soundbus/soundbus.h
192
struct device_driver driver;
sound/core/seq_device.c
43
static int snd_seq_bus_match(struct device *dev, const struct device_driver *drv)
sound/hda/core/hda_bus_type.c
49
static int hda_bus_match(struct device *dev, const struct device_driver *drv)
sound/soc/fsl/imx-rpmsg.c
45
struct device_driver *codec_drv;
tools/testing/cxl/test/mem.c
1282
static ssize_t poison_inject_max_show(struct device_driver *drv, char *buf)
tools/testing/cxl/test/mem.c
1287
static ssize_t poison_inject_max_store(struct device_driver *drv,
tools/usb/usbip/libsrc/usbip_device_driver.c
147
struct usbip_host_driver device_driver = {
tools/usb/usbip/libsrc/usbip_device_driver.c
148
.edev_list = LIST_HEAD_INIT(device_driver.edev_list),
tools/usb/usbip/libsrc/usbip_device_driver.h
20
extern struct usbip_host_driver device_driver;
tools/usb/usbip/src/usbipd.c
654
driver = &device_driver;