Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda.c129 return (r->start >= phb->ioda.m64_base && in pnv_pci_is_m64()
130 r->start < (phb->ioda.m64_base + phb->ioda.m64_size)); in pnv_pci_is_m64()
144 phb->ioda.pe_array[pe_no].phb = phb; in pnv_ioda_init_pe()
145 phb->ioda.pe_array[pe_no].pe_number = pe_no; in pnv_ioda_init_pe()
158 return &phb->ioda.pe_array[pe_no]; in pnv_ioda_init_pe()
163 if (!(pe_no >= 0 && pe_no < phb->ioda.total_pe_num)) { in pnv_ioda_reserve_pe()
169 if (test_and_set_bit(pe_no, phb->ioda.pe_alloc)) in pnv_ioda_reserve_pe()
180 for (pe = phb->ioda.total_pe_num - 1; pe >= 0; pe--) { in pnv_ioda_alloc_pe()
181 if (!test_and_set_bit(pe, phb->ioda.pe_alloc)) in pnv_ioda_alloc_pe()
196 clear_bit(pe_num, phb->ioda.pe_alloc); in pnv_ioda_free_pe()
[all …]
DMakefile9 obj-$(CONFIG_PCI) += pci.o pci-ioda.o npu-dma.o pci-ioda-tce.o
Dpci.h177 } ioda; member
Deeh-powernv.c98 if (phb->ioda.reserved_pe_idx != 0) in pnv_eeh_init()
395 if (phb->ioda.pe_rmap[config_addr] == IODA_INVALID_PE) { in pnv_eeh_probe()
420 edev->pe_config_addr = phb->ioda.pe_rmap[config_addr]; in pnv_eeh_probe()
1412 pnv_pe = &phb->ioda.pe_array[pe_no]; in pnv_eeh_get_pe()
Dpci.c617 pe_no = phb->ioda.reserved_pe_idx; in pnv_pci_config_check_eeh()
831 list_for_each_entry(pe, &phb->ioda.pe_list, list) { in pnv_pci_dma_dev_setup()
852 list_for_each_entry(pe, &phb->ioda.pe_list, list) { in pnv_pci_dma_bus_setup()
Dnpu-dma.c193 pe = &phb->ioda.pe_array[pdn->pe_number]; in get_gpu_pci_dev_and_pe()
342 npe = &phb->ioda.pe_array[pdn->pe_number]; in pnv_npu_try_dma_set_bypass()