Lines Matching defs:map
980 /* iommu map structure */
986 } *map;
994 of_get_property(dev->of_node, "iommu-map", &size);
1003 map = kzalloc(size, GFP_KERNEL);
1004 if (!map)
1007 of_property_read_u32_array(dev->of_node, "iommu-map", (u32 *)map,
1010 nr_map = size / (sizeof(*map));
1017 /* Extract the SMMU SID base from the first entry of iommu-map */
1018 smmu_sid_base = map[0].smmu_sid;
1022 __be16 bdf_be = cpu_to_be16(map[i].bdf);
1045 val = map[i].bdf << 16 | (map[i].smmu_sid - smmu_sid_base) << 8 | 0;
1049 kfree(map);