/trusted-firmware-a/drivers/synopsys/ufs/ |
A D | dw_ufs.c | 21 int result; in dwufs_phy_init() local 72 assert(result == 0); in dwufs_phy_init() 74 assert(result == 0); in dwufs_phy_init() 92 (void)result; in dwufs_phy_init() 98 int result; in dwufs_phy_set_pwr_mode() local 118 assert(result == 0); in dwufs_phy_set_pwr_mode() 124 assert(result == 0); in dwufs_phy_set_pwr_mode() 126 assert(result == 0); in dwufs_phy_set_pwr_mode() 129 assert(result == 0); in dwufs_phy_set_pwr_mode() 131 assert(result == 0); in dwufs_phy_set_pwr_mode() [all …]
|
/trusted-firmware-a/drivers/partition/ |
A D | partition.c | 51 int result; in load_mbr_header() local 58 return result; in load_mbr_header() 64 return result; in load_mbr_header() 85 int result; in load_gpt_header() local 89 return result; in load_gpt_header() 94 return result; in load_gpt_header() 114 int result; in load_mbr_entry() local 163 int result; in load_gpt_entry() local 170 return result; in load_gpt_entry() 176 int result, i; in verify_partition_gpt() local [all …]
|
/trusted-firmware-a/plat/hisilicon/poplar/ |
A D | plat_storage.c | 142 int result; in open_emmc() local 146 if (result == 0) { in open_emmc() 158 return result; in open_emmc() 163 int result; in open_mmap() local 179 return result; in open_mmap() 186 int result; in open_fip() local 201 return result; in open_fip() 208 int result; in plat_get_image_source() local 219 return result; in plat_get_image_source() 224 int result; in plat_io_setup() local [all …]
|
/trusted-firmware-a/drivers/renesas/common/emmc/ |
A D | emmc_mount.c | 85 return result; in emmc_card_init() 93 result = in emmc_card_init() 127 return result; in emmc_card_init() 135 return result; in emmc_card_init() 144 return result; in emmc_card_init() 159 return result; in emmc_card_init() 247 result = in emmc_high_speed() 273 result = in emmc_high_speed() 476 result = in emmc_get_partition_access() 511 result = 1; in emmc_calc_tran_speed() [all …]
|
A D | emmc_init.c | 74 EMMC_ERROR_CODE result; in emmc_dev_finalize() local 98 return result; in emmc_dev_finalize() 127 EMMC_ERROR_CODE result; in emmc_reset_controller() local 133 result = emmc_dev_init(); in emmc_reset_controller() 134 if (result == EMMC_SUCCESS) { in emmc_reset_controller() 138 return result; in emmc_reset_controller() 144 EMMC_ERROR_CODE result; in emmc_terminate() local 146 result = emmc_dev_finalize(); in emmc_terminate() 150 return result; in emmc_terminate() 155 EMMC_ERROR_CODE result; in rcar_emmc_init() local [all …]
|
/trusted-firmware-a/drivers/io/ |
A D | io_fip.c | 132 result = 0; in find_first_fip_state() 137 return result; in find_first_fip_state() 161 return result; in allocate_dev_info() 167 int result; in free_dev_info() local 181 return result; in free_dev_info() 192 int result; in fip_dev_open() local 218 int result; in fip_dev_init() local 267 return result; in fip_dev_init() 287 int result; in fip_file_open() local 382 int result; in fip_file_read() local [all …]
|
A D | io_encrypted.c | 85 int result; in enc_dev_init() local 97 return result; in enc_dev_init() 111 int result; in enc_file_open() local 125 return result; in enc_file_open() 130 int result; in enc_file_len() local 150 return result; in enc_file_len() 156 int result; in enc_file_read() local 217 return result; in enc_file_read() 235 int result; in register_io_dev_enc() local 240 if (result == 0) in register_io_dev_enc() [all …]
|
A D | io_storage.c | 97 result = 0; in find_first_entity() 102 return result; in find_first_entity() 121 return result; in allocate_entity() 128 int result; in free_entity() local 138 return result; in free_entity() 153 result = 0; in io_register_device() 156 return result; in io_register_device() 184 return result; in io_dev_init() 201 return result; in io_dev_close() 211 int result; in io_open() local [all …]
|
/trusted-firmware-a/drivers/renesas/common/iic_dvfs/ |
A D | iic_dvfs.c | 236 return result; in IIC_DVFS_FUNC() 242 int32_t result; in IIC_DVFS_FUNC() local 263 return result; in IIC_DVFS_FUNC() 288 return result; in IIC_DVFS_FUNC() 314 return result; in IIC_DVFS_FUNC() 339 return result; in IIC_DVFS_FUNC() 383 return result; in IIC_DVFS_FUNC() 411 return result; in IIC_DVFS_FUNC() 439 return result; in IIC_DVFS_FUNC() 464 return result; in IIC_DVFS_FUNC() [all …]
|
/trusted-firmware-a/drivers/fwu/ |
A D | fwu.c | 77 int result; in fwu_metadata_load() local 87 if (result != 0) { in fwu_metadata_load() 90 return result; in fwu_metadata_load() 94 if (result != 0) { in fwu_metadata_load() 97 return result; in fwu_metadata_load() 103 if (result != 0) { in fwu_metadata_load() 110 result = -1; in fwu_metadata_load() 118 if (result != 0) { in fwu_metadata_load() 125 if (result != 0) { in fwu_metadata_load() 132 return result; in fwu_metadata_load() [all …]
|
/trusted-firmware-a/plat/imx/common/ |
A D | imx_io_storage.c | 208 int result; in open_fip() local 213 if (result == 0) { in open_fip() 220 return result; in open_fip() 226 int result; in open_mmc() local 230 if (result == 0) { in open_mmc() 236 return result; in open_mmc() 241 int result; in open_memmap() local 245 if (result == 0) { in open_memmap() 252 return result; in open_memmap() 259 int result; in plat_get_image_source() local [all …]
|
/trusted-firmware-a/plat/intel/soc/common/ |
A D | socfpga_storage.c | 105 int result; in check_dev() local 109 if (result == 0) { in check_dev() 111 if (result == 0) in check_dev() 114 return result; in check_dev() 119 int result; in check_fip() local 125 if (result == 0) in check_fip() 128 return result; in check_fip() 133 int result; in socfpga_io_setup() local 174 (void)result; in socfpga_io_setup() 180 int result; in plat_get_image_source() local [all …]
|
/trusted-firmware-a/drivers/st/io/ |
A D | io_stm32image.c | 112 int result; in stm32image_dev_init() local 122 if (result != 0) { in stm32image_dev_init() 127 return result; in stm32image_dev_init() 167 int result; in stm32image_partition_size() local 180 if (result < 0) { in stm32image_partition_size() 182 return result; in stm32image_partition_size() 231 return result; in stm32image_partition_size() 346 return result; in stm32image_partition_read() 355 return result; in stm32image_partition_read() 369 int result; in register_io_dev_stm32image() local [all …]
|
/trusted-firmware-a/plat/imx/common/sci/svc/rm/ |
A D | rm_rpc_clnt.c | 36 uint8_t result; in sc_rm_partition_alloc() local 61 uint8_t result; in sc_rm_set_confidential() local 79 uint8_t result; in sc_rm_partition_free() local 96 uint8_t result; in sc_rm_get_did() local 112 uint8_t result; in sc_rm_partition_static() local 130 uint8_t result; in sc_rm_partition_lock() local 147 uint8_t result; in sc_rm_get_partition() local 167 uint8_t result; in sc_rm_set_parent() local 186 uint8_t result; in sc_rm_move_all() local 206 uint8_t result; in sc_rm_assign_resource() local [all …]
|
/trusted-firmware-a/plat/imx/common/sci/svc/timer/ |
A D | timer_rpc_clnt.c | 34 uint8_t result; in sc_timer_set_wdog_timeout() local 52 uint8_t result; in sc_timer_set_wdog_pre_timeout() local 69 uint8_t result; in sc_timer_start_wdog() local 86 uint8_t result; in sc_timer_stop_wdog() local 102 uint8_t result; in sc_timer_ping_wdog() local 121 uint8_t result; in sc_timer_get_wdog_status() local 149 uint8_t result; in sc_timer_pt_get_wdog_status() local 176 uint8_t result; in sc_timer_set_wdog_action() local 196 uint8_t result; in sc_timer_set_rtc_time() local 220 uint8_t result; in sc_timer_get_rtc_time() local [all …]
|
/trusted-firmware-a/plat/arm/common/ |
A D | arm_io_storage.c | 41 int result; in open_fip() local 46 if (result == 0) { in open_fip() 48 if (result == 0) { in open_fip() 53 return result; in open_fip() 58 int result; in open_memmap() local 62 if (result == 0) { in open_memmap() 69 return result; in open_memmap() 123 int result; in plat_get_image_source() local 137 return result; in plat_get_image_source() 234 int result = -1; in plat_fwu_set_metadata_image_source() local [all …]
|
/trusted-firmware-a/tools/fiptool/ |
A D | win_posix.c | 119 int result = RET_END_OPT_LIST; in getopt() local 132 return result; in getopt() 147 int result = 0; in optmatch() local 151 return result; in optmatch() 162 int result = RET_UNKNOWN_OPT; in getopt_1long() local 198 result = longopts[loptn].val; in getopt_1long() 206 optopt = result; in getopt_1long() 222 result = 0; in getopt_1long() 227 return result; in getopt_1long() 272 return result; in getopt_long() [all …]
|
/trusted-firmware-a/plat/st/stm32mp1/services/ |
A D | bsec_svc.c | 19 uint32_t result; in bsec_main() local 24 result = bsec_read_otp(ret_otp_value, x2); in bsec_main() 28 result = bsec_program_otp(x3, x2); in bsec_main() 32 result = bsec_write_otp(x3, x2); in bsec_main() 36 result = bsec_read_otp(&tmp_data, x2); in bsec_main() 37 if (result != BSEC_OK) { in bsec_main() 41 result = bsec_shadow_register(x2); in bsec_main() 42 if (result != BSEC_OK) { in bsec_main() 46 result = bsec_read_otp(ret_otp_value, x2); in bsec_main() 47 if (result != BSEC_OK) { in bsec_main() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hikey_io_storage.c | 229 int result; in check_emmc() local 233 if (result == 0) { in check_emmc() 235 if (result == 0) in check_emmc() 238 return result; in check_emmc() 243 int result; in check_fip() local 248 if (result == 0) { in check_fip() 255 return result; in check_fip() 260 int result; in hikey_io_setup() local 276 (void)result; in hikey_io_setup() 302 int result; in plat_get_image_source() local [all …]
|
/trusted-firmware-a/drivers/st/bsec/ |
A D | bsec.c | 183 int32_t result; in bsec_set_config() local 201 return result; in bsec_set_config() 303 return result; in bsec_shadow_register() 329 return result; in bsec_read_otp() 361 return result; in bsec_write_otp() 426 return result; in bsec_program_otp() 492 return result; in bsec_permanent_lock_otp() 516 return result; in bsec_write_debug_conf() 611 return result; in bsec_write_sr_lock() 672 return result; in bsec_write_sw_lock() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey960/ |
A D | hikey960_io_storage.c | 215 int result; in check_ufs() local 219 if (result == 0) { in check_ufs() 221 if (result == 0) in check_ufs() 224 return result; in check_ufs() 229 int result; in check_fip() local 234 if (result == 0) { in check_fip() 241 return result; in check_fip() 246 int result; in hikey960_io_setup() local 262 (void)result; in hikey960_io_setup() 288 int result; in plat_get_image_source() local [all …]
|
/trusted-firmware-a/plat/marvell/armada/common/ |
A D | marvell_io_storage.c | 120 int result; in open_fip() local 125 if (result == 0) { in open_fip() 127 if (result == 0) { in open_fip() 132 return result; in open_fip() 138 int result; in open_memmap() local 142 if (result == 0) { in open_memmap() 149 return result; in open_memmap() 197 int result; in plat_get_image_source() local 204 if (result == 0) { in plat_get_image_source() 213 return result; in plat_get_image_source() [all …]
|
/trusted-firmware-a/plat/imx/common/sci/svc/pm/ |
A D | pm_rpc_clnt.c | 35 uint8_t result; in sc_pm_set_sys_power_mode() local 53 uint8_t result; in sc_pm_set_partition_power_mode() local 72 uint8_t result; in sc_pm_get_sys_power_mode() local 94 uint8_t result; in sc_pm_set_resource_power_mode() local 113 uint8_t result; in sc_pm_get_resource_power_mode() local 135 uint8_t result; in sc_pm_req_low_power_mode() local 155 uint8_t result; in sc_pm_req_cpu_low_power_mode() local 175 uint8_t result; in sc_pm_set_cpu_resume_addr() local 195 uint8_t result; in sc_pm_set_cpu_resume() local 218 uint8_t result; in sc_pm_req_sys_if_power_mode() local [all …]
|
/trusted-firmware-a/plat/layerscape/common/ |
A D | ls_io_storage.c | 84 int result; in open_fip() local 89 if (result == 0) { in open_fip() 91 if (result == 0) { in open_fip() 96 return result; in open_fip() 102 int result; in open_memmap() local 106 if (result == 0) { in open_memmap() 108 if (result == 0) { in open_memmap() 113 return result; in open_memmap() 161 int result; in plat_get_image_source() local 168 if (result == 0) { in plat_get_image_source() [all …]
|
/trusted-firmware-a/plat/qemu/common/ |
A D | qemu_io_storage.c | 306 int result; in open_fip() local 318 return result; in open_fip() 324 int result; in open_enc_fip() local 336 return result; in open_enc_fip() 342 int result; in open_memmap() local 353 return result; in open_memmap() 358 int result; in open_semihosting() local 370 return result; in open_semihosting() 423 return result; in get_alt_image_source() 433 int result; in plat_get_image_source() local [all …]
|