Lines Matching +full:pci +full:- +full:based
1 /* SPDX-License-Identifier: MIT */
6 #include <linux/pci.h>
15 * initialization and shutdown. The provided helpers act like bus-specific
20 * PCI bus.
22 * .. code-block:: c
30 * the PCI driver my_pci_drv. For more complex module initialization, you
35 * PCI drivers
41 return -ENODEV; in drm_pci_register_driver()
47 * drm_module_pci_driver - Register a DRM driver for PCI-based devices
48 * @__pci_drv: the PCI driver structure
50 * Registers a DRM driver for devices on the PCI bus. The helper
64 if (drm_firmware_drivers_only() && modeset == -1) in drm_pci_register_driver_if_modeset()
65 return -ENODEV; in drm_pci_register_driver_if_modeset()
67 return -ENODEV; in drm_pci_register_driver_if_modeset()
79 * drm_module_pci_driver_if_modeset - Register a DRM driver for PCI-based devices
80 * @__pci_drv: the PCI driver structure
86 * Registers a DRM driver for devices on the PCI bus. The helper macro
87 * behaves like drm_module_pci_driver() with an additional driver-specific
89 * -1 the driver state depends on the global DRM state. For all other
90 * values, the PCI driver has been enabled. The default should be -1.
104 return -ENODEV; in drm_platform_driver_register()
110 * drm_module_platform_driver - Register a DRM driver for platform devices