Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 108) sorted by relevance

12345

/trusted-firmware-a/plat/st/common/
A Dstm32mp_dt.c125 int node; in dt_set_stdout_pinctrl() local
128 if (node < 0) { in dt_set_stdout_pinctrl()
176 int node; in dt_get_node() local
179 if (node < 0) { in dt_get_node()
185 return node; in dt_get_node()
194 int node; in dt_get_stdout_uart_info() local
203 return node; in dt_get_stdout_uart_info()
213 int node; in dt_match_instance_by_compatible() local
226 return node; in dt_match_instance_by_compatible()
240 int node; in dt_get_ddr_size() local
[all …]
A Dstm32mp_fconf_io.c69 int node; in fconf_populate_stm32mp_io_policies() local
78 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_stm32mp_io_policies()
79 if (node < 0) { in fconf_populate_stm32mp_io_policies()
81 return node; in fconf_populate_stm32mp_io_policies()
91 err = fdtw_read_uuid(dtb, node, load_info[i].name, 16, in fconf_populate_stm32mp_io_policies()
108 uuid_helper.uuid_struct.node[0], uuid_helper.uuid_struct.node[1], in fconf_populate_stm32mp_io_policies()
109 uuid_helper.uuid_struct.node[2], uuid_helper.uuid_struct.node[3], in fconf_populate_stm32mp_io_policies()
110 uuid_helper.uuid_struct.node[4], uuid_helper.uuid_struct.node[5]); in fconf_populate_stm32mp_io_policies()
/trusted-firmware-a/fdts/
A Dstm32mp15-bl32.dtsi13 /delete-node/ cpu@1;
16 /delete-node/ psci;
20 /delete-node/ hash@54002000;
22 /delete-node/ spi@58003000;
23 /delete-node/ mmc@58005000;
24 /delete-node/ mmc@58007000;
26 /delete-node/ spi@5c001000;
31 /delete-node/ fmc-0;
32 /delete-node/ qspi-clk-0;
33 /delete-node/ qspi-bk1-0;
[all …]
A Dstm32mp15-bl2.dtsi14 /delete-node/ cpu@1;
17 /delete-node/ psci;
20 /delete-node/ timer@40006000;
21 /delete-node/ timer@44006000;
26 /delete-node/ cryp@54001000;
27 /delete-node/ rng@54003000;
32 /delete-node/ spi@58003000;
35 /delete-node/ mmc@58005000;
36 /delete-node/ mmc@58007000;
50 /delete-node/ fmc-0;
[all …]
/trusted-firmware-a/drivers/st/clk/
A Dstm32mp_clkfunc.c25 int node, subnode; in fdt_osc_read_freq() local
33 if (node < 0) { in fdt_osc_read_freq()
86 if (node < 0) { in fdt_osc_read_bool()
134 if (node < 0) { in fdt_osc_read_uint32_default()
172 return node; in fdt_get_rcc_node()
185 int node; in fdt_rcc_read_uint32_array() local
193 if (node < 0) { in fdt_rcc_read_uint32_array()
215 if (node < 0) { in fdt_rcc_subnode_offset()
236 int node, len; in fdt_rcc_read_prop() local
244 if (node < 0) { in fdt_rcc_read_prop()
[all …]
/trusted-firmware-a/drivers/allwinner/axp/
A Dcommon.c111 if (is_node_disabled(fdt, node)) { in should_enable_regulator()
125 int node, length; in board_uses_usb0_host_mode() local
130 if (node < 0) { in board_uses_usb0_host_mode()
144 int node; in axp_setup_regulators() local
152 if (node < 0) { in axp_setup_regulators()
166 node = fdt_subnode_offset(fdt, node, "regulators"); in axp_setup_regulators()
167 if (node < 0) { in axp_setup_regulators()
173 fdt_for_each_subnode(node, fdt, node) { in axp_setup_regulators()
179 if (!should_enable_regulator(fdt, node)) in axp_setup_regulators()
182 name = fdt_get_name(fdt, node, &length); in axp_setup_regulators()
[all …]
/trusted-firmware-a/plat/arm/board/fvp/fconf/
A Dfconf_hw_config_getter.c27 int node; in fconf_populate_gicv3_config() local
39 if (node < 0) { in fconf_populate_gicv3_config()
75 if (node < 0) { in fconf_populate_topology()
77 return node; in fconf_populate_topology()
94 if (node < 0) { in fconf_populate_topology()
96 return node; in fconf_populate_topology()
122 node = fdt_subnode_offset(hw_config_dtb, node, "cpu-map"); in fconf_populate_topology()
123 if (node < 0) { in fconf_populate_topology()
125 return node; in fconf_populate_topology()
251 return node; in fconf_populate_uart_config()
[all …]
A Dfconf_nt_config_getter.c20 int node; in fconf_populate_event_log_config() local
31 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_event_log_config()
32 if (node < 0) { in fconf_populate_event_log_config()
35 return node; in fconf_populate_event_log_config()
40 err = fdtw_read_cells(dtb, node, "tpm_event_log_sm_addr", 2, in fconf_populate_event_log_config()
47 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config()
54 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config()
/trusted-firmware-a/include/common/
A Dfdt_wrappers.h17 int fdt_read_uint32(const void *dtb, int node, const char *prop_name,
19 uint32_t fdt_read_uint32_default(const void *dtb, int node,
21 int fdt_read_uint64(const void *dtb, int node, const char *prop_name,
25 int fdtw_read_string(const void *dtb, int node, const char *prop,
27 int fdtw_read_uuid(const void *dtb, int node, const char *prop,
29 int fdtw_write_inplace_cells(void *dtb, int node, const char *prop,
31 int fdtw_read_bytes(const void *dtb, int node, const char *prop,
33 int fdtw_write_inplace_bytes(void *dtb, int node, const char *prop,
35 int fdt_get_reg_props_by_index(const void *dtb, int node, int index,
45 int (*callback)(const void *dtb, int node, uintptr_t mpidr));
[all …]
/trusted-firmware-a/common/
A Dfdt_wrappers.c35 assert(node >= 0); in fdt_read_uint32_array()
105 assert(node >= 0); in fdtw_read_bytes()
138 assert(node >= 0); in fdtw_read_string()
172 assert(node >= 0); in fdtw_read_uuid()
203 assert(node >= 0); in fdtw_write_inplace_cells()
239 assert(node >= 0); in fdtw_write_inplace_bytes()
342 int node; in fdt_get_stdout_node_offset() local
348 if (node < 0) { in fdt_get_stdout_node_offset()
350 if (node < 0) { in fdt_get_stdout_node_offset()
590 int parent, node = 0; in fdtw_for_each_cpu() local
[all …]
/trusted-firmware-a/lib/fconf/
A Dfconf_amu_getter.c31 int node = 0; in fconf_populate_amu_cpu_amu() local
33 fdt_for_each_subnode(node, fdt, parent) { in fconf_populate_amu_cpu_amu()
40 name = fdt_get_name(fdt, node, &len); in fconf_populate_amu_cpu_amu()
50 value = fdt_getprop(fdt, node, "enable-at-el3", &len); in fconf_populate_amu_cpu_amu()
60 if ((node < 0) && (node != -FDT_ERR_NOTFOUND)) { in fconf_populate_amu_cpu_amu()
61 return node; in fconf_populate_amu_cpu_amu()
81 ret = fdt_read_uint32(fdt, node, "amu", &amu_phandle); in fconf_populate_amu_cpu()
90 node = fdt_node_offset_by_phandle(fdt, amu_phandle); in fconf_populate_amu_cpu()
91 if (node < 0) { in fconf_populate_amu_cpu()
92 return node; in fconf_populate_amu_cpu()
[all …]
A Dfconf_cot_getter.c200 if (node < 0) { in get_oid()
201 return node; in get_oid()
250 rc = get_oid(dtb, node, "hash", &oid); in populate_and_set_auth_methods()
299 if (node < 0) { in get_parent_img_id()
301 return node; in get_parent_img_id()
377 int node, child; in populate_manifest_descs() local
387 if (node < 0) { in populate_manifest_descs()
390 return node; in populate_manifest_descs()
412 int node, child; in populate_image_descs() local
422 if (node < 0) { in populate_image_descs()
[all …]
A Dfconf_tbbr_getter.c19 int node; in fconf_populate_tbbr_dyn_config() local
28 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_tbbr_dyn_config()
29 if (node < 0) { in fconf_populate_tbbr_dyn_config()
32 return node; in fconf_populate_tbbr_dyn_config()
36 err = fdt_read_uint32(dtb, node, "disable_auth", in fconf_populate_tbbr_dyn_config()
58 err = fdt_read_uint64(dtb, node, "mbedtls_heap_addr", &val64); in fconf_populate_tbbr_dyn_config()
66 err = fdt_read_uint32(dtb, node, "mbedtls_heap_size", &val32); in fconf_populate_tbbr_dyn_config()
/trusted-firmware-a/plat/arm/board/arm_fpga/
A Dfpga_bl31_setup.c163 int node, err; in fpga_get_system_frequency() local
170 if (node >= 0) { in fpga_get_system_frequency()
180 if (node >= 0) { in fpga_get_system_frequency()
221 int node, err; in fpga_dtb_update_clock() local
224 if (node < 0) { in fpga_dtb_update_clock()
238 if (node < 0) { in fpga_dtb_update_clock()
244 err = fdt_setprop_inplace(fdt, node, in fpga_dtb_update_clock()
371 if (node >= 0) { in fpga_prepare_dtb()
372 fdt_del_node(fdt, node); in fpga_prepare_dtb()
381 if (node >= 0) { in fpga_prepare_dtb()
[all …]
A Dfpga_console.c22 int node; in fpga_console_init() local
29 node = fdt_get_stdout_node_offset(fdt); in fpga_console_init()
30 if (node >= 0) { in fpga_console_init()
31 fdt_get_reg_props_by_index(fdt, node, 0, &base_addr, NULL); in fpga_console_init()
/trusted-firmware-a/drivers/st/iwdg/
A Dstm32_iwdg.c42 int node; in stm32_iwdg_get_dt_node() local
44 node = dt_get_node(info, offset, DT_IWDG_COMPAT); in stm32_iwdg_get_dt_node()
45 if (node < 0) { in stm32_iwdg_get_dt_node()
52 return node; in stm32_iwdg_get_dt_node()
76 int node = -1; in stm32_iwdg_init() local
85 for (node = stm32_iwdg_get_dt_node(&dt_info, node); in stm32_iwdg_init()
86 node != -FDT_ERR_NOTFOUND; in stm32_iwdg_init()
87 node = stm32_iwdg_get_dt_node(&dt_info, node)) { in stm32_iwdg_init()
100 if (fdt_getprop(fdt, node, "stm32,enable-on-stop", NULL) == in stm32_iwdg_init()
105 if (fdt_getprop(fdt, node, "stm32,enable-on-standby", NULL) == in stm32_iwdg_init()
/trusted-firmware-a/plat/arm/common/
A Darm_dyn_cfg_helpers.c48 assert(node != NULL); in arm_dyn_tb_fw_cfg_init()
58 if (*node < 0) { in arm_dyn_tb_fw_cfg_init()
139 int err, node; in arm_set_event_log_info() local
155 if (node < 0) { in arm_set_event_log_info()
158 return node; in arm_set_event_log_info()
165 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
174 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
182 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
335 int node, rc; in arm_get_tb_fw_info() local
345 if (node < 0) { in arm_get_tb_fw_info()
[all …]
/trusted-firmware-a/plat/common/
A Dplat_spmd_manifest.c28 int node) in manifest_parse_attribute() argument
35 rc = fdt_read_uint32(fdt, node, "maj_ver", &attr->major_version); in manifest_parse_attribute()
42 rc = fdt_read_uint32(fdt, node, "min_ver", &attr->minor_version); in manifest_parse_attribute()
49 rc = fdt_read_uint32(fdt, node, "spmc_id", &val32); in manifest_parse_attribute()
57 rc = fdt_read_uint32(fdt, node, "exec_state", &attr->exec_state); in manifest_parse_attribute()
63 rc = fdt_read_uint32(fdt, node, "binary_size", &attr->binary_size); in manifest_parse_attribute()
75 rc = fdt_read_uint64(fdt, node, "entrypoint", &attr->entrypoint); in manifest_parse_attribute()
98 int node; in manifest_parse_root() local
104 if (node < 0) { in manifest_parse_root()
107 return node; in manifest_parse_root()
[all …]
/trusted-firmware-a/plat/arm/common/fconf/
A Darm_fconf_sp.c29 int sp_node, node, err; in fconf_populate_arm_sp() local
47 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_arm_sp()
48 if (node < 0) { in fconf_populate_arm_sp()
50 return node; in fconf_populate_arm_sp()
53 fdt_for_each_subnode(sp_node, dtb, node) { in fconf_populate_arm_sp()
89 uuid_helper.uuid_struct.node[0], uuid_helper.uuid_struct.node[1], in fconf_populate_arm_sp()
90 uuid_helper.uuid_struct.node[2], uuid_helper.uuid_struct.node[3], in fconf_populate_arm_sp()
91 uuid_helper.uuid_struct.node[4], uuid_helper.uuid_struct.node[5], in fconf_populate_arm_sp()
144 ERROR("%u: fdt_for_each_subnode(): %d\n", __LINE__, node); in fconf_populate_arm_sp()
A Dfconf_sdei_getter.c26 int node, err; in fconf_populate_sdei_dyn_config() local
33 node = fdt_node_offset_by_compatible(dtb, -1, "arm,sdei-1.0"); in fconf_populate_sdei_dyn_config()
34 if (node < 0) { in fconf_populate_sdei_dyn_config()
36 return node; in fconf_populate_sdei_dyn_config()
40 err = fdt_read_uint32(dtb, node, "private_event_count", in fconf_populate_sdei_dyn_config()
56 err = fdt_read_uint32_array(dtb, node, "private_events", in fconf_populate_sdei_dyn_config()
71 err = fdt_read_uint32(dtb, node, "shared_event_count", in fconf_populate_sdei_dyn_config()
86 err = fdt_read_uint32_array(dtb, node, "shared_events", in fconf_populate_sdei_dyn_config()
A Dfconf_sec_intr_config.c31 int node, err; in fconf_populate_sec_intr_config() local
39 node = fdt_node_offset_by_compatible(hw_config_dtb, -1, in fconf_populate_sec_intr_config()
41 if (node < 0) { in fconf_populate_sec_intr_config()
44 return node; in fconf_populate_sec_intr_config()
48 err = fdt_read_uint32(hw_config_dtb, node, "g0_intr_cnt", &g0_intr_count); in fconf_populate_sec_intr_config()
61 err = fdt_read_uint32(hw_config_dtb, node, "g1s_intr_cnt", in fconf_populate_sec_intr_config()
87 err = fdt_read_uint32_array(hw_config_dtb, node, "g0_intr_desc", in fconf_populate_sec_intr_config()
95 err = fdt_read_uint32_array(hw_config_dtb, node, "g1s_intr_desc", in fconf_populate_sec_intr_config()
A Dfconf_nv_cntr_getter.c25 int rc, node, child; in fconf_populate_nv_cntrs() local
33 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_nv_cntrs()
34 if (node < 0) { in fconf_populate_nv_cntrs()
37 return node; in fconf_populate_nv_cntrs()
40 fdt_for_each_subnode(child, dtb, node) { in fconf_populate_nv_cntrs()
/trusted-firmware-a/plat/st/stm32mp1/
A Dstm32mp1_gic.c46 int node; in stm32mp1_gic_init() local
55 node = dt_get_node(&dt_gic, -1, "arm,cortex-a7-gic"); in stm32mp1_gic_init()
56 if (node < 0) { in stm32mp1_gic_init()
62 cuint = fdt_getprop(fdt, node, "reg", NULL); in stm32mp1_gic_init()
69 cuint = fdt_getprop(fdt, node, "#interrupt-cells", NULL); in stm32mp1_gic_init()
76 stm32_gic.phandle_node = fdt_get_phandle(fdt, node); in stm32mp1_gic_init()
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/components/fconf/
A Damu-bindings.rst.txt14 ``/cpus/cpus/cpu*`` node properties
17 The ``cpu`` node has been augmented to support a handle to an associated |AMU|
25 | | | | described by the node provided. |
28 ``/cpus/amus`` node properties
31 The ``amus`` node describes the |AMUs| implemented by the cores in the system.
32 This node does not have any properties.
34 ``/cpus/amus/amu*`` node properties
37 An ``amu`` node describes the layout and meaning of the auxiliary counter
45 | | | | children of this node uses a |
53 ``/cpus/amus/amu*/counter*`` node properties
[all …]
/trusted-firmware-a/docs/components/fconf/
A Damu-bindings.rst14 ``/cpus/cpus/cpu*`` node properties
17 The ``cpu`` node has been augmented to support a handle to an associated |AMU|
25 | | | | described by the node provided. |
28 ``/cpus/amus`` node properties
31 The ``amus`` node describes the |AMUs| implemented by the cores in the system.
32 This node does not have any properties.
34 ``/cpus/amus/amu*`` node properties
37 An ``amu`` node describes the layout and meaning of the auxiliary counter
45 | | | | children of this node uses a |
53 ``/cpus/amus/amu*/counter*`` node properties
[all …]

Completed in 27 milliseconds

12345