HomeSort by: relevance | last modified time | path
    Searched refs:iommu (Results 1 - 24 of 24) sorted by relevancy

  /src/sys/dev/fdt/
fdt_iommu.c 54 * Return the iommu registered with the specified node, or NULL if
60 struct fdtbus_iommu *iommu; local
62 LIST_FOREACH(iommu, &fdtbus_iommus, iommu_next) {
63 if (iommu->iommu_phandle == phandle) {
64 return iommu;
74 * Register an IOMMU on the specified node.
80 struct fdtbus_iommu *iommu; local
87 if (of_getprop_uint32(phandle, "#iommu-cells", &cells) != 0) {
95 iommu = kmem_alloc(sizeof(*iommu), KM_SLEEP)
117 struct fdtbus_iommu *iommu; local
158 struct fdtbus_iommu *iommu; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/
nouveau_nvkm_engine_device_tegra.c 32 #include <asm/dma-iommu.h>
129 mutex_init(&tdev->iommu.mutex);
132 tdev->iommu.domain = iommu_domain_alloc(&platform_bus_type);
133 if (!tdev->iommu.domain)
137 * A IOMMU is only usable if it supports page sizes smaller
141 pgsize_bitmap = tdev->iommu.domain->ops->pgsize_bitmap;
143 tdev->iommu.pgshift = PAGE_SHIFT;
145 tdev->iommu.pgshift = fls(pgsize_bitmap & ~PAGE_MASK);
146 if (tdev->iommu.pgshift == 0) {
147 dev_warn(dev, "unsupported IOMMU page size\n")
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/
tegra.h 31 } iommu; member in struct:nvkm_device_tegra
39 * If an IOMMU is used, indicates which address bit will trigger a
40 * IOMMU translation when set (when this bit is not set, IOMMU is
41 * bypassed). A value of 0 means an IOMMU is never used.
  /src/sys/arch/sun3/sun3x/
iommu.c 1 /* $NetBSD: iommu.c,v 1.19 2023/12/20 05:18:00 thorpej Exp $ */
37 __KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.19 2023/12/20 05:18:00 thorpej Exp $");
48 #include <sun3/sun3x/iommu.h>
56 CFATTACH_DECL_NEW(iommu, 0,
dvma.c 96 #include <sun3/sun3x/iommu.h>
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
os.h 32 #include <linux/iommu.h>
  /src/sys/arch/sparc64/sparc64/
sysioreg.h 41 * sysio is the sun5/sun4u SBUS controller/DMA/IOMMU/etc. ASIC.
73 uint64_t iommu_cr; /* IOMMU control register */ /* 1fe.0000.2400 */
74 uint64_t iommu_tsb; /* IOMMU TSB base register */ /* 1fe.0000.2408 */
75 uint64_t iommu_flush; /* IOMMU flush register */ /* 1fe.0000.2410 */
76 } iommu; member in struct:sysioreg
107 uint64_t iommu_queue_diag[16]; /* IOMMU LRU queue diag */ /* 1fe.0000.4500-457f */
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/
nouveau_nvkm_subdev_instmem_gk20a.c 32 * 1) If an IOMMU unit has been probed, the IOMMU API is used to make memory
34 * 2) If no IOMMU unit is probed, the DMA API is used to allocate physically
87 * Used for objects flattened using the IOMMU API
126 /* Only used if IOMMU if present */
383 /* clear IOMMU bit to unmap pages */
565 nvkm_error(subdev, "IOMMU space is full!\n");
576 nvkm_error(subdev, "IOMMU mapping failure: %d\n", ret);
586 /* IOMMU bit tells that an address is to be resolved through the IOMMU */
    [all...]
  /src/sys/arch/sparc/sparc/
iommu.c 1 /* $NetBSD: iommu.c,v 1.102 2023/12/01 05:22:01 thorpej Exp $ */
40 __KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.102 2023/12/01 05:22:01 thorpej Exp $");
89 CFATTACH_DECL_NEW(iommu, sizeof(struct iommu_softc),
92 /* IOMMU DMA map functions */
116 * Print the location of some iommu-attached device (called just
117 * before attaching that device). If `iommu' is not NULL, the
118 * device was found but not configured; print the iommu as well.
122 iommu_print(void *args, const char *iommu)
126 if (iommu)
127 aprint_normal("%s at %s", ia->iom_name, iommu);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
mock_gem_device.c 133 /* hack to disable iommu for the fake device; force identity mapping */
134 pdev->dev.archdata.iommu = (void *)-1;
  /src/sys/arch/sun68k/stand/libsa/
sun3x.c 48 #include <arch/sun3/sun3x/iommu.h>
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_iommu.c 32 #include <linux/amd-iommu.h>
42 /** kfd_iommu_check_device - Check whether IOMMU is available for device
63 /** kfd_iommu_device_init - Initialize IOMMU for device
78 "error getting iommu info. is the iommu enabled?\n");
84 "error required iommu flags ats %i, pri %i, pasid %i\n",
104 /** kfd_iommu_bind_process_to_device - Have the IOMMU bind a process
134 * This removes all IOMMU device bindings of the process. To be used
146 /* Callback for process shutdown invoked by the IOMMU driver */
165 pr_debug("Unbinding process 0x%x from IOMMU\n", pasid)
    [all...]
kfd_process.c 34 #include <linux/amd-iommu.h>
833 * Direct the IOMMU to bind the process (specifically the pasid->mm)
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_gpu_error.h 169 int iommu; member in struct:i915_gpu_coredump
i915_gpu_error.c 775 err_printf(m, "IOMMU enabled?: %d\n", error->iommu);
1729 error->iommu = -1;
1731 error->iommu = intel_iommu_gfx_mapped;
i915_drv.h 43 #include <linux/intel-iommu.h>
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/mediatek/
mt2712e.dtsi 326 iommu0: iommu@10205000 {
335 #iommu-cells = <1>;
344 iommu1: iommu@1020a000 {
352 #iommu-cells = <1>;
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/northstar2/
ns2.dtsi 298 smmu: iommu@64000000 {
336 #iommu-cells = <1>;
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/stingray/
stingray.dtsi 193 smmu: iommu@3000000 {
262 #iommu-cells = <2>;
  /src/sys/arch/sparc64/dev/
schizoreg.h 33 struct iommureg2 iommu; /* 0x0200 - 0x03ff */ member in struct:schizo_pbm_regs
437 { 0x000200, 8, 0, 3, "IOMMU Control Register" },
439 /* WO { 0x000210, 8, 0, 3, "IOMMU Flush Page Register" }, */
440 /* WO { 0x000218, 8, 0, 3, "IOMMU Flush Context Register" }, */
444 /* Diag { 0x00a500, 8, 0x7f, 1, "IOMMU LRU Queue Diag Reg" }, */
schizo.c 477 offsetof(struct schizo_pbm_regs, iommu),
929 printf("0x08: IOMMU registers\n");
1007 printf(" IOMMU registers:\n");
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_ttm.c 39 #include <linux/iommu.h>
2593 /* retrieve the IOMMU domain if any for this device */
2607 * the domain is NULL it means there is no IOMMU active
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_execbuffer.c 12 #include <linux/intel-iommu.h>
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_display.c 36 #include <linux/intel-iommu.h>

Completed in 58 milliseconds