Searched refs:ioda (Results 1 – 6 of 6) sorted by relevance
123 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_init_pe()124 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_init_pe()125 phb->ioda.pe_array[pe_no].dma_setup_done = false; in pnv_ioda_init_pe()138 return &phb->ioda.pe_array[pe_no]; in pnv_ioda_init_pe()143 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe()149 mutex_lock(&phb->ioda.pe_alloc_mutex); in pnv_ioda_reserve_pe()150 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()153 mutex_unlock(&phb->ioda.pe_alloc_mutex); in pnv_ioda_reserve_pe()163 mutex_lock(&phb->ioda.pe_alloc_mutex); in pnv_ioda_alloc_pe()166 for (pe = phb->ioda.total_pe_num - 1; pe >= 0; pe--) { in pnv_ioda_alloc_pe()[all …]
156 mul = phb->ioda.total_pe_num; in pnv_pci_ioda_fixup_iov_resources()180 if (vf_bar_sz > (phb->ioda.m64_segsize >> 2)) { in pnv_pci_ioda_fixup_iov_resources()281 return phb->ioda.total_pe_num * align; in pnv_pci_iov_resource_alignment()299 clear_bit(window_id, &phb->ioda.m64_bar_alloc); in pnv_pci_vf_release_m64()403 win = find_next_zero_bit(&phb->ioda.m64_bar_alloc, in pnv_pci_alloc_m64_bar()404 phb->ioda.m64_bar_idx + 1, 0); in pnv_pci_alloc_m64_bar()406 if (win >= phb->ioda.m64_bar_idx + 1) in pnv_pci_alloc_m64_bar()408 } while (test_and_set_bit(win, &phb->ioda.m64_bar_alloc)); in pnv_pci_alloc_m64_bar()486 list_for_each_entry_safe(pe, pe_n, &phb->ioda.pe_list, list) { in pnv_ioda_release_vf_PE()493 mutex_lock(&phb->ioda.pe_list_mutex); in pnv_ioda_release_vf_PE()[all …]
6 KASAN_SANITIZE_pci-ioda.o := n7 KASAN_SANITIZE_pci-ioda-tce.o := n22 obj-$(CONFIG_PCI) += pci.o pci-ioda.o pci-ioda-tce.o
182 } ioda; member201 return (r->start >= phb->ioda.m64_base && in pnv_pci_is_m64()202 r->start < (phb->ioda.m64_base + phb->ioda.m64_size)); in pnv_pci_is_m64()
375 edev->pe_config_addr = phb->ioda.pe_rmap[config_addr]; in pnv_eeh_probe()1353 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe()
545 pe_no = phb->ioda.reserved_pe_idx; in pnv_pci_config_check_eeh()