Home
last modified time | relevance | path

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

/u-boot/arch/arm/lib/
A Dpsci-dt.c21 int nodeoff; in fdt_psci() local
25 nodeoff = fdt_path_offset(fdt, "/cpus"); in fdt_psci()
26 if (nodeoff < 0) { in fdt_psci()
28 return nodeoff; in fdt_psci()
55 if (nodeoff >= 0) in fdt_psci()
58 nodeoff = fdt_path_offset(fdt, "/"); in fdt_psci()
59 if (nodeoff < 0) in fdt_psci()
60 return nodeoff; in fdt_psci()
62 nodeoff = fdt_add_subnode(fdt, nodeoff, "psci"); in fdt_psci()
63 if (nodeoff < 0) in fdt_psci()
[all …]
/u-boot/drivers/pci/
A Dpcie_layerscape_gen4_fixup.c63 int nodeoff; in fdt_pcie_set_msi_map_entry_ls_gen4() local
71 if (nodeoff < 0) { in fdt_pcie_set_msi_map_entry_ls_gen4()
77 prop = (u32 *)fdt_getprop(blob, nodeoff, "msi-parent", 0); in fdt_pcie_set_msi_map_entry_ls_gen4()
86 fdt_appendprop_u32(blob, nodeoff, "msi-map", devid); in fdt_pcie_set_msi_map_entry_ls_gen4()
87 fdt_appendprop_u32(blob, nodeoff, "msi-map", phandle); in fdt_pcie_set_msi_map_entry_ls_gen4()
88 fdt_appendprop_u32(blob, nodeoff, "msi-map", streamid); in fdt_pcie_set_msi_map_entry_ls_gen4()
89 fdt_appendprop_u32(blob, nodeoff, "msi-map", 1); in fdt_pcie_set_msi_map_entry_ls_gen4()
106 int nodeoff; in fdt_pcie_set_iommu_map_entry_ls_gen4() local
115 if (nodeoff < 0) { in fdt_pcie_set_iommu_map_entry_ls_gen4()
121 prop = fdt_getprop_w(blob, nodeoff, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry_ls_gen4()
[all …]
/u-boot/board/freescale/mx7ulp_evk/
A Dmx7ulp_evk.c57 int rc, nodeoff; in ft_board_setup() local
66 nodeoff = fdt_path_offset(blob, path); in ft_board_setup()
67 if (nodeoff < 0) in ft_board_setup()
71 if (fdt_get_property(blob, nodeoff, "vqmmc-supply", in ft_board_setup()
73 rc = fdt_delprop(blob, nodeoff, "vqmmc-supply"); in ft_board_setup()
77 rc = fdt_setprop(blob, nodeoff, in ft_board_setup()
/u-boot/board/freescale/ls1046afrwy/
A Deth.c71 int offset, nodeoff; in fdt_update_ethernet_dt() local
96 nodeoff = fdt_path_offset(blob, path); 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()
105 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
107 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
/u-boot/arch/arm/mach-imx/imx8m/
A Dsoc.c555 int nodeoff; in check_fdt_new_path() local
558 if (nodeoff < 0) in check_fdt_new_path()
568 int nodeoff; in disable_fdt_nodes() local
573 if (nodeoff < 0) in disable_fdt_nodes()
663 int nodeoff; in check_mipi_dsi_nodes() local
668 if (nodeoff < 0 || !fdtdec_get_is_enabled(blob, nodeoff)) { in check_mipi_dsi_nodes()
678 if (nodeoff < 0 || !fdtdec_get_is_enabled(blob, nodeoff)) in check_mipi_dsi_nodes()
693 if (nodeoff > 0 && nodeoff == lookup_node) in check_mipi_dsi_nodes()
775 int nodeoff; in disable_cpu_nodes() local
784 if (nodeoff < 0) in disable_cpu_nodes()
[all …]
/u-boot/board/freescale/p1010rdb/
A Dp1010rdb.c534 int nodeoff = 0; in fdt_del_flexcan() local
538 fdt_del_node(blob, nodeoff); in fdt_del_flexcan()
544 int nodeoff = 0; in fdt_del_spi_flash() local
548 fdt_del_node(blob, nodeoff); in fdt_del_spi_flash()
554 int nodeoff = 0; in fdt_del_spi_slic() local
558 fdt_del_node(blob, nodeoff); in fdt_del_spi_slic()
564 int nodeoff = 0; in fdt_del_tdm() local
574 int nodeoff = 0; in fdt_del_sdhc() local
584 int nodeoff = 0; in fdt_del_ifc() local
594 int nodeoff; in fdt_disable_uart1() local
[all …]
/u-boot/board/Marvell/octeontx2/
A Dboard-fdt.c149 int nodeoff, node, ret, i; in ft_board_setup() local
168 nodeoff = fdt_path_offset(blob, "/cavium,bdk"); in ft_board_setup()
169 if (nodeoff < 0) { in ft_board_setup()
171 return nodeoff; in ft_board_setup()
176 temp = fdt_getprop(blob, nodeoff, in ft_board_setup()
182 ret = fdt_del_node(blob, nodeoff); in ft_board_setup()
/u-boot/board/freescale/ls1046ardb/
A Deth.c85 int offset, nodeoff; in fdt_update_ethernet_dt() local
110 nodeoff = fdt_path_offset(blob, path); in fdt_update_ethernet_dt()
115 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
118 fdt_status_disabled(blob, nodeoff); in fdt_update_ethernet_dt()
/u-boot/board/friendlyarm/nanopi2/
A Dboard.c541 int nodeoff; in ft_board_setup() local
549 nodeoff = fdt_find_or_add_subnode(blob, 0, "chosen"); in ft_board_setup()
550 if (nodeoff >= 0) in ft_board_setup()
551 fdt_setprop_u32(blob, nodeoff, "linux,rootdev", in ft_board_setup()
558 nodeoff = fdt_path_offset(blob, "/reserved-memory"); in ft_board_setup()
559 if (nodeoff < 0) in ft_board_setup()
560 return nodeoff; in ft_board_setup()
562 nodeoff = fdt_add_subnode(blob, nodeoff, "display_reserved"); in ft_board_setup()
563 if (nodeoff >= 0) { in ft_board_setup()
569 fdt_setprop(blob, nodeoff, "reg", cells, in ft_board_setup()
/u-boot/board/freescale/ls1043ardb/
A Dls1043ardb.c267 int nodeoff = 0; in fdt_del_qe() local
269 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0, in fdt_del_qe()
271 fdt_del_node(blob, nodeoff); in fdt_del_qe()
/u-boot/arch/powerpc/cpu/mpc85xx/
A Dfdt.c535 int nodeoff; local
559 nodeoff = fdt_node_offset_by_compat_reg(blob, "fsl,elo3-dma",
561 if (nodeoff > 0)
562 fdt_status_disabled(blob, nodeoff);
851 int nodeoff = 0; local
853 while ((nodeoff = fdt_node_offset_by_compatible(blob, 0,
855 fdt_del_node(blob, nodeoff);
/u-boot/board/freescale/t102xrdb/
A Dt102xrdb.c225 int nodeoff = fdt_node_offset_by_compatible(blob, 0, "cfi-flash"); in fdt_enable_nor() local
227 if (nodeoff >= 0) in fdt_enable_nor()
228 fdt_status_okay(blob, nodeoff); in fdt_enable_nor()
/u-boot/common/
A Dfdt_support.c94 int nodeoff = fdt_path_offset(fdt, node); in fdt_find_and_setprop() local
96 if (nodeoff < 0) in fdt_find_and_setprop()
97 return nodeoff; in fdt_find_and_setprop()
99 if ((!create) && (fdt_get_property(fdt, nodeoff, prop, NULL) == NULL)) in fdt_find_and_setprop()
102 return fdt_setprop(fdt, nodeoff, prop, val, len); in fdt_find_and_setprop()
518 int nodeoff; in fdt_fixup_ethernet() local
561 nodeoff = fdt_path_offset(fdt, path); in fdt_fixup_ethernet()
562 fdt_prop = fdt_get_property(fdt, nodeoff, "status", in fdt_fixup_ethernet()
/u-boot/arch/arm/mach-imx/mx6/
A Dmodule_fuse.c209 rc = fdt_setprop(blob, nodeoff, "status", status, in ft_system_setup()

Completed in 21 milliseconds