Searched refs:sg_pci (Results 1 – 16 of 16) sorted by relevance
/Linux-v4.19/arch/alpha/kernel/ |
D | core_titan.c | 322 hose->sg_pci = iommu_arena_new(hose, 0xc0000000, 0x40000000, 0); in titan_init_one_pachip_port() 323 hose->sg_pci->align_entry = 4; /* Titan caches 4 PTEs at a time */ in titan_init_one_pachip_port() 333 port->wsba[2].csr = hose->sg_pci->dma_base | 3; in titan_init_one_pachip_port() 334 port->wsm[2].csr = (hose->sg_pci->size - 1) & 0xfff00000; in titan_init_one_pachip_port() 335 port->tba[2].csr = virt_to_phys(hose->sg_pci->ptes); in titan_init_one_pachip_port() 496 if (hose->sg_pci && in titan_ioremap() 497 baddr >= (unsigned long)hose->sg_pci->dma_base && in titan_ioremap() 498 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size){ in titan_ioremap() 503 baddr -= hose->sg_pci->dma_base; in titan_ioremap() 504 last -= hose->sg_pci->dma_base; in titan_ioremap() [all …]
|
D | core_marvel.c | 303 hose->sg_pci = iommu_arena_new_node(marvel_cpuid_to_nid(io7->pe), in io7_init_hose() 305 hose->sg_pci->align_entry = 8; /* cache line boundary */ in io7_init_hose() 307 hose->sg_pci->dma_base | wbase_m_ena | wbase_m_sg; in io7_init_hose() 308 csrs->POx_WMASK[2].csr = (hose->sg_pci->size - 1) & wbase_m_addr; in io7_init_hose() 309 csrs->POx_TBASE[2].csr = virt_to_phys(hose->sg_pci->ptes); in io7_init_hose() 723 if (hose->sg_pci && in marvel_ioremap() 724 baddr >= (unsigned long)hose->sg_pci->dma_base && in marvel_ioremap() 725 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size) { in marvel_ioremap() 730 baddr -= hose->sg_pci->dma_base; in marvel_ioremap() 731 last -= hose->sg_pci->dma_base; in marvel_ioremap() [all …]
|
D | core_tsunami.c | 326 hose->sg_pci = iommu_arena_new(hose, 0x40000000, in tsunami_init_one_pchip() 328 hose->sg_pci->align_entry = 4; /* Tsunami caches 4 PTEs at a time */ in tsunami_init_one_pchip() 337 pchip->wsba[1].csr = hose->sg_pci->dma_base | 3; in tsunami_init_one_pchip() 338 pchip->wsm[1].csr = (hose->sg_pci->size - 1) & 0xfff00000; in tsunami_init_one_pchip() 339 pchip->tba[1].csr = virt_to_phys(hose->sg_pci->ptes); in tsunami_init_one_pchip()
|
D | pci.c | 100 struct pci_iommu_arena *pci = hose->sg_pci; in quirk_cypress() 336 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0; in common_init_pci()
|
D | core_mcpcia.c | 368 hose->sg_pci = iommu_arena_new(hose, 0x40000000, in mcpcia_startup_hose() 378 *(vuip)MCPCIA_W1_BASE(mid) = hose->sg_pci->dma_base | 3; in mcpcia_startup_hose() 379 *(vuip)MCPCIA_W1_MASK(mid) = (hose->sg_pci->size - 1) & 0xfff00000; in mcpcia_startup_hose() 380 *(vuip)MCPCIA_T1_BASE(mid) = virt_to_phys(hose->sg_pci->ptes) >> 8; in mcpcia_startup_hose()
|
D | pci_iommu.c | 297 arena = hose->sg_pci; in pci_map_single_1() 399 arena = hose->sg_pci; in alpha_pci_unmap_page() 687 arena = hose->sg_pci; in alpha_pci_map_sg() 750 arena = hose->sg_pci; in alpha_pci_unmap_sg() 829 arena = hose->sg_pci; in alpha_pci_supported()
|
D | core_wildfire.c | 115 hose->sg_pci = iommu_arena_new(hose, 0xc0000000, 0x08000000, 0); in wildfire_init_hose() 131 pci->pci_window[3].wbase.csr = hose->sg_pci->dma_base | 3; in wildfire_init_hose() 132 pci->pci_window[3].wmask.csr = (hose->sg_pci->size - 1) & 0xfff00000; in wildfire_init_hose() 133 pci->pci_window[3].tbase.csr = virt_to_phys(hose->sg_pci->ptes); in wildfire_init_hose()
|
D | core_polaris.c | 173 hose->sg_isa = hose->sg_pci = NULL; in polaris_init_arch()
|
D | sys_jensen.c | 206 hose->sg_isa = hose->sg_pci = NULL; in jensen_init_arch()
|
D | core_apecs.c | 350 hose->sg_pci = NULL; in apecs_init_arch()
|
D | core_irongate.c | 295 hose->sg_isa = hose->sg_pci = NULL; in irongate_init_arch()
|
D | core_lca.c | 279 hose->sg_pci = NULL; in lca_init_arch()
|
D | sys_dp264.c | 536 hose_head->sg_pci->align_entry = 4; in webbrick_init_arch()
|
D | core_t2.c | 355 hose->sg_pci = NULL; in t2_sg_map_window2()
|
D | core_cia.c | 726 hose->sg_pci = NULL; in do_init_arch()
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | pci.h | 43 struct pci_iommu_arena *sg_pci; member
|