Lines Matching refs:nodeoffset
78 int nodeoffset; in fdt_pcie_set_msi_map_entry() local
83 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_msi_map_entry()
85 if (nodeoffset < 0) { in fdt_pcie_set_msi_map_entry()
95 nodeoffset = fdt_node_offset_by_compat_reg(blob, in fdt_pcie_set_msi_map_entry()
98 if (nodeoffset < 0) in fdt_pcie_set_msi_map_entry()
103 prop = (u32 *)fdt_getprop(blob, nodeoffset, "msi-parent", 0); in fdt_pcie_set_msi_map_entry()
112 fdt_appendprop_u32(blob, nodeoffset, "msi-map", devid); in fdt_pcie_set_msi_map_entry()
113 fdt_appendprop_u32(blob, nodeoffset, "msi-map", phandle); in fdt_pcie_set_msi_map_entry()
114 fdt_appendprop_u32(blob, nodeoffset, "msi-map", streamid); in fdt_pcie_set_msi_map_entry()
115 fdt_appendprop_u32(blob, nodeoffset, "msi-map", 1); in fdt_pcie_set_msi_map_entry()
131 int nodeoffset; in fdt_pcie_set_iommu_map_entry() local
135 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_iommu_map_entry()
137 if (nodeoffset < 0) { in fdt_pcie_set_iommu_map_entry()
139 nodeoffset = fdt_node_offset_by_compat_reg(blob, in fdt_pcie_set_iommu_map_entry()
141 if (nodeoffset < 0) in fdt_pcie_set_iommu_map_entry()
149 prop = fdt_getprop_w(blob, nodeoffset, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry()
163 fdt_setprop_inplace(blob, nodeoffset, "iommu-map", in fdt_pcie_set_iommu_map_entry()
166 fdt_appendprop(blob, nodeoffset, "iommu-map", iommu_map, 16); in fdt_pcie_set_iommu_map_entry()