Home
last modified time | relevance | path

Searched refs:ioda (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/powernv/
H A Dpci-sriov.c156 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 …]
H A Dpci.h176 } ioda; member
195 return (r->start >= phb->ioda.m64_base && in pnv_pci_is_m64()
196 r->start < (phb->ioda.m64_base + phb->ioda.m64_size)); in pnv_pci_is_m64()
H A Deeh-powernv.c374 edev->pe_config_addr = phb->ioda.pe_rmap[config_addr]; in pnv_eeh_probe()
1351 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe()