Lines Matching +full:full +full:- +full:custom
1 /* SPDX-License-Identifier: GPL-2.0 */
26 * struct iommu_flush_ops - IOMMU callbacks for TLB and page table management.
50 * struct io_pgtable_cfg - Configuration data for a set of page tables.
53 * action by the low-level page table allocator.
68 * even in non-secure state where they should normally be ignored.
71 * IOMMU_NOEXEC flags and map everything with full access, for
73 * format, and/or requires some format-specific default value.
86 * IO_PGTABLE_QUIRK_ARM_OUTER_WBWA: Override the outer-cacheability
87 * attributes set in the TCR for a non-coherent page-table walker.
107 * @alloc: Custom page allocator.
115 * Not all formats support custom page allocators. Before considering
116 * passing a non-NULL value, make sure the chosen page format supports
122 * @free: Custom page de-allocator.
125 * hook. Must be non-NULL if @alloc is not NULL, must be NULL
130 /* Low-level data specific to the table format */
182 * struct io_pgtable_ops - Page table manipulation API for IOMMU drivers.
207 * alloc_io_pgtable_ops() - Allocate a page table allocator for use by an IOMMU.
214 * the callback routines in cfg->tlb.
221 * free_io_pgtable_ops() - Free an io_pgtable_ops structure. The caller
235 * struct io_pgtable - Internal structure describing a set of page tables.
254 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_all) in io_pgtable_tlb_flush_all()
255 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all()
262 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_walk) in io_pgtable_tlb_flush_walk()
263 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
271 if (iop->cfg.tlb && iop->cfg.tlb->tlb_add_page) in io_pgtable_tlb_add_page()
272 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
276 * enum io_pgtable_caps - IO page table backend capabilities.
279 /** @IO_PGTABLE_CAP_CUSTOM_ALLOCATOR: Backend accepts custom page table allocators. */
284 * struct io_pgtable_init_fns - Alloc/free a set of page tables for a