Lines Matching defs:service
32 #define get_descriptor_id(type, service) (((type - 4) << 8) | service)
37 u32 service;
41 * release_pcie_device - free PCI Express port service device structure
42 * @dev: Port service device to release
231 * by the BIOS and the hot-plug service driver won't be loaded
255 * by the BIOS (the PME service driver will enable it when
285 * pcie_device_init - allocate and initialize PCI Express port service device
286 * @pdev: PCI Express port to associate the service device with
287 * @service: Type of service to associate with the service device
288 * @irq: Interrupt vector to associate with the service device
290 static int pcie_device_init(struct pci_dev *pdev, int service, int irq)
301 pcie->service = service;
309 get_descriptor_id(pci_pcie_type(pdev), service));
348 * Initialize service irqs. Don't use service devices that
365 int service = 1 << i;
366 if (!(capabilities & service))
368 if (!pcie_device_init(dev, service, irqs[i]))
459 u32 service;
462 service = pdrvs->service;
466 if (service_driver->service == service) {
478 * @dev: PCI Express port the service is associated with
479 * @service: For the service to find
481 * Find the struct device associated with given service on a pci_dev
484 u32 service)
490 pdrvs.service = service;
499 * pcie_port_device_remove - unregister PCI Express port service devices
500 * @dev: PCI Express port the service devices to unregister are associated with
502 * Remove PCI Express port service devices associated with given port and
512 * pcie_port_probe_service - probe driver for given PCI Express port service
513 * @dev: PCI Express port service device to probe against
515 * If PCI Express port service driver is registered with
517 * whenever match is found between the driver and a port service device.
542 * pcie_port_remove_service - detach driver from given PCI Express port service
543 * @dev: PCI Express port service device to handle
545 * If PCI Express port service driver is registered with
547 * when device_unregister() is called for the port service device associated
568 * pcie_port_shutdown_service - shut down given PCI Express port service
569 * @dev: PCI Express port service device to handle
571 * If PCI Express port service driver is registered with
573 * when device_shutdown() is called for the port service device associated
579 * pcie_port_service_register - register PCI Express port service driver
580 * @new: PCI Express port service driver to register
597 * pcie_port_service_unregister - unregister PCI Express port service driver
598 * @drv: PCI Express port service driver to unregister
617 * service even if the platform hasn't given us permission.