Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/platforms/powernv/
Docxl.c487 uint64_t lpcr, void __iomem **arva) in pnv_ocxl_map_lpar() argument
515 *arva = ioremap(mmio_atsd, 24); in pnv_ocxl_map_lpar()
516 if (!(*arva)) { in pnv_ocxl_map_lpar()
525 void pnv_ocxl_unmap_lpar(void __iomem *arva) in pnv_ocxl_unmap_lpar() argument
527 iounmap(arva); in pnv_ocxl_unmap_lpar()
531 void pnv_ocxl_tlb_invalidate(void __iomem *arva, in pnv_ocxl_tlb_invalidate() argument
541 if (!(arva)) in pnv_ocxl_tlb_invalidate()
549 out_be64(arva + PNV_OCXL_ATSD_AVA, val); in pnv_ocxl_tlb_invalidate()
579 out_be64(arva + PNV_OCXL_ATSD_LNCH, val); in pnv_ocxl_tlb_invalidate()
584 val = in_be64(arva + PNV_OCXL_ATSD_STAT); in pnv_ocxl_tlb_invalidate()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dpnv-ocxl.h79 uint64_t lpcr, void __iomem **arva);
80 void pnv_ocxl_unmap_lpar(void __iomem *arva);
81 void pnv_ocxl_tlb_invalidate(void __iomem *arva,
/linux-6.6.21/drivers/misc/ocxl/
Dlink.c92 void __iomem *arva; /* ATSD register virtual address */ member
420 pnv_ocxl_map_lpar(dev, mfspr(SPRN_LPID), 0, &link->arva); in alloc_link()
473 if (link->arva) { in release_xsl()
474 pnv_ocxl_unmap_lpar(link->arva); in release_xsl()
475 link->arva = NULL; in release_xsl()
507 pnv_ocxl_tlb_invalidate(link->arva, pid, addr, page_size); in arch_invalidate_secondary_tlbs()
591 if (link->arva) { in ocxl_link_add_pe()
730 if (link->arva) { in ocxl_link_remove_pe()
736 pnv_ocxl_tlb_invalidate(link->arva, in ocxl_link_remove_pe()