Home
last modified time | relevance | path

Searched refs:nodeoff (Results 1 – 14 of 14) sorted by relevance

/third_party/uboot/u-boot-2020.01/arch/arm/lib/
Dpsci-dt.c20 int nodeoff; in fdt_psci() local
24 nodeoff = fdt_path_offset(fdt, "/cpus"); in fdt_psci()
25 if (nodeoff < 0) { in fdt_psci()
27 return nodeoff; in fdt_psci()
31 for (tmp = fdt_first_subnode(fdt, nodeoff); in fdt_psci()
53 nodeoff = fdt_path_offset(fdt, "/psci"); in fdt_psci()
54 if (nodeoff >= 0) in fdt_psci()
57 nodeoff = fdt_path_offset(fdt, "/"); in fdt_psci()
58 if (nodeoff < 0) in fdt_psci()
59 return nodeoff; in fdt_psci()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpcie_layerscape_gen4_fixup.c72 int nodeoff; in fdt_pcie_set_msi_map_entry() local
75 nodeoff = fdt_node_offset_by_compat_reg(blob, CONFIG_FSL_PCIE_COMPAT, in fdt_pcie_set_msi_map_entry()
80 if (nodeoff < 0) { in fdt_pcie_set_msi_map_entry()
86 prop = (u32 *)fdt_getprop(blob, nodeoff, "msi-parent", 0); in fdt_pcie_set_msi_map_entry()
95 fdt_appendprop_u32(blob, nodeoff, "msi-map", devid); in fdt_pcie_set_msi_map_entry()
96 fdt_appendprop_u32(blob, nodeoff, "msi-map", phandle); in fdt_pcie_set_msi_map_entry()
97 fdt_appendprop_u32(blob, nodeoff, "msi-map", streamid); in fdt_pcie_set_msi_map_entry()
98 fdt_appendprop_u32(blob, nodeoff, "msi-map", 1); in fdt_pcie_set_msi_map_entry()
114 int nodeoff; in fdt_pcie_set_iommu_map_entry() local
118 nodeoff = fdt_node_offset_by_compat_reg(blob, CONFIG_FSL_PCIE_COMPAT, in fdt_pcie_set_iommu_map_entry()
[all …]
/third_party/uboot/u-boot-2020.01/board/freescale/p1010rdb/
Dp1010rdb.c374 int nodeoff = 0; in fdt_del_flexcan() local
376 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_del_flexcan()
378 fdt_del_node(blob, nodeoff); in fdt_del_flexcan()
384 int nodeoff = 0; in fdt_del_spi_flash() local
386 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_del_spi_flash()
388 fdt_del_node(blob, nodeoff); in fdt_del_spi_flash()
394 int nodeoff = 0; in fdt_del_spi_slic() local
396 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_del_spi_slic()
398 fdt_del_node(blob, nodeoff); in fdt_del_spi_slic()
404 int nodeoff = 0; in fdt_del_tdm() local
[all …]
/third_party/uboot/u-boot-2020.01/board/freescale/mx7ulp_evk/
Dmx7ulp_evk.c55 int rc, nodeoff; in ft_board_setup() local
64 nodeoff = fdt_path_offset(blob, path); in ft_board_setup()
65 if (nodeoff < 0) in ft_board_setup()
69 if (fdt_get_property(blob, nodeoff, "vqmmc-supply", in ft_board_setup()
71 rc = fdt_delprop(blob, nodeoff, "vqmmc-supply"); in ft_board_setup()
75 rc = fdt_setprop(blob, nodeoff, in ft_board_setup()
/third_party/uboot/u-boot-2020.01/board/freescale/ls1046afrwy/
Deth.c67 int offset, nodeoff; in fdt_update_ethernet_dt() local
92 nodeoff = fdt_path_offset(blob, path); in fdt_update_ethernet_dt()
97 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
99 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
101 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
103 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
/third_party/uboot/u-boot-2020.01/board/freescale/ls1046ardb/
Deth.c83 int offset, nodeoff; in fdt_update_ethernet_dt() local
108 nodeoff = fdt_path_offset(blob, path); in fdt_update_ethernet_dt()
113 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
116 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8569mds/
Dmpc8569mds.c521 int nodeoff, off, err; in ft_board_setup() local
527 nodeoff = -1; in ft_board_setup()
528 while ((nodeoff = fdt_node_offset_by_compatible(blob, nodeoff, in ft_board_setup()
530 err = fdt_setprop_string(blob, nodeoff, "tx-clock-name", in ft_board_setup()
538 err = fdt_fixup_phy_connection(blob, nodeoff, in ft_board_setup()
547 index = fdt_getprop(blob, nodeoff, "cell-index", 0); in ft_board_setup()
553 ph = fdt_getprop(blob, nodeoff, "phy-handle", 0); in ft_board_setup()
/third_party/uboot/u-boot-2020.01/board/freescale/c29xpcie/
Dc29xpcie.c122 int nodeoff = 0; in fdt_del_sec() local
124 while ((nodeoff = fdt_node_offset_by_compat_reg(blob, "fsl,sec-v6.0", in fdt_del_sec()
127 fdt_del_node(blob, nodeoff); in fdt_del_sec()
/third_party/uboot/u-boot-2020.01/board/freescale/t102xqds/
Dt102xqds.c344 int nodeoff = 0; in fdt_fixup_spi_mux() local
347 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_fixup_spi_mux()
349 fdt_del_node(blob, nodeoff); in fdt_fixup_spi_mux()
353 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_fixup_spi_mux()
355 fdt_del_node(blob, nodeoff); in fdt_fixup_spi_mux()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/imx8m/
Dsoc.c348 int nodeoff; in ft_system_setup() local
360 nodeoff = fdt_path_offset(blob, nodes_path[i]); in ft_system_setup()
361 if (nodeoff < 0) in ft_system_setup()
366 rc = fdt_delprop(blob, nodeoff, "cpu-idle-states"); in ft_system_setup()
/third_party/uboot/u-boot-2020.01/board/freescale/ls1043ardb/
Dls1043ardb.c265 int nodeoff = 0; in fdt_del_qe() local
267 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_del_qe()
269 fdt_del_node(blob, nodeoff); in fdt_del_qe()
/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc85xx/
Dfdt.c531 int nodeoff; local
555 nodeoff = fdt_node_offset_by_compat_reg(blob, "fsl,elo3-dma",
557 if (nodeoff > 0)
558 fdt_status_disabled(blob, nodeoff);
847 int nodeoff = 0; local
849 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0,
851 fdt_del_node(blob, nodeoff);
/third_party/uboot/u-boot-2020.01/board/freescale/t102xrdb/
Dt102xrdb.c219 int nodeoff = fdt_node_offset_by_compatible(blob, 0, "cfi-flash"); in fdt_enable_nor() local
221 if (nodeoff >= 0) in fdt_enable_nor()
222 fdt_status_okay(blob, nodeoff); in fdt_enable_nor()
/third_party/uboot/u-boot-2020.01/common/
Dfdt_support.c90 int nodeoff = fdt_path_offset(fdt, node); in fdt_find_and_setprop() local
92 if (nodeoff < 0) in fdt_find_and_setprop()
93 return nodeoff; in fdt_find_and_setprop()
95 if ((!create) && (fdt_get_property(fdt, nodeoff, prop, NULL) == NULL)) in fdt_find_and_setprop()
98 return fdt_setprop(fdt, nodeoff, prop, val, len); in fdt_find_and_setprop()
521 int nodeoff; in fdt_fixup_ethernet() local
564 nodeoff = fdt_path_offset(fdt, path); in fdt_fixup_ethernet()
565 fdt_prop = fdt_get_property(fdt, nodeoff, "status", in fdt_fixup_ethernet()