Lines Matching refs:nodeoffset
77 int nodeoffset; in fdt_pcie_set_msi_map_entry() local
82 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_msi_map_entry()
84 if (nodeoffset < 0) { in fdt_pcie_set_msi_map_entry()
94 nodeoffset = fdt_node_offset_by_compat_reg(blob, in fdt_pcie_set_msi_map_entry()
97 if (nodeoffset < 0) in fdt_pcie_set_msi_map_entry()
102 prop = (u32 *)fdt_getprop(blob, nodeoffset, "msi-parent", 0); in fdt_pcie_set_msi_map_entry()
111 fdt_appendprop_u32(blob, nodeoffset, "msi-map", devid); in fdt_pcie_set_msi_map_entry()
112 fdt_appendprop_u32(blob, nodeoffset, "msi-map", phandle); in fdt_pcie_set_msi_map_entry()
113 fdt_appendprop_u32(blob, nodeoffset, "msi-map", streamid); in fdt_pcie_set_msi_map_entry()
114 fdt_appendprop_u32(blob, nodeoffset, "msi-map", 1); in fdt_pcie_set_msi_map_entry()
130 int nodeoffset; in fdt_pcie_set_iommu_map_entry() local
136 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_iommu_map_entry()
138 if (nodeoffset < 0) { in fdt_pcie_set_iommu_map_entry()
149 nodeoffset = fdt_node_offset_by_compat_reg(blob, in fdt_pcie_set_iommu_map_entry()
152 if (nodeoffset < 0) in fdt_pcie_set_iommu_map_entry()
157 prop = fdt_getprop_w(blob, nodeoffset, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry()
171 fdt_setprop_inplace(blob, nodeoffset, "iommu-map", in fdt_pcie_set_iommu_map_entry()
174 fdt_appendprop(blob, nodeoffset, "iommu-map", iommu_map, 16); in fdt_pcie_set_iommu_map_entry()