Lines Matching full:rid
383 * alias device or RID appears on a different bus number. We also make the
386 * case is that of PCI->PCIe so we should always use the alias RID. This echoes
403 * pci_msi_domain_get_msi_rid - Get the MSI requester id (RID)
407 * The RID for a device is formed from the alias, with a firmware
410 * Returns: The RID.
415 u32 rid = pci_dev_id(pdev); in pci_msi_domain_get_msi_rid() local
417 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_domain_get_msi_rid()
420 rid = of_node ? of_msi_map_id(&pdev->dev, of_node, rid) : in pci_msi_domain_get_msi_rid()
421 iort_msi_map_id(&pdev->dev, rid); in pci_msi_domain_get_msi_rid()
423 return rid; in pci_msi_domain_get_msi_rid()
438 u32 rid = pci_dev_id(pdev); in pci_msi_get_device_domain() local
440 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_get_device_domain()
441 dom = of_msi_map_get_device_domain(&pdev->dev, rid, DOMAIN_BUS_PCI_MSI); in pci_msi_get_device_domain()
443 dom = iort_get_device_domain(&pdev->dev, rid, in pci_msi_get_device_domain()