Lines Matching full:service
31 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument
36 u32 service; member
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 won't be loaded in get_port_device_capability()
254 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
282 * pcie_device_init - allocate and initialize PCI Express port service device
283 * @pdev: PCI Express port to associate the service device with
284 * @service: Type of service to associate with the service device
285 * @irq: Interrupt vector to associate with the service device
287 static int pcie_device_init(struct pci_dev *pdev, int service, int irq) in pcie_device_init() argument
298 pcie->service = service; in pcie_device_init()
306 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
345 * Initialize service irqs. Don't use service devices that in pcie_port_device_register()
362 int service = 1 << i; in pcie_port_device_register() local
363 if (!(capabilities & service)) in pcie_port_device_register()
365 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
456 u32 service; in find_service_iter() local
459 service = pdrvs->service; in find_service_iter()
463 if (service_driver->service == service) { in find_service_iter()
475 * @dev: PCI Express port the service is associated with
476 * @service: For the service to find
478 * Find the struct device associated with given service on a pci_dev
481 u32 service) in pcie_port_find_device() argument
487 pdrvs.service = service; in pcie_port_find_device()
496 * pcie_port_device_remove - unregister PCI Express port service devices
497 * @dev: PCI Express port the service devices to unregister are associated with
499 * Remove PCI Express port service devices associated with given port and
509 * pcie_port_probe_service - probe driver for given PCI Express port service
510 * @dev: PCI Express port service device to probe against
512 * If PCI Express port service driver is registered with
514 * whenever match is found between the driver and a port service device.
539 * pcie_port_remove_service - detach driver from given PCI Express port service
540 * @dev: PCI Express port service device to handle
542 * If PCI Express port service driver is registered with
544 * when device_unregister() is called for the port service device associated
565 * pcie_port_shutdown_service - shut down given PCI Express port service
566 * @dev: PCI Express port service device to handle
568 * If PCI Express port service driver is registered with
570 * when device_shutdown() is called for the port service device associated
576 * pcie_port_service_register - register PCI Express port service driver
577 * @new: PCI Express port service driver to register
594 * pcie_port_service_unregister - unregister PCI Express port service driver
595 * @drv: PCI Express port service driver to unregister
614 * service even if the platform hasn't given us permission.