Searched refs:iommu_map (Results 1 - 4 of 4) sorted by relevance

/u-boot/drivers/iommu/
H A Diommu-uclass.c22 u32 *iommu_map; local
36 iommu_map = malloc(len);
37 if (!iommu_map)
41 ret = dev_read_u32_array(parent, "iommu-map", iommu_map, count);
43 free(iommu_map);
52 rid_base = iommu_map[i];
53 phandle = iommu_map[i + 1];
54 length = iommu_map[i + 3];
64 free(iommu_map);
71 free(iommu_map);
[all...]
/u-boot/drivers/pci/
H A Dpcie_layerscape_gen4_fixup.c105 u32 iommu_map[4]; local
129 iommu_map[0] = cpu_to_fdt32(devid);
130 iommu_map[1] = *++prop;
131 iommu_map[2] = cpu_to_fdt32(streamid);
132 iommu_map[3] = cpu_to_fdt32(1);
135 fdt_setprop_inplace(blob, nodeoff, "iommu-map", iommu_map, 16);
137 fdt_appendprop(blob, nodeoff, "iommu-map", iommu_map, 16);
H A Dpcie_layerscape_fixup.c159 u32 iommu_map[4]; local
177 iommu_map[0] = cpu_to_fdt32(devid);
178 iommu_map[1] = *++prop;
179 iommu_map[2] = cpu_to_fdt32(streamid);
180 iommu_map[3] = cpu_to_fdt32(1);
184 iommu_map, 16);
186 fdt_appendprop(blob, nodeoffset, "iommu-map", iommu_map, 16);
/u-boot/drivers/net/fsl-mc/
H A Dmc.c301 u32 iommu_map[4], phandle; local
322 iommu_map[0] = cpu_to_fdt32(FSL_DPAA2_STREAM_ID_START);
323 iommu_map[1] = *++prop;
324 iommu_map[2] = cpu_to_fdt32(FSL_DPAA2_STREAM_ID_START);
325 iommu_map[3] = cpu_to_fdt32(FSL_DPAA2_STREAM_ID_END -
329 iommu_map, sizeof(iommu_map));

Completed in 58 milliseconds