Lines Matching refs:subnodeoffset
684 int fdt_create_phy_node(void *fdt, int offset, u8 phyaddr, int *subnodeoffset, in fdt_create_phy_node() argument
694 *subnodeoffset = fdt_add_subnode(fdt, offset, phy_node_name); in fdt_create_phy_node()
695 if (*subnodeoffset <= 0) { in fdt_create_phy_node()
698 fdt_strerror(*subnodeoffset)); in fdt_create_phy_node()
699 return *subnodeoffset; in fdt_create_phy_node()
706 ret = fdt_setprop_string(fdt, *subnodeoffset, "compatible", in fdt_create_phy_node()
714 ret = fdt_appendprop_string(fdt, *subnodeoffset, "compatible", in fdt_create_phy_node()
721 ret = fdt_appendprop_string(fdt, *subnodeoffset, "compatible", in fdt_create_phy_node()
729 ret = fdt_setprop_cell(fdt, *subnodeoffset, "reg", phyaddr); in fdt_create_phy_node()
735 ret = fdt_set_phandle(fdt, *subnodeoffset, phandle); in fdt_create_phy_node()
743 fdt_del_node(fdt, *subnodeoffset); in fdt_create_phy_node()
750 int fpga_offset, offset, subnodeoffset; in fdt_fixup_board_phy() local
803 &subnodeoffset, in fdt_fixup_board_phy()
811 fdt_del_node(fdt, subnodeoffset); in fdt_fixup_board_phy()