Home
last modified time | relevance | path

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

1234

/tf-a-ffa_el3_spmc/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
197 if (node < 0) { in dt_get_stdout_uart_info()
203 return node; in dt_get_stdout_uart_info()
213 int node; in dt_get_ddr_size() local
220 if (node < 0) { in dt_get_ddr_size()
[all …]
/tf-a-ffa_el3_spmc/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()
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()
257 int node; in fdt_get_rcc_secure_status() local
[all …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/fconf/
A Dfconf_hw_config_getter.c24 int node; in fconf_populate_gicv3_config() local
36 if (node < 0) { in fconf_populate_gicv3_config()
72 if (node < 0) { in fconf_populate_topology()
74 return node; in fconf_populate_topology()
91 if (node < 0) { in fconf_populate_topology()
93 return node; in fconf_populate_topology()
119 node = fdt_subnode_offset(hw_config_dtb, node, "cpu-map"); in fconf_populate_topology()
120 if (node < 0) { in fconf_populate_topology()
122 return node; in fconf_populate_topology()
248 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()
/tf-a-ffa_el3_spmc/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,
23 int fdt_read_uint32_array(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,
[all …]
/tf-a-ffa_el3_spmc/common/
A Dfdt_wrappers.c33 assert(node >= 0); in fdt_read_uint32_array()
103 assert(node >= 0); in fdtw_read_bytes()
136 assert(node >= 0); in fdtw_read_string()
170 assert(node >= 0); in fdtw_read_uuid()
201 assert(node >= 0); in fdtw_write_inplace_cells()
237 assert(node >= 0); in fdtw_write_inplace_bytes()
284 parent = fdt_parent_offset(dtb, node); in fdt_get_reg_props_by_index()
340 int node; in fdt_get_stdout_node_offset() local
346 if (node < 0) { in fdt_get_stdout_node_offset()
347 node = fdt_path_offset(dtb, "/chosen"); in fdt_get_stdout_node_offset()
[all …]
/tf-a-ffa_el3_spmc/lib/fconf/
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()
76 err = fdtw_read_bytes(dtb, node, "bl2_hash_data", TCG_DIGEST_SIZE, in fconf_populate_tbbr_dyn_config()
A Dfconf_dyn_cfg_getter.c62 int node, child; in fconf_populate_dtb_registry() local
83 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_dtb_registry()
84 if (node < 0) { in fconf_populate_dtb_registry()
86 return node; in fconf_populate_dtb_registry()
89 fdt_for_each_subnode(child, dtb, node) { in fconf_populate_dtb_registry()
123 ERROR("%d: fdt_for_each_subnode(): %d\n", __LINE__, node); in fconf_populate_dtb_registry()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/plat/common/
A Dplat_spmd_manifest.c26 int node) in manifest_parse_attribute() argument
33 rc = fdt_read_uint32(fdt, node, "maj_ver", &attr->major_version); in manifest_parse_attribute()
40 rc = fdt_read_uint32(fdt, node, "min_ver", &attr->minor_version); in manifest_parse_attribute()
47 rc = fdt_read_uint32(fdt, node, "spmc_id", &val32); in manifest_parse_attribute()
55 rc = fdt_read_uint32(fdt, node, "exec_state", &attr->exec_state); in manifest_parse_attribute()
61 rc = fdt_read_uint32(fdt, node, "binary_size", &attr->binary_size); in manifest_parse_attribute()
73 rc = fdt_read_uint64(fdt, node, "entrypoint", &attr->entrypoint); in manifest_parse_attribute()
96 int node; in manifest_parse_root() local
102 if (node < 0) { in manifest_parse_root()
105 return node; in manifest_parse_root()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/common/
A Darm_dyn_cfg_helpers.c46 int arm_dyn_tb_fw_cfg_init(void *dtb, int *node) in arm_dyn_tb_fw_cfg_init() argument
49 assert(node != NULL); in arm_dyn_tb_fw_cfg_init()
58 *node = fdt_node_offset_by_compatible(dtb, -1, "arm,tb_fw"); in arm_dyn_tb_fw_cfg_init()
59 if (*node < 0) { in arm_dyn_tb_fw_cfg_init()
165 int err, node; in arm_set_event_log_info() local
180 node = fdt_node_offset_by_compatible(dtb, -1, compatible); in arm_set_event_log_info()
181 if (node < 0) { in arm_set_event_log_info()
184 return node; in arm_set_event_log_info()
191 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
200 err = fdtw_write_inplace_cells(dtb, node, in arm_set_event_log_info()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/board/arm_fpga/
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()
A Dfpga_gicv3.c40 int node, ret; in plat_fpga_gic_init() local
42 node = fdt_node_offset_by_compatible(fdt, 0, "arm,gic-v3"); in plat_fpga_gic_init()
43 if (node < 0) { in plat_fpga_gic_init()
49 ret = fdt_get_reg_props_by_index(fdt, node, 0, in plat_fpga_gic_init()
56 ret = fdt_get_reg_props_by_index(fdt, node, 1, in plat_fpga_gic_init()
A Dfpga_bl31_setup.c124 int node; in plat_get_syscnt_freq2() local
126 node = fdt_node_offset_by_compatible(fdt, 0, "arm,armv8-timer"); in plat_get_syscnt_freq2()
127 if (node < 0) { in plat_get_syscnt_freq2()
131 return fdt_read_uint32_default(fdt, node, "clock-frequency", in plat_get_syscnt_freq2()
230 int node = fdt_node_offset_by_compatible(fdt, 0, in fpga_prepare_dtb() local
233 if (node >= 0) { in fpga_prepare_dtb()
234 fdt_del_node(fdt, node); in fpga_prepare_dtb()
/tf-a-ffa_el3_spmc/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()
80 uuid_helper.uuid_struct.node[0], uuid_helper.uuid_struct.node[1], in fconf_populate_arm_sp()
81 uuid_helper.uuid_struct.node[2], uuid_helper.uuid_struct.node[3], in fconf_populate_arm_sp()
82 uuid_helper.uuid_struct.node[4], uuid_helper.uuid_struct.node[5], in fconf_populate_arm_sp()
143 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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/drivers/st/gpio/
A Dstm32_gpio.c64 static int dt_set_gpio_config(void *fdt, int node, uint8_t status) in dt_set_gpio_config() argument
73 cuint = fdt_getprop(fdt, node, "pinmux", &len); in dt_set_gpio_config()
78 pinctrl_node = fdt_parent_offset(fdt, fdt_parent_offset(fdt, node)); in dt_set_gpio_config()
83 slewrate = fdt_getprop(fdt, node, "slew-rate", NULL); in dt_set_gpio_config()
88 if (fdt_getprop(fdt, node, "bias-pull-up", NULL) != NULL) { in dt_set_gpio_config()
90 } else if (fdt_getprop(fdt, node, "bias-pull-down", NULL) != NULL) { in dt_set_gpio_config()
93 VERBOSE("No bias configured in node %d\n", node); in dt_set_gpio_config()
130 if (fdt_getprop(fdt, node, "drive-open-drain", NULL) != NULL) { in dt_set_gpio_config()
159 int dt_set_pinctrl_config(int node) in dt_set_pinctrl_config() argument
171 status = fdt_get_status(node); in dt_set_pinctrl_config()
[all …]
/tf-a-ffa_el3_spmc/plat/st/common/include/
A Dstm32mp_dt.h31 bool fdt_check_node(int node);
32 uint8_t fdt_get_status(int node);
34 void dt_fill_device_info(struct dt_node_info *info, int node);
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/include/t194/
A Dtegra194_ras_private.h206 #define DEFINE_ONE_RAS_NODE(node) \ argument
207 static const struct ras_error node##_uncorr_ras_errors[] = { \
208 node##_UNCORR_RAS_ERROR_LIST(DEFINE_ONE_RAS_ERROR_MSG) \
214 static inline uint64_t node##_err_ctrl(void) \
217 node##_UNCORR_RAS_ERROR_LIST(DEFINE_ENABLE_RAS_BIT) \
221 #define DEFINE_ONE_RAS_AUX_DATA(node) \ argument
223 .name = #node, \
224 .error_records = node##_uncorr_ras_errors, \
225 .err_ctrl = &node##_err_ctrl \
/tf-a-ffa_el3_spmc/docs/components/
A Dcot-binding.rst20 - Manifests node
32 - Certificate node
89 counter sub-node present in 'non-volatile counters' node.
100 - public key node
114 - hash node
169 Images and Image node bindings definition
172 - Images node
184 - Image node
211 node present in parent certificate node.
248 - non-volatile counters node
[all …]

Completed in 34 milliseconds

1234