Lines Matching refs:devfn
131 slot = PCI_SLOT(dev->devfn); in memory_decoded()
132 func = PCI_FUNC(dev->devfn); in memory_decoded()
137 slot = PCI_SLOT(dev->info.physfn.devfn); in memory_decoded()
138 func = PCI_FUNC(dev->info.physfn.devfn); in memory_decoded()
147 u16 control = pci_conf_read16(dev->seg, dev->bus, PCI_SLOT(dev->devfn), in msix_memory_decoded()
148 PCI_FUNC(dev->devfn), msix_control_reg(pos)); in msix_memory_decoded()
204 u8 slot = PCI_SLOT(dev->devfn); in read_msi_msg()
205 u8 func = PCI_FUNC(dev->devfn); in read_msi_msg()
269 u8 slot = PCI_SLOT(dev->devfn); in write_msi_msg()
270 u8 func = PCI_FUNC(dev->devfn); in write_msi_msg()
352 u8 slot = PCI_SLOT(dev->devfn); in msi_set_enable()
353 u8 func = PCI_FUNC(dev->devfn); in msi_set_enable()
365 u8 slot = PCI_SLOT(dev->devfn); in msix_set_enable()
366 u8 func = PCI_FUNC(dev->devfn); in msix_set_enable()
399 slot = PCI_SLOT(pdev->devfn); in msi_set_mask_bit()
400 func = PCI_FUNC(pdev->devfn); in msi_set_mask_bit()
450 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in msi_set_mask_bit()
479 PCI_SLOT(entry->dev->devfn), in msi_get_mask_bit()
480 PCI_FUNC(entry->dev->devfn), in msi_get_mask_bit()
597 control = pci_conf_read16(pdev->seg, pdev->bus, PCI_SLOT(pdev->devfn), in setup_msi_irq()
598 PCI_FUNC(pdev->devfn), cpos); in setup_msi_irq()
600 pci_conf_write16(pdev->seg, pdev->bus, PCI_SLOT(pdev->devfn), in setup_msi_irq()
601 PCI_FUNC(pdev->devfn), cpos, in setup_msi_irq()
611 pci_conf_write16(pdev->seg, pdev->bus, PCI_SLOT(pdev->devfn), in setup_msi_irq()
612 PCI_FUNC(pdev->devfn), cpos, control); in setup_msi_irq()
694 u8 slot = PCI_SLOT(dev->devfn); in msi_capability_init()
695 u8 func = PCI_FUNC(dev->devfn); in msi_capability_init()
851 u8 slot = PCI_SLOT(dev->devfn); in msix_capability_init()
852 u8 func = PCI_FUNC(dev->devfn); in msix_capability_init()
904 pslot = PCI_SLOT(dev->info.physfn.devfn); in msix_capability_init()
905 pfunc = PCI_FUNC(dev->info.physfn.devfn); in msix_capability_init()
906 vf = PCI_BDF2(dev->bus, dev->devfn); in msix_capability_init()
1045 pdev = pci_get_pdev(msi->seg, msi->bus, msi->devfn); in __pci_enable_msi()
1054 PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn)); in __pci_enable_msi()
1063 PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn)); in __pci_enable_msi()
1100 u8 slot = PCI_SLOT(msi->devfn); in __pci_enable_msix()
1101 u8 func = PCI_FUNC(msi->devfn); in __pci_enable_msix()
1105 pdev = pci_get_pdev(msi->seg, msi->bus, msi->devfn); in __pci_enable_msix()
1121 PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn)); in __pci_enable_msix()
1130 PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn)); in __pci_enable_msix()
1155 u8 slot = PCI_SLOT(dev->devfn); in __pci_disable_msix()
1156 u8 func = PCI_FUNC(dev->devfn); in __pci_disable_msix()
1180 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in __pci_disable_msix()
1191 int pci_prepare_msix(u16 seg, u8 bus, u8 devfn, bool off) in pci_prepare_msix() argument
1195 u8 slot = PCI_SLOT(devfn), func = PCI_FUNC(devfn); in pci_prepare_msix()
1206 pdev = pci_get_pdev(seg, bus, devfn); in pci_prepare_msix()
1279 u8 slot = PCI_SLOT(pdev->devfn); in pci_msi_conf_write_intercept()
1280 u8 func = PCI_FUNC(pdev->devfn); in pci_msi_conf_write_intercept()
1347 u8 slot = PCI_SLOT(pdev->devfn), func = PCI_FUNC(pdev->devfn); in pci_restore_msi_state()
1358 pdev->devfn); in pci_restore_msi_state()
1378 pdev->seg, pdev->bus, PCI_SLOT(pdev->devfn), in pci_restore_msi_state()
1379 PCI_FUNC(pdev->devfn), i); in pci_restore_msi_state()
1443 pci_conf_write16(pdev->seg, pdev->bus, PCI_SLOT(pdev->devfn), in pci_restore_msi_state()
1444 PCI_FUNC(pdev->devfn), cpos, control); in pci_restore_msi_state()