Home
last modified time | relevance | path

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

12345

/arm-trusted-firmware-2.8.0/plat/st/common/
A Dstm32mp_dt.c122 int node; in dt_set_stdout_pinctrl() local
173 int node; in dt_get_node() local
182 return node; in dt_get_node()
191 int node; in dt_get_stdout_uart_info() local
200 return node; in dt_get_stdout_uart_info()
210 int node; in dt_match_instance_by_compatible() local
237 int node; in dt_get_ddr_size() local
328 int node; in dt_find_otp_name() local
338 return node; in dt_find_otp_name()
341 node = fdt_subnode_offset(fdt, node, name); in dt_find_otp_name()
[all …]
A Dstm32mp_fconf_io.c117 int node; in fconf_populate_stm32mp_io_policies() local
126 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_stm32mp_io_policies()
127 if (node < 0) { in fconf_populate_stm32mp_io_policies()
129 return node; in fconf_populate_stm32mp_io_policies()
139 err = fdtw_read_uuid(dtb, node, load_info[i].name, 16, in fconf_populate_stm32mp_io_policies()
156 uuid_helper.uuid_struct.node[0], uuid_helper.uuid_struct.node[1], in fconf_populate_stm32mp_io_policies()
157 uuid_helper.uuid_struct.node[2], uuid_helper.uuid_struct.node[3], in fconf_populate_stm32mp_io_policies()
158 uuid_helper.uuid_struct.node[4], uuid_helper.uuid_struct.node[5]); in fconf_populate_stm32mp_io_policies()
/arm-trusted-firmware-2.8.0/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.dtsi15 /delete-node/ cpu@1;
18 /delete-node/ psci;
21 /delete-node/ timer@40006000;
22 /delete-node/ timer@44006000;
27 /delete-node/ cryp@54001000;
28 /delete-node/ rng@54003000;
33 /delete-node/ spi@58003000;
36 /delete-node/ mmc@58005000;
37 /delete-node/ mmc@58007000;
51 /delete-node/ fmc-0;
[all …]
A Dstm32mp13-bl2.dtsi16 /delete-node/ usb-otg@49000000;
19 /delete-node/ memory-controller@58002000;
22 /delete-node/ spi@58003000;
25 /delete-node/ mmc@58005000;
26 /delete-node/ mmc@58007000;
29 /delete-node/ usbh-ohci@5800c000;
30 /delete-node/ usbh-ehci@5800d000;
33 /delete-node/ usbphyc@5a006000;
38 /delete-node/ sdmmc1-b4-0;
39 /delete-node/ sdmmc2-b4-0;
/arm-trusted-firmware-2.8.0/drivers/st/clk/
A Dstm32mp_clkfunc.c28 int node, subnode; in fdt_osc_read_freq() local
36 if (node < 0) { in fdt_osc_read_freq()
86 if (node < 0) { in fdt_clk_read_bool()
129 if (node < 0) { in fdt_clk_read_uint32_default()
166 return node; in fdt_get_rcc_node()
179 int node; in fdt_rcc_read_uint32_array() local
187 if (node < 0) { in fdt_rcc_read_uint32_array()
209 if (node < 0) { in fdt_rcc_subnode_offset()
230 int node, len; in fdt_rcc_read_prop() local
238 if (node < 0) { in fdt_rcc_read_prop()
[all …]
/arm-trusted-firmware-2.8.0/drivers/allwinner/axp/
A Dcommon.c112 if (is_node_disabled(fdt, node)) { in should_enable_regulator()
126 int node, length; in board_uses_usb0_host_mode() local
131 if (node < 0) { in board_uses_usb0_host_mode()
145 int node; in axp_setup_regulators() local
153 if (node < 0) { in axp_setup_regulators()
167 node = fdt_subnode_offset(fdt, node, "regulators"); in axp_setup_regulators()
168 if (node < 0) { in axp_setup_regulators()
174 fdt_for_each_subnode(node, fdt, node) { in axp_setup_regulators()
180 if (!should_enable_regulator(fdt, node)) in axp_setup_regulators()
183 name = fdt_get_name(fdt, node, &length); in axp_setup_regulators()
[all …]
/arm-trusted-firmware-2.8.0/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 …]
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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 …]
/arm-trusted-firmware-2.8.0/drivers/st/iwdg/
A Dstm32_iwdg.c43 int node; in stm32_iwdg_get_dt_node() local
45 node = dt_get_node(info, offset, DT_IWDG_COMPAT); in stm32_iwdg_get_dt_node()
46 if (node < 0) { in stm32_iwdg_get_dt_node()
53 return node; in stm32_iwdg_get_dt_node()
77 int node = -1; in stm32_iwdg_init() local
86 for (node = stm32_iwdg_get_dt_node(&dt_info, node); in stm32_iwdg_init()
87 node != -FDT_ERR_NOTFOUND; in stm32_iwdg_init()
88 node = stm32_iwdg_get_dt_node(&dt_info, node)) { in stm32_iwdg_init()
101 if (fdt_getprop(fdt, node, "stm32,enable-on-stop", NULL) == in stm32_iwdg_init()
106 if (fdt_getprop(fdt, node, "stm32,enable-on-standby", NULL) == in stm32_iwdg_init()
/arm-trusted-firmware-2.8.0/plat/arm/common/
A Darm_dyn_cfg_helpers.c49 assert(node != NULL); in arm_dyn_tb_fw_cfg_init()
59 if (*node < 0) { in arm_dyn_tb_fw_cfg_init()
140 int err, node; in arm_set_event_log_info() local
156 if (node < 0) { in arm_set_event_log_info()
159 return node; in arm_set_event_log_info()
166 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
175 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
183 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
336 int node, rc; in arm_get_tb_fw_info() local
346 if (node < 0) { in arm_get_tb_fw_info()
[all …]
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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 …]
/arm-trusted-firmware-2.8.0/plat/arm/common/fconf/
A Darm_fconf_sp.c29 int sp_node, node, err; in fconf_populate_arm_sp() local
50 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_arm_sp()
51 if (node < 0) { in fconf_populate_arm_sp()
53 return node; in fconf_populate_arm_sp()
56 fdt_for_each_subnode(sp_node, dtb, node) { in fconf_populate_arm_sp()
98 uuid_helper.uuid_struct.node[0], uuid_helper.uuid_struct.node[1], in fconf_populate_arm_sp()
99 uuid_helper.uuid_struct.node[2], uuid_helper.uuid_struct.node[3], in fconf_populate_arm_sp()
100 uuid_helper.uuid_struct.node[4], uuid_helper.uuid_struct.node[5], in fconf_populate_arm_sp()
155 ERROR("%u: fdt_for_each_subnode(): %d\n", __LINE__, node); in fconf_populate_arm_sp()
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()
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()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/drivers/st/ddr/
A Dstm32mp_ram.c17 int stm32mp_ddr_dt_get_info(void *fdt, int node, struct stm32mp_ddr_info *info) in stm32mp_ddr_dt_get_info() argument
21 ret = fdt_read_uint32(fdt, node, "st,mem-speed", &info->speed); in stm32mp_ddr_dt_get_info()
26 ret = fdt_read_uint32(fdt, node, "st,mem-size", &info->size); in stm32mp_ddr_dt_get_info()
31 info->name = fdt_getprop(fdt, node, "st,mem-name", NULL); in stm32mp_ddr_dt_get_info()
42 int stm32mp_ddr_dt_get_param(void *fdt, int node, const struct stm32mp_ddr_param *param, in stm32mp_ddr_dt_get_param() argument
49 ret = fdt_read_uint32_array(fdt, node, param[idx].name, param[idx].size, in stm32mp_ddr_dt_get_param()

Completed in 681 milliseconds

12345