drivers 895 drivers/base/platform.c int __platform_register_drivers(struct platform_driver * const *drivers, drivers 902 drivers/base/platform.c pr_debug("registering platform driver %ps\n", drivers[i]); drivers 904 drivers/base/platform.c err = __platform_driver_register(drivers[i], owner); drivers 907 drivers/base/platform.c drivers[i], err); drivers 916 drivers/base/platform.c pr_debug("unregistering platform driver %ps\n", drivers[i]); drivers 917 drivers/base/platform.c platform_driver_unregister(drivers[i]); drivers 933 drivers/base/platform.c void platform_unregister_drivers(struct platform_driver * const *drivers, drivers 937 drivers/base/platform.c pr_debug("unregistering platform driver %ps\n", drivers[count]); drivers 938 drivers/base/platform.c platform_driver_unregister(drivers[count]); drivers 2224 drivers/crypto/n2_core.c static struct platform_driver * const drivers[] = { drivers 2231 drivers/crypto/n2_core.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 2236 drivers/crypto/n2_core.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 3 drivers/dma-buf/sync_trace.h #define TRACE_INCLUDE_PATH ../../drivers/dma-buf drivers 607 drivers/edac/armada_xp_edac.c static struct platform_driver * const drivers[] = { drivers 619 drivers/edac/armada_xp_edac.c res = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 629 drivers/edac/armada_xp_edac.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 682 drivers/edac/mpc85xx_edac.c static struct platform_driver * const drivers[] = { drivers 707 drivers/edac/mpc85xx_edac.c res = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 718 drivers/edac/mpc85xx_edac.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 844 drivers/edac/mv64x60_edac.c static struct platform_driver * const drivers[] = { drivers 869 drivers/edac/mv64x60_edac.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 875 drivers/edac/mv64x60_edac.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 344 drivers/gpio/gpio-mpc5200.c static struct platform_driver * const drivers[] = { drivers 351 drivers/gpio/gpio-mpc5200.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 359 drivers/gpio/gpio-mpc5200.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 496 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/amd/amdgpu drivers 89 drivers/gpu/drm/armada/armada_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/armada drivers 67 drivers/gpu/drm/drm_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm drivers 990 drivers/gpu/drm/i915/i915_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/i915 drivers 347 drivers/gpu/drm/imx/imx-drm-core.c static struct platform_driver * const drivers[] = { drivers 354 drivers/gpu/drm/imx/imx-drm-core.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 360 drivers/gpu/drm/imx/imx-drm-core.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 109 drivers/gpu/drm/msm/msm_atomic_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/msm drivers 89 drivers/gpu/drm/msm/msm_gpu_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/msm drivers 739 drivers/gpu/drm/omapdrm/omap_drv.c static struct platform_driver * const drivers[] = { drivers 748 drivers/gpu/drm/omapdrm/omap_drv.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 755 drivers/gpu/drm/omapdrm/omap_drv.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 208 drivers/gpu/drm/radeon/radeon_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/radeon drivers 103 drivers/gpu/drm/scheduler/gpu_scheduler_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/scheduler drivers 299 drivers/gpu/drm/sti/sti_drv.c static struct platform_driver * const drivers[] = { drivers 312 drivers/gpu/drm/sti/sti_drv.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 318 drivers/gpu/drm/sti/sti_drv.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1303 drivers/gpu/drm/tegra/drm.c static struct platform_driver * const drivers[] = { drivers 1323 drivers/gpu/drm/tegra/drm.c err = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1337 drivers/gpu/drm/tegra/drm.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 66 drivers/gpu/drm/tegra/trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/tegra drivers 234 drivers/gpu/drm/vc4/vc4_drv.c struct platform_driver *const *drivers, drivers 240 drivers/gpu/drm/vc4/vc4_drv.c struct device_driver *drv = &drivers[i]->driver; drivers 59 drivers/gpu/drm/vc4/vc4_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/vc4 drivers 51 drivers/gpu/drm/virtio/virtgpu_trace.h #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/virtio drivers 177 drivers/gpu/drm/zte/zx_drm_drv.c static struct platform_driver *drivers[] = { drivers 187 drivers/gpu/drm/zte/zx_drm_drv.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 193 drivers/gpu/drm/zte/zx_drm_drv.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 21 drivers/gpu/host1x/bus.c static LIST_HEAD(drivers); drivers 575 drivers/gpu/host1x/bus.c list_for_each_entry(driver, &drivers, list) drivers 599 drivers/gpu/host1x/bus.c list_for_each_entry(driver, &drivers, list) drivers 660 drivers/gpu/host1x/bus.c list_add_tail(&driver->list, &drivers); drivers 415 drivers/gpu/host1x/dev.c static struct platform_driver * const drivers[] = { drivers 428 drivers/gpu/host1x/dev.c err = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 438 drivers/gpu/host1x/dev.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1542 drivers/gpu/ipu-v3/ipu-common.c static struct platform_driver * const drivers[] = { drivers 1552 drivers/gpu/ipu-v3/ipu-common.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1558 drivers/gpu/ipu-v3/ipu-common.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 91 drivers/input/keyboard/applespi_trace.h #define TRACE_INCLUDE_PATH ../../drivers/input/keyboard drivers 349 drivers/input/misc/sparcspkr.c static struct platform_driver * const drivers[] = { drivers 356 drivers/input/misc/sparcspkr.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 361 drivers/input/misc/sparcspkr.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 238 drivers/leds/leds-sunfire.c static struct platform_driver * const drivers[] = { drivers 245 drivers/leds/leds-sunfire.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 250 drivers/leds/leds-sunfire.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 142 drivers/lightnvm/pblk-trace.h #define TRACE_INCLUDE_PATH ../../drivers/lightnvm drivers 160 drivers/media/platform/coda/trace.h #define TRACE_INCLUDE_PATH ../../drivers/media/platform/coda drivers 386 drivers/mfd/sta2x11-mfd.c static struct platform_driver * const drivers[] = { drivers 395 drivers/mfd/sta2x11-mfd.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 2797 drivers/net/ethernet/broadcom/bcm63xx_enet.c static struct platform_driver * const drivers[] = { drivers 2806 drivers/net/ethernet/broadcom/bcm63xx_enet.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 2811 drivers/net/ethernet/broadcom/bcm63xx_enet.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1066 drivers/net/ethernet/freescale/fec_mpc52xx.c static struct platform_driver * const drivers[] = { drivers 1076 drivers/net/ethernet/freescale/fec_mpc52xx.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 1082 drivers/net/ethernet/freescale/fec_mpc52xx.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 3272 drivers/net/ethernet/marvell/mv643xx_eth.c static struct platform_driver * const drivers[] = { drivers 3279 drivers/net/ethernet/marvell/mv643xx_eth.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 3285 drivers/net/ethernet/marvell/mv643xx_eth.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 361 drivers/net/fjes/fjes_trace.h #define TRACE_INCLUDE_PATH ../../../drivers/net/fjes drivers 181 drivers/net/hyperv/netvsc_trace.h #define TRACE_INCLUDE_PATH ../../drivers/net/hyperv drivers 52 drivers/parport/share.c static LIST_HEAD(drivers); drivers 170 drivers/parport/share.c list_for_each_entry(drv, &drivers, list) drivers 196 drivers/parport/share.c list_for_each_entry(drv, &drivers, list) drivers 319 drivers/parport/share.c list_add(&drv->list, &drivers); drivers 1948 drivers/pinctrl/pinctrl-at91.c static struct platform_driver * const drivers[] = { drivers 1955 drivers/pinctrl/pinctrl-at91.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 617 drivers/regulator/lp8788-ldo.c static struct platform_driver * const drivers[] = { drivers 624 drivers/regulator/lp8788-ldo.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 630 drivers/regulator/lp8788-ldo.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 832 drivers/regulator/wm831x-dcdc.c static struct platform_driver * const drivers[] = { drivers 841 drivers/regulator/wm831x-dcdc.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 847 drivers/regulator/wm831x-dcdc.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 653 drivers/regulator/wm831x-ldo.c static struct platform_driver * const drivers[] = { drivers 661 drivers/regulator/wm831x-ldo.c return platform_register_drivers(drivers, ARRAY_SIZE(drivers)); drivers 667 drivers/regulator/wm831x-ldo.c platform_unregister_drivers(drivers, ARRAY_SIZE(drivers)); drivers 974 drivers/staging/isdn/gigaset/common.c static LIST_HEAD(drivers); drivers 986 drivers/staging/isdn/gigaset/common.c list_for_each_entry(drv, &drivers, list) { drivers 1011 drivers/staging/isdn/gigaset/common.c list_for_each_entry(drv, &drivers, list) { drivers 1104 drivers/staging/isdn/gigaset/common.c list_add(&drv->list, &drivers); drivers 93 drivers/staging/media/tegra-vde/trace.h #define TRACE_INCLUDE_PATH ../../drivers/staging/media/tegra-vde drivers 20 drivers/usb/host/fsl-mph-dr-of.c char *drivers[3]; /* drivers to instantiate for this mode */ drivers 27 drivers/usb/host/fsl-mph-dr-of.c .drivers = { "fsl-ehci", NULL, NULL, }, drivers 32 drivers/usb/host/fsl-mph-dr-of.c .drivers = { "fsl-usb2-otg", "fsl-ehci", "fsl-usb2-udc", }, drivers 37 drivers/usb/host/fsl-mph-dr-of.c .drivers = { "fsl-usb2-udc", NULL, NULL, }, drivers 246 drivers/usb/host/fsl-mph-dr-of.c for (i = 0; i < ARRAY_SIZE(dev_data->drivers); i++) { drivers 247 drivers/usb/host/fsl-mph-dr-of.c if (!dev_data->drivers[i]) drivers 250 drivers/usb/host/fsl-mph-dr-of.c dev_data->drivers[i], idx); drivers 93 drivers/vfio/pci/trace.h #define TRACE_INCLUDE_PATH ../../drivers/vfio/pci drivers 1970 drivers/video/fbdev/matrox/matroxfb_base.c minfo->drivers[minfo->drivers_count++] = drv; drivers 1986 drivers/video/fbdev/matrox/matroxfb_base.c if (minfo->drivers[i] == drv) { drivers 1989 drivers/video/fbdev/matrox/matroxfb_base.c minfo->drivers[i] = minfo->drivers[--minfo->drivers_count]; drivers 2008 drivers/video/fbdev/matrox/matroxfb_base.c minfo->drivers[i++] = drv; drivers 2022 drivers/video/fbdev/matrox/matroxfb_base.c struct matroxfb_driver* drv = minfo->drivers[i]; drivers 387 drivers/video/fbdev/matrox/matroxfb_base.h struct matroxfb_driver* (drivers[MATROXFB_MAX_FB_DRIVERS]); drivers 25 drivers/video/fbdev/via/via_aux.c INIT_LIST_HEAD(&bus->drivers); drivers 47 drivers/video/fbdev/via/via_aux.c list_for_each_entry_safe(pos, n, &bus->drivers, chain) { drivers 67 drivers/video/fbdev/via/via_aux.c list_for_each_entry(pos, &bus->drivers, chain) { drivers 20 drivers/video/fbdev/via/via_aux.h struct list_head drivers; /* drivers for devices on this bus */ drivers 51 drivers/video/fbdev/via/via_aux.h list_add_tail(&data->chain, &data->bus->drivers); drivers 289 include/linux/platform_device.h int __platform_register_drivers(struct platform_driver * const *drivers, drivers 291 include/linux/platform_device.h void platform_unregister_drivers(struct platform_driver * const *drivers, drivers 294 include/linux/platform_device.h #define platform_register_drivers(drivers, count) \ drivers 295 include/linux/platform_device.h __platform_register_drivers(drivers, count, THIS_MODULE) drivers 218 security/selinux/avc.c security_xperm_set(xp_node->xp.drivers.p, driver); drivers 364 security/selinux/avc.c memcpy(dest->xp.drivers.p, src->xp.drivers.p, sizeof(dest->xp.drivers.p)); drivers 1075 security/selinux/avc.c if (!security_xperm_test(xp_node->xp.drivers.p, driver)) { drivers 219 security/selinux/include/security.h struct extended_perms_data drivers; /* flag drivers that are used */ drivers 596 security/selinux/ss/services.c for (i = 0; i < ARRAY_SIZE(xperms->drivers.p); i++) drivers 597 security/selinux/ss/services.c xperms->drivers.p[i] |= node->datum.u.xperms->perms.p[i]; drivers 600 security/selinux/ss/services.c security_xperm_set(xperms->drivers.p, drivers 633 security/selinux/ss/services.c memset(&xperms->drivers, 0, sizeof(xperms->drivers));