Home
last modified time | relevance | path

Searched refs:noff (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dfdt_support.c1012 int noff; in fdt_fixup_mtdparts() local
1019 noff = fdt_node_offset_by_compatible(blob, -1, ni[i].compat); in fdt_fixup_mtdparts()
1020 while (noff != -FDT_ERR_NOTFOUND) { in fdt_fixup_mtdparts()
1022 fdt_get_name(blob, noff, 0), in fdt_fixup_mtdparts()
1026 if (fdt_node_set_part_info(blob, noff, dev)) in fdt_fixup_mtdparts()
1031 noff = fdt_node_offset_by_compatible(blob, noff, in fdt_fixup_mtdparts()
1567 int noff; in fdt_add_edid() local
1570 noff = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_add_edid()
1571 if (noff != -FDT_ERR_NOTFOUND) { in fdt_add_edid()
1572 debug("%s: %s\n", fdt_get_name(blob, noff, 0), compat); in fdt_add_edid()
[all …]
/rk3399_rockchip-uboot/drivers/net/fsl-mc/
H A Dmc.c285 int nodeoffset = fdt_path_offset(blob, "/board_info/ports"), noff; in mc_fixup_dpc_mac_addr() local
293 noff = fdt_subnode_offset(blob, nodeoffset, (const char *)mac_name); in mc_fixup_dpc_mac_addr()
294 if (noff < 0) { in mc_fixup_dpc_mac_addr()
302 noff = fdt_add_subnode(blob, nodeoffset, mac_name); in mc_fixup_dpc_mac_addr()
303 if (noff < 0) { in mc_fixup_dpc_mac_addr()
310 err = fdt_appendprop_string(blob, noff, in mc_fixup_dpc_mac_addr()
319 return mc_fixup_mac_addr(blob, noff, "port_mac_address", eth_dev, in mc_fixup_dpc_mac_addr()