Lines Matching refs:bir
750 static u64 read_pci_mem_bar(u16 seg, u8 bus, u8 slot, u8 func, u8 bir, int vf) in read_pci_mem_bar() argument
774 bir >= PCI_SRIOV_NUM_BARS || in read_pci_mem_bar()
775 !pdev->vf_rlen[bir] ) in read_pci_mem_bar()
790 disp = vf * pdev->vf_rlen[bir]; in read_pci_mem_bar()
809 if ( bir >= limit ) in read_pci_mem_bar()
811 addr = pci_conf_read32(seg, bus, slot, func, base + bir * 4); in read_pci_mem_bar()
817 if ( ++bir >= limit ) in read_pci_mem_bar()
821 base + bir * 4) << 32); in read_pci_mem_bar()
848 u8 bir, pbus, pslot, pfunc; in msix_capability_init() local
891 bir = (u8)(table_offset & PCI_MSIX_BIRMASK); in msix_capability_init()
909 table_paddr = read_pci_mem_bar(seg, pbus, pslot, pfunc, bir, vf); in msix_capability_init()
938 bir = (u8)(pba_offset & PCI_MSIX_BIRMASK); in msix_capability_init()
939 pba_paddr = read_pci_mem_bar(seg, pbus, pslot, pfunc, bir, vf); in msix_capability_init()