Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 99) sorted by relevance

1234

/tf-a-ffa_el3_spmc/lib/libfdt/
A Dfdt_empty_tree.c15 int err; in fdt_create_empty_tree() local
18 if (err) in fdt_create_empty_tree()
19 return err; in fdt_create_empty_tree()
22 if (err) in fdt_create_empty_tree()
23 return err; in fdt_create_empty_tree()
26 if (err) in fdt_create_empty_tree()
27 return err; in fdt_create_empty_tree()
30 if (err) in fdt_create_empty_tree()
31 return err; in fdt_create_empty_tree()
34 if (err) in fdt_create_empty_tree()
[all …]
A Dfdt_rw.c74 int err; in fdt_splice_mem_rsv_() local
76 if (err) in fdt_splice_mem_rsv_()
87 int err; in fdt_splice_struct_() local
109 int err; in fdt_splice_string_() local
133 int err; in fdt_find_add_string_() local
145 if (err) in fdt_find_add_string_()
158 int err; in fdt_add_mem_rsv() local
164 if (err) in fdt_add_mem_rsv()
188 int err; in fdt_resize_property_() local
208 int err; in fdt_add_property_() local
[all …]
A Dfdt_sw.c27 int err; \
29 return err; \
41 if (err) in fdt_sw_probe_memrsv_()
42 return err; in fdt_sw_probe_memrsv_()
51 int err; \
53 return err; \
67 if (err) in fdt_sw_probe_struct_()
68 return err; in fdt_sw_probe_struct_()
78 int err; \
212 if (err) in fdt_finish_reservemap()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/common/
A Darm_dyn_cfg_helpers.c92 if (err < 0) { in arm_set_dtb_mbedtls_heap_info()
107 if (err < 0) { in arm_set_dtb_mbedtls_heap_info()
115 if (err < 0) { in arm_set_dtb_mbedtls_heap_info()
176 return err; in arm_set_event_log_info()
196 return err; in arm_set_event_log_info()
205 return err; in arm_set_event_log_info()
221 return err; in arm_set_event_log_info()
237 int err; in arm_set_tos_fw_info() local
253 return err; in arm_set_tos_fw_info()
274 int err; in arm_set_nt_fw_info() local
[all …]
A Darm_bl1_setup.c152 int err = -1; in arm_bl1_platform_setup() local
169 err = fconf_load_config(FW_CONFIG_ID); in arm_bl1_platform_setup()
170 if (err < 0) { in arm_bl1_platform_setup()
171 ERROR("Loading of FW_CONFIG failed %d\n", err); in arm_bl1_platform_setup()
172 plat_error_handler(err); in arm_bl1_platform_setup()
182 if (err < 0) { in arm_bl1_platform_setup()
184 plat_error_handler(err); in arm_bl1_platform_setup()
187 err = fconf_load_config(TB_FW_CONFIG_ID); in arm_bl1_platform_setup()
188 if (err < 0) { in arm_bl1_platform_setup()
190 plat_error_handler(err); in arm_bl1_platform_setup()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/fconf/
A Dfconf_nt_config_getter.c19 int err; in fconf_populate_event_log_config() local
40 err = fdtw_read_cells(dtb, node, "tpm_event_log_sm_addr", 2, in fconf_populate_event_log_config()
42 if (err < 0) { in fconf_populate_event_log_config()
44 return err; in fconf_populate_event_log_config()
47 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config()
49 if (err < 0) { in fconf_populate_event_log_config()
51 return err; in fconf_populate_event_log_config()
54 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config()
56 if (err < 0) { in fconf_populate_event_log_config()
60 return err; in fconf_populate_event_log_config()
A Dfconf_hw_config_getter.c23 int err; in fconf_populate_gicv3_config() local
45 if (err < 0) { in fconf_populate_gicv3_config()
47 return err; in fconf_populate_gicv3_config()
52 if (err < 0) { in fconf_populate_gicv3_config()
58 return err; in fconf_populate_gicv3_config()
78 if (err < 0) { in fconf_populate_topology()
212 if (err < 0) { in fconf_populate_uart_config()
215 return err; in fconf_populate_uart_config()
240 if (err < 0) { in fconf_populate_uart_config()
242 return err; in fconf_populate_uart_config()
[all …]
/tf-a-ffa_el3_spmc/lib/fconf/
A Dfconf_tbbr_getter.c18 int err; in fconf_populate_tbbr_dyn_config() local
36 err = fdt_read_uint32(dtb, node, "disable_auth", in fconf_populate_tbbr_dyn_config()
38 if (err < 0) { in fconf_populate_tbbr_dyn_config()
41 return err; in fconf_populate_tbbr_dyn_config()
58 err = fdt_read_uint64(dtb, node, "mbedtls_heap_addr", &val64); in fconf_populate_tbbr_dyn_config()
59 if (err < 0) { in fconf_populate_tbbr_dyn_config()
62 return err; in fconf_populate_tbbr_dyn_config()
67 if (err < 0) { in fconf_populate_tbbr_dyn_config()
70 return err; in fconf_populate_tbbr_dyn_config()
78 if (err < 0) { in fconf_populate_tbbr_dyn_config()
[all …]
/tf-a-ffa_el3_spmc/plat/imx/imx8qm/
A Dimx8qm_bl31_setup.c193 if (err) in mx8_partition_resources()
202 if (err) in mx8_partition_resources()
211 if (err) in mx8_partition_resources()
217 if (err) in mx8_partition_resources()
224 if (err) in mx8_partition_resources()
232 if (err) in mx8_partition_resources()
236 if (err) in mx8_partition_resources()
243 if (err) in mx8_partition_resources()
247 if (err) in mx8_partition_resources()
278 if (err) in mx8_partition_resources()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/board/arm_fpga/
A Dfpga_bl31_setup.c139 int err; in fpga_prepare_dtb() local
142 if (err < 0) { in fpga_prepare_dtb()
188 err = fdt_setprop(fdt, chosen, "bootargs", in fpga_prepare_dtb()
190 if (!err) { in fpga_prepare_dtb()
194 if (err) { in fpga_prepare_dtb()
200 if (err < 0) { in fpga_prepare_dtb()
209 if (err == -EEXIST) { in fpga_prepare_dtb()
212 if (err < 0) { in fpga_prepare_dtb()
222 if (err < 0) { in fpga_prepare_dtb()
238 err = fdt_pack(fdt); in fpga_prepare_dtb()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/
A Dfvp_bl2_setup.c85 int err; in fvp_bl2_plat_handle_post_image_load() local
89 err = tpm_record_measurement(info.image_base, in fvp_bl2_plat_handle_post_image_load()
91 if (err != 0) { in fvp_bl2_plat_handle_post_image_load()
93 "BL2: Failed to ", "record", image_id, err); in fvp_bl2_plat_handle_post_image_load()
94 return err; in fvp_bl2_plat_handle_post_image_load()
99 if (err != 0) { in fvp_bl2_plat_handle_post_image_load()
101 "BL2: Failed to ", "handle", image_id, err); in fvp_bl2_plat_handle_post_image_load()
104 return err; in fvp_bl2_plat_handle_post_image_load()
111 if (err != 0) { in arm_bl2_plat_handle_post_image_load()
112 ERROR("%s() returns %i\n", __func__, err); in arm_bl2_plat_handle_post_image_load()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/common/fconf/
A Dfconf_sdei_getter.c26 int node, err; in fconf_populate_sdei_dyn_config() local
40 err = fdt_read_uint32(dtb, node, "private_event_count", in fconf_populate_sdei_dyn_config()
42 if (err < 0) { in fconf_populate_sdei_dyn_config()
45 return err; in fconf_populate_sdei_dyn_config()
58 if (err < 0) { in fconf_populate_sdei_dyn_config()
60 return err; in fconf_populate_sdei_dyn_config()
71 err = fdt_read_uint32(dtb, node, "shared_event_count", in fconf_populate_sdei_dyn_config()
73 if (err < 0) { in fconf_populate_sdei_dyn_config()
75 return err; in fconf_populate_sdei_dyn_config()
88 if (err < 0) { in fconf_populate_sdei_dyn_config()
[all …]
A Dfconf_sec_intr_config.c31 int node, err; in fconf_populate_sec_intr_config() local
49 if (err < 0) { in fconf_populate_sec_intr_config()
51 return err; in fconf_populate_sec_intr_config()
61 err = fdt_read_uint32(hw_config_dtb, node, "g1s_intr_cnt", in fconf_populate_sec_intr_config()
63 if (err < 0) { in fconf_populate_sec_intr_config()
65 return err; 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()
89 if (err < 0) { in fconf_populate_sec_intr_config()
91 return err; in fconf_populate_sec_intr_config()
97 if (err < 0) { in fconf_populate_sec_intr_config()
[all …]
/tf-a-ffa_el3_spmc/bl2/
A Dbl2_image_load_v2.c32 int err; in bl2_load_images() local
61 err = bl2_plat_handle_pre_image_load(bl2_node_info->image_id); in bl2_load_images()
62 if (err != 0) { in bl2_load_images()
63 ERROR("BL2: Failure in pre image load handling (%i)\n", err); in bl2_load_images()
64 plat_error_handler(err); in bl2_load_images()
70 err = load_auth_image(bl2_node_info->image_id, in bl2_load_images()
72 if (err != 0) { in bl2_load_images()
74 bl2_node_info->image_id, err); in bl2_load_images()
75 plat_error_handler(err); in bl2_load_images()
83 if (err != 0) { in bl2_load_images()
[all …]
/tf-a-ffa_el3_spmc/plat/imx/imx8qx/
A Dimx8qx_bl31_setup.c194 if (err) in imx8_partition_resources()
199 if (err) in imx8_partition_resources()
203 if (err) in imx8_partition_resources()
210 if (err) in imx8_partition_resources()
217 if (err) in imx8_partition_resources()
224 if (err) in imx8_partition_resources()
238 if (err) in imx8_partition_resources()
255 if (err) in imx8_partition_resources()
259 if (err) in imx8_partition_resources()
263 if (err) in imx8_partition_resources()
[all …]
/tf-a-ffa_el3_spmc/common/
A Duuid.c75 int err; in read_uuid() local
85 err = read_hex(dest, uuid, 8); in read_uuid()
90 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
94 err |= read_hex(dest, uuid, 4); in read_uuid()
99 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
103 err |= read_hex(dest, uuid, 4); in read_uuid()
108 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
112 err |= read_hex(dest, uuid, 4); in read_uuid()
117 err |= ((*uuid == '-') ? 0 : -1); in read_uuid()
121 err |= read_hex(dest, uuid, 12); in read_uuid()
[all …]
A Dfdt_fixup.c249 int err; in fdt_add_cpu() local
266 if (err < 0) { in fdt_add_cpu()
269 return err; in fdt_add_cpu()
273 if (err < 0) { in fdt_add_cpu()
276 return err; in fdt_add_cpu()
280 if (err < 0) { in fdt_add_cpu()
283 return err; in fdt_add_cpu()
290 return err; in fdt_add_cpu()
337 int err; in fdt_add_cpus_node() local
356 return err; in fdt_add_cpus_node()
[all …]
/tf-a-ffa_el3_spmc/plat/arm/css/sgi/
A Dsgi_image_load.c28 int nodeoffset, err; in plat_sgi_append_config_node() local
52 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in plat_sgi_append_config_node()
53 if (err < 0) { in plat_sgi_append_config_node()
59 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in plat_sgi_append_config_node()
60 if (err < 0) { in plat_sgi_append_config_node()
66 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in plat_sgi_append_config_node()
67 if (err < 0) { in plat_sgi_append_config_node()
/tf-a-ffa_el3_spmc/plat/qemu/common/
A Dqemu_spm.c87 int err; in dt_add_ns_buf_node() local
90 err = fdt_open_into(fdt, fdt, PLAT_QEMU_DT_MAX_SIZE); in dt_add_ns_buf_node()
91 if (err < 0) { in dt_add_ns_buf_node()
92 ERROR("Invalid Device Tree at %p: error %d\n", fdt, err); in dt_add_ns_buf_node()
93 return err; in dt_add_ns_buf_node()
102 err = fdt_get_reg_props_by_index(fdt, node, 0, &addr, &size); in dt_add_ns_buf_node()
103 if (err < 0) { in dt_add_ns_buf_node()
105 return err; in dt_add_ns_buf_node()
113 err = fdt_add_reserved_memory(fdt, "ns-buf-spm-mm", ns_buf_addr, in dt_add_ns_buf_node()
115 if (err < 0) { in dt_add_ns_buf_node()
[all …]
/tf-a-ffa_el3_spmc/drivers/nxp/sd/
A Dsd_mmc.c761 int err; in sd_switch_to_high_freq() local
774 return err; in sd_switch_to_high_freq()
779 return err; in sd_switch_to_high_freq()
786 return err; in sd_switch_to_high_freq()
790 return err; in sd_switch_to_high_freq()
845 return err; in sd_switch_to_high_freq()
928 int err; in get_cid_rca_csd() local
1254 int err; in esdhc_read_block() local
1284 return err; in esdhc_read_block()
1300 int err; in esdhc_write_block() local
[all …]
/tf-a-ffa_el3_spmc/bl1/
A Dbl1_main.c165 int err; in bl1_load_bl2() local
175 err = bl1_plat_handle_pre_image_load(BL2_IMAGE_ID); in bl1_load_bl2()
176 if (err != 0) { in bl1_load_bl2()
177 ERROR("Failure in pre image load handling of BL2 (%d)\n", err); in bl1_load_bl2()
178 plat_error_handler(err); in bl1_load_bl2()
181 err = load_auth_image(BL2_IMAGE_ID, info); in bl1_load_bl2()
182 if (err != 0) { in bl1_load_bl2()
184 plat_error_handler(err); in bl1_load_bl2()
188 err = bl1_plat_handle_post_image_load(BL2_IMAGE_ID); in bl1_load_bl2()
189 if (err != 0) { in bl1_load_bl2()
[all …]
/tf-a-ffa_el3_spmc/drivers/renesas/common/iic_dvfs/
A Diic_dvfs.c148 (*err)++; in IIC_DVFS_FUNC()
149 if (*err > DVFS_RETRY_MAX) { in IIC_DVFS_FUNC()
177 (*err)++; in IIC_DVFS_FUNC()
179 if (*err > DVFS_RETRY_MAX) { in IIC_DVFS_FUNC()
517 uint32_t err = 0U; in RCAR_DVFS_API() local
527 result = dvfs_set_slave(&state, &err, slave); in RCAR_DVFS_API()
536 result = dvfs_stop(&state, &err); in RCAR_DVFS_API()
557 uint32_t err = 0U; in RCAR_DVFS_API() local
567 result = dvfs_set_slave(&state, &err, slave); in RCAR_DVFS_API()
573 result = dvfs_retransmit(&state, &err); in RCAR_DVFS_API()
[all …]
/tf-a-ffa_el3_spmc/drivers/console/
A Dmulti_console.c89 int err = ERROR_NO_VALID_CONSOLE; in console_putc() local
95 if ((err == ERROR_NO_VALID_CONSOLE) || (ret < err)) in console_putc()
96 err = ret; in console_putc()
99 return err; in console_putc()
104 int err = ERROR_NO_VALID_CONSOLE; in console_getc() local
114 if (err != ERROR_NO_PENDING_CHAR) in console_getc()
115 err = ret; in console_getc()
117 } while (err == ERROR_NO_PENDING_CHAR); in console_getc()
119 return err; in console_getc()
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/common/
A Dtegra_sip_calls.c42 int32_t err; in tegra_sip_handler() local
45 err = plat_sip_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); in tegra_sip_handler()
46 if (err == 0) { in tegra_sip_handler()
48 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler()
66 err = bl31_check_ns_address(x1, local_x2_32); in tegra_sip_handler()
67 if (err != 0) { in tegra_sip_handler()
68 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler()
/tf-a-ffa_el3_spmc/plat/nxp/common/img_loadr/
A Dload_img.c34 int err = 0; in load_img() local
60 err = load_auth_image(image_id, &img_info.image_info); in load_img()
61 if (err != 0) { in load_img()
63 return err; in load_img()
78 return err; in load_img()

Completed in 30 milliseconds

1234