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 is not loaded. in get_port_device_capability()
252 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
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) in pcie_device_init() argument
296 pcie->service = service; in pcie_device_init()
304 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
343 * Initialize service irqs. Don't use service devices that in pcie_port_device_register()
360 int service = 1 << i; in pcie_port_device_register() local
361 if (!(capabilities & service)) in pcie_port_device_register()
363 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
454 u32 service; in find_service_iter() local
457 service = pdrvs->service; in find_service_iter()
461 if (service_driver->service == service) { in find_service_iter()
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) in pcie_port_find_device() argument
485 pdrvs.service = service; in pcie_port_find_device()
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.