Lines Matching full:service

32 #define get_descriptor_id(type, service) (((type - 4) << 8) | service)  argument
37 u32 service; member
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 in get_port_device_capability()
255 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
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) in pcie_device_init() argument
301 pcie->service = service; in pcie_device_init()
309 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
348 * Initialize service irqs. Don't use service devices that in pcie_port_device_register()
365 int service = 1 << i; in pcie_port_device_register() local
366 if (!(capabilities & service)) in pcie_port_device_register()
368 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
459 u32 service; in find_service_iter() local
462 service = pdrvs->service; in find_service_iter()
466 if (service_driver->service == service) { in find_service_iter()
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) in pcie_port_find_device() argument
490 pdrvs.service = service; in pcie_port_find_device()
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.