Lines Matching refs:ioda
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()
495 mutex_unlock(&phb->ioda.pe_list_mutex); in pnv_ioda_release_vf_PE()
657 mutex_lock(&phb->ioda.pe_list_mutex); in pnv_ioda_setup_vf_PE()
658 list_add_tail(&pe->list, &phb->ioda.pe_list); in pnv_ioda_setup_vf_PE()
659 mutex_unlock(&phb->ioda.pe_list_mutex); in pnv_ioda_setup_vf_PE()