Lines Matching refs:off
145 int off; in __ft_tsec_fixup() local
148 off = fdt_path_offset(blob, alias); in __ft_tsec_fixup()
149 if (off < 0) { in __ft_tsec_fixup()
151 fdt_strerror(off)); in __ft_tsec_fixup()
155 err = fdt_fixup_phy_connection(blob, off, PHY_INTERFACE_MODE_SGMII); in __ft_tsec_fixup()
163 ph = (u32 *)fdt_getprop(blob, off, "phy-handle", 0); in __ft_tsec_fixup()
170 off = fdt_node_offset_by_phandle(blob, *ph); in __ft_tsec_fixup()
171 if (off < 0) { in __ft_tsec_fixup()
173 fdt_strerror(off)); in __ft_tsec_fixup()
178 err = fdt_setprop(blob, off, "reg", &phy_addr, sizeof(phy_addr)); in __ft_tsec_fixup()
315 int off; in ft_pci_fixup() local
318 off = fdt_path_offset(blob, "pci0"); in ft_pci_fixup()
319 if (off < 0) { in ft_pci_fixup()
321 fdt_strerror(off)); in ft_pci_fixup()
325 err = fdt_setprop(blob, off, "status", status, strlen(status) + 1); in ft_pci_fixup()