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 is not loaded. in get_port_device_capability()
253 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
281 * pcie_device_init - allocate and initialize PCI Express port service device
282 * @pdev: PCI Express port to associate the service device with
283 * @service: Type of service to associate with the service device
284 * @irq: Interrupt vector to associate with the service device
286 static int pcie_device_init(struct pci_dev *pdev, int service, int irq) in pcie_device_init() argument
297 pcie->service = service; in pcie_device_init()
305 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
344 * Initialize service irqs. Don't use service devices that in pcie_port_device_register()
361 int service = 1 << i; in pcie_port_device_register() local
362 if (!(capabilities & service)) in pcie_port_device_register()
364 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
455 u32 service; in find_service_iter() local
458 service = pdrvs->service; in find_service_iter()
462 if (service_driver->service == service) { in find_service_iter()
474 * @dev: PCI Express port the service is associated with
475 * @service: For the service to find
477 * Find the struct device associated with given service on a pci_dev
480 u32 service) in pcie_port_find_device() argument
486 pdrvs.service = service; in pcie_port_find_device()
495 * pcie_port_device_remove - unregister PCI Express port service devices
496 * @dev: PCI Express port the service devices to unregister are associated with
498 * Remove PCI Express port service devices associated with given port and
508 * pcie_port_probe_service - probe driver for given PCI Express port service
509 * @dev: PCI Express port service device to probe against
511 * If PCI Express port service driver is registered with
513 * whenever match is found between the driver and a port service device.
538 * pcie_port_remove_service - detach driver from given PCI Express port service
539 * @dev: PCI Express port service device to handle
541 * If PCI Express port service driver is registered with
543 * when device_unregister() is called for the port service device associated
564 * pcie_port_shutdown_service - shut down given PCI Express port service
565 * @dev: PCI Express port service device to handle
567 * If PCI Express port service driver is registered with
569 * when device_shutdown() is called for the port service device associated
575 * pcie_port_service_register - register PCI Express port service driver
576 * @new: PCI Express port service driver to register
593 * pcie_port_service_unregister - unregister PCI Express port service driver
594 * @drv: PCI Express port service driver to unregister
613 * service even if the platform hasn't given us permission.