Lines Matching refs:service
31 #define get_descriptor_id(type, service) (((type - 4) << 8) | service)
36 u32 service;
40 * release_pcie_device - free PCI Express port service device structure
41 * @dev: Port service device to release
230 * by the BIOS and the hot-plug service driver is not loaded.
252 * by the BIOS (the PME service driver will enable it when
280 * pcie_device_init - allocate and initialize PCI Express port service device
281 * @pdev: PCI Express port to associate the service device with
282 * @service: Type of service to associate with the service device
283 * @irq: Interrupt vector to associate with the service device
285 static int pcie_device_init(struct pci_dev *pdev, int service, int irq)
296 pcie->service = service;
304 get_descriptor_id(pci_pcie_type(pdev), service));
343 * Initialize service irqs. Don't use service devices that
360 int service = 1 << i;
361 if (!(capabilities & service))
363 if (!pcie_device_init(dev, service, irqs[i]))
454 u32 service;
457 service = pdrvs->service;
461 if (service_driver->service == service) {
473 * @dev: PCI Express port the service is associated with
474 * @service: For the service to find
476 * Find the struct device associated with given service on a pci_dev
479 u32 service)
485 pdrvs.service = service;
494 * pcie_port_device_remove - unregister PCI Express port service devices
495 * @dev: PCI Express port the service devices to unregister are associated with
497 * Remove PCI Express port service devices associated with given port and
507 * pcie_port_probe_service - probe driver for given PCI Express port service
508 * @dev: PCI Express port service device to probe against
510 * If PCI Express port service driver is registered with
512 * whenever match is found between the driver and a port service device.
537 * pcie_port_remove_service - detach driver from given PCI Express port service
538 * @dev: PCI Express port service device to handle
540 * If PCI Express port service driver is registered with
542 * when device_unregister() is called for the port service device associated
563 * pcie_port_shutdown_service - shut down given PCI Express port service
564 * @dev: PCI Express port service device to handle
566 * If PCI Express port service driver is registered with
568 * when device_shutdown() is called for the port service device associated
574 * pcie_port_service_register - register PCI Express port service driver
575 * @new: PCI Express port service driver to register
592 * pcie_port_service_unregister - unregister PCI Express port service driver
593 * @drv: PCI Express port service driver to unregister
612 * service even if the platform hasn't given us permission.