/tf-a-ffa_el3_spmc/drivers/mmc/ |
A D | mmc.c | 51 int ret; in mmc_send_cmd() local 74 return ret; in mmc_send_cmd() 83 int ret; in mmc_device_state() local 110 int ret; in mmc_send_part_switch_cmd() local 140 int ret; in mmc_set_ext_csd() local 162 int ret; in mmc_sd_switch() local 225 int ret; in mmc_set_ios() local 404 int ret; in mmc_reset_to_idle() local 450 int ret; in mmc_enumerate() local 532 int ret; in mmc_read_blocks() local [all …]
|
/tf-a-ffa_el3_spmc/plat/ti/k3/common/drivers/ti_sci/ |
A D | ti_sci.c | 98 int ret; in ti_sci_get_response() local 144 int ret; in ti_sci_do_xfer() local 181 int ret; in ti_sci_get_revision() local 216 int ret; in ti_sci_device_set_state() local 258 int ret; in ti_sci_device_get_state() local 403 int ret; in ti_sci_device_put_no_wait() local 472 int ret; in ti_sci_device_is_idle() local 479 if (ret) in ti_sci_device_is_idle() 498 int ret; in ti_sci_device_is_stop() local 505 if (ret) in ti_sci_device_is_stop() [all …]
|
/tf-a-ffa_el3_spmc/plat/allwinner/sun50i_h6/ |
A D | sunxi_power.c | 40 int ret; in rsb_init() local 43 if (ret) in rsb_init() 44 return ret; in rsb_init() 48 if (ret) in rsb_init() 53 if (ret) in rsb_init() 58 if (ret) in rsb_init() 66 int ret; in sunxi_pmic_setup() local 71 if (ret) in sunxi_pmic_setup() 75 if (ret) in sunxi_pmic_setup() 80 if (ret) in sunxi_pmic_setup() [all …]
|
/tf-a-ffa_el3_spmc/drivers/mtd/nor/ |
A D | spi_nor.c | 87 int ret; in spi_nor_ready() local 91 return ret; in spi_nor_ready() 111 int ret; in spi_nor_wait_ready() local 127 int ret; in spi_nor_macronix_quad_enable() local 164 int ret; in spi_nor_write_sr_cr() local 187 int ret; in spi_nor_quad_enable() local 219 int ret; in spi_nor_clean_bar() local 239 int ret; in spi_nor_write_bar() local 264 int ret; in spi_nor_read_bar() local 281 int ret; in spi_nor_read() local [all …]
|
/tf-a-ffa_el3_spmc/plat/allwinner/sun50i_h616/ |
A D | sunxi_power.c | 43 int ret; in rsb_init() local 46 if (ret) in rsb_init() 47 return ret; in rsb_init() 51 if (ret) in rsb_init() 52 return ret; in rsb_init() 56 if (ret) in rsb_init() 61 if (ret) in rsb_init() 69 int ret; in sunxi_pmic_setup() local 74 if (ret) { in sunxi_pmic_setup() 80 if (ret) { in sunxi_pmic_setup() [all …]
|
/tf-a-ffa_el3_spmc/plat/ti/k3/common/ |
A D | k3_psci.c | 56 if (ret) { in k3_pwr_domain_on() 62 if (ret) { in k3_pwr_domain_on() 72 if (ret) { in k3_pwr_domain_on() 78 if (ret) { in k3_pwr_domain_on() 124 if (ret) { in k3_pwr_domain_off() 131 if (ret) { in k3_pwr_domain_off() 143 if (ret) { in k3_pwr_domain_off() 151 if (ret) { in k3_pwr_domain_off() 160 if (ret) { in k3_pwr_domain_off() 168 if (ret) { in k3_pwr_domain_off() [all …]
|
/tf-a-ffa_el3_spmc/plat/xilinx/zynqmp/pm_service/ |
A D | pm_svc_main.c | 179 int ret; in pm_wdt_restart_setup() local 183 if (ret) { in pm_wdt_restart_setup() 189 if (ret) in pm_wdt_restart_setup() 193 return ret; in pm_wdt_restart_setup() 212 int status, ret; in pm_setup() local 234 ret = 0; in pm_setup() 237 ret = status; in pm_setup() 242 return ret; in pm_setup() 264 enum pm_ret_status ret; in pm_smc_handler() local 356 ret = pm_init_finalize(); in pm_smc_handler() [all …]
|
A D | pm_api_ioctl.c | 210 return ret; in pm_ioctl_set_sgmii_mode() 219 return ret; in pm_ioctl_set_sgmii_mode() 252 return ret; in pm_ioctl_sd_dll_reset() 266 return ret; in pm_ioctl_sd_dll_reset() 299 return ret; in pm_ioctl_sd_set_tapdelay() 305 return ret; in pm_ioctl_sd_set_tapdelay() 350 return ret; in pm_ioctl_sd_set_tapdelay() 569 return ret; in pm_ioctl_ulpi_reset() 577 return ret; in pm_ioctl_ulpi_reset() 585 return ret; in pm_ioctl_ulpi_reset() [all …]
|
/tf-a-ffa_el3_spmc/plat/xilinx/versal/pm_service/ |
A D | pm_svc_main.c | 90 int status, ret = 0; in pm_setup() local 96 ret = status; in pm_setup() 110 if (ret) { in pm_setup() 113 return ret; in pm_setup() 135 enum pm_ret_status ret; in pm_smc_handler() local 162 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 166 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 171 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 175 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() 179 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler() [all …]
|
/tf-a-ffa_el3_spmc/drivers/nxp/sfp/ |
A D | fuse_prov.c | 82 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_srkh() 86 return ret; in prog_srkh() 103 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_oemuid() 116 int ret; in prog_debug() local 124 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_debug() 136 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_debug() 308 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_otpmk() 328 int ret; in prog_ospr1() local 343 ret = (ret == ERROR_ALREADY_BLOWN) ? in prog_ospr1() 356 int ret; in prog_syscfg() local [all …]
|
/tf-a-ffa_el3_spmc/drivers/nxp/i2c/ |
A D | i2c.c | 62 int ret; in tx_byte() local 69 return ret; in tx_byte() 82 int ret; in gen_stop() local 91 return ret; in gen_stop() 97 int ret; in i2c_write_addr() local 112 return ret; in i2c_write_addr() 148 int ret; in read_data() local 186 int ret; in write_data() local 203 int ret; in i2c_read() local 229 int ret; in i2c_write() local [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/common/drivers/rtc/ |
A D | rtc_mt6359p.c | 39 int16_t ret; in rtc_enable_k_eosc() local 49 if (ret == 0) { in rtc_enable_k_eosc() 55 if (ret == 0) { in rtc_enable_k_eosc() 61 if (ret == 0) { in rtc_enable_k_eosc() 67 if (ret == 0) { in rtc_enable_k_eosc() 74 if (ret == 0) { in rtc_enable_k_eosc() 83 if (ret == 0) { in rtc_enable_k_eosc() 90 if (ret == 0) { in rtc_enable_k_eosc() 98 if (ret == 0) { in rtc_enable_k_eosc() 110 int16_t ret; in rtc_power_off_sequence() local [all …]
|
/tf-a-ffa_el3_spmc/plat/brcm/board/stingray/driver/ |
A D | swreg.c | 161 int ret; in write_swreg_config() local 178 int ret; in read_swreg_config() local 198 int ret; in swreg_config_done() local 201 if (ret) in swreg_config_done() 207 if (ret) in swreg_config_done() 211 if (ret) in swreg_config_done() 216 if (ret) in swreg_config_done() 228 int ret; in dump_swreg_firmware() local 246 int ret; in set_swreg() local 255 if (ret) in set_swreg() [all …]
|
/tf-a-ffa_el3_spmc/drivers/mtd/nand/ |
A D | raw_nand.c | 93 int ret; in nand_change_read_column_cmd() local 99 return ret; in nand_change_read_column_cmd() 130 int ret; in nand_read_page_cmd() local 174 return ret; in nand_read_page_cmd() 179 int ret; in nand_status() local 196 int ret; in nand_wait_ready() local 256 int ret; in nand_read_id() local 273 int ret; in nand_reset() local 287 int ret; in nand_read_param_page() local 349 int ret; in detect_onfi() local [all …]
|
/tf-a-ffa_el3_spmc/drivers/brcm/ |
A D | spi_flash.c | 58 int ret; in spi_flash_read_id() local 89 int ret; in spi_flash_cmd_wait() local 105 ret = -1; in spi_flash_cmd_wait() 118 int ret; in spi_flash_write_common() local 144 int ret; in spi_flash_read_common() local 160 int ret; in spi_flash_read() local 163 if (ret) { in spi_flash_read() 197 int ret; in spi_flash_write() local 200 if (ret) { in spi_flash_write() 238 int ret; in spi_flash_erase() local [all …]
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t194/drivers/mce/ |
A D | mce.c | 44 int32_t ret = 0; in mce_command_handler() local 49 if (ret < 0) { in mce_command_handler() 57 if (ret < 0) { in mce_command_handler() 65 if (ret < 0) { in mce_command_handler() 73 ret = -EINVAL; in mce_command_handler() 77 return ret; in mce_command_handler() 85 int32_t ret; in mce_update_gsc_videomem() local 96 return ret; in mce_update_gsc_videomem() 104 int32_t ret; in mce_update_gsc_tzdram() local 115 return ret; in mce_update_gsc_tzdram() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/dcm/ |
A D | mtk_dcm.c | 36 bool ret = true; in check_dcm_state() local 38 ret &= dcm_mp_cpusys_top_bus_pll_div_dcm_is_on(); in check_dcm_state() 42 ret &= dcm_mp_cpusys_top_adb_dcm_is_on(); in check_dcm_state() 43 ret &= dcm_mp_cpusys_top_apb_dcm_is_on(); in check_dcm_state() 44 ret &= dcm_mp_cpusys_top_cpubiu_dcm_is_on(); in check_dcm_state() 45 ret &= dcm_mp_cpusys_top_misc_dcm_is_on(); in check_dcm_state() 46 ret &= dcm_mp_cpusys_top_mp0_qdcm_is_on(); in check_dcm_state() 47 ret &= dcm_cpccfg_reg_emi_wfifo_is_on(); in check_dcm_state() 50 ret &= dcm_mp_cpusys_top_core_stall_dcm_is_on(); in check_dcm_state() 51 ret &= dcm_mp_cpusys_top_fcm_stall_dcm_is_on(); in check_dcm_state() [all …]
|
A D | mtk_dcm_utils.c | 56 return ret; in dcm_mp_cpusys_top_adb_dcm_is_on() 110 return ret; in dcm_mp_cpusys_top_apb_dcm_is_on() 152 return ret; in dcm_mp_cpusys_top_bus_pll_div_dcm_is_on() 182 return ret; in dcm_mp_cpusys_top_core_stall_dcm_is_on() 212 return ret; in dcm_mp_cpusys_top_cpubiu_dcm_is_on() 242 return ret; in dcm_mp_cpusys_top_cpu_pll_div_0_dcm_is_on() 272 return ret; in dcm_mp_cpusys_top_cpu_pll_div_1_dcm_is_on() 302 return ret; in dcm_mp_cpusys_top_cpu_pll_div_2_dcm_is_on() 332 return ret; in dcm_mp_cpusys_top_cpu_pll_div_3_dcm_is_on() 362 return ret; in dcm_mp_cpusys_top_cpu_pll_div_4_dcm_is_on() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/dcm/ |
A D | mtk_dcm.c | 36 bool ret = true; in check_dcm_state() local 38 ret &= dcm_mp_cpusys_top_bus_pll_div_dcm_is_on(); in check_dcm_state() 42 ret &= dcm_mp_cpusys_top_adb_dcm_is_on(); in check_dcm_state() 43 ret &= dcm_mp_cpusys_top_apb_dcm_is_on(); in check_dcm_state() 44 ret &= dcm_mp_cpusys_top_cpubiu_dcm_is_on(); in check_dcm_state() 45 ret &= dcm_mp_cpusys_top_misc_dcm_is_on(); in check_dcm_state() 46 ret &= dcm_mp_cpusys_top_mp0_qdcm_is_on(); in check_dcm_state() 47 ret &= dcm_cpccfg_reg_emi_wfifo_is_on(); in check_dcm_state() 50 ret &= dcm_mp_cpusys_top_core_stall_dcm_is_on(); in check_dcm_state() 51 ret &= dcm_mp_cpusys_top_fcm_stall_dcm_is_on(); in check_dcm_state() [all …]
|
A D | mtk_dcm_utils.c | 56 return ret; in dcm_mp_cpusys_top_adb_dcm_is_on() 110 return ret; in dcm_mp_cpusys_top_apb_dcm_is_on() 158 return ret; in dcm_mp_cpusys_top_bus_pll_div_dcm_is_on() 188 return ret; in dcm_mp_cpusys_top_core_stall_dcm_is_on() 218 return ret; in dcm_mp_cpusys_top_cpubiu_dcm_is_on() 251 return ret; in dcm_mp_cpusys_top_cpu_pll_div_0_dcm_is_on() 284 return ret; in dcm_mp_cpusys_top_cpu_pll_div_1_dcm_is_on() 314 return ret; in dcm_mp_cpusys_top_fcm_stall_dcm_is_on() 344 return ret; in dcm_mp_cpusys_top_last_cor_idle_dcm_is_on() 377 return ret; in dcm_mp_cpusys_top_misc_dcm_is_on() [all …]
|
/tf-a-ffa_el3_spmc/lib/libfdt/ |
A D | fdt_overlay.c | 99 return ret; in overlay_get_target() 160 int ret; in overlay_adjust_node_phandles() local 163 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles() 167 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles() 172 if (ret) in overlay_adjust_node_phandles() 227 int ret; in overlay_update_local_node_references() local 301 if (ret) in overlay_update_local_node_references() 833 int ret; in fdt_overlay_apply() local 839 if (ret) in fdt_overlay_apply() 843 if (ret) in fdt_overlay_apply() [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/ |
A D | plat_sip_calls.c | 45 uint32_t ret; in mt_sip_pwr_on_mtcmos() local 48 if (ret) in mt_sip_pwr_on_mtcmos() 56 uint32_t ret; in mt_sip_pwr_off_mtcmos() local 59 if (ret) in mt_sip_pwr_off_mtcmos() 79 uint64_t ret; in mediatek_plat_sip_handler() local 84 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 88 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 92 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 96 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() 100 SMC_RET1(handle, ret); in mediatek_plat_sip_handler() [all …]
|
/tf-a-ffa_el3_spmc/plat/socionext/uniphier/ |
A D | uniphier_io_storage.c | 198 int ret; in uniphier_io_block_setup() local 209 if (ret) in uniphier_io_block_setup() 213 if (ret) in uniphier_io_block_setup() 222 int ret; in uniphier_io_memmap_setup() local 229 if (ret) in uniphier_io_memmap_setup() 233 if (ret) in uniphier_io_memmap_setup() 242 int ret; in uniphier_io_fip_setup() local 245 if (ret) in uniphier_io_fip_setup() 254 int ret; in uniphier_io_emmc_setup() local 257 if (ret) in uniphier_io_emmc_setup() [all …]
|
/tf-a-ffa_el3_spmc/drivers/cfi/v2m/ |
A D | v2m_flash.c | 102 int ret; in nor_word_program() local 122 if (ret == 0) in nor_word_program() 126 return ret; in nor_word_program() 137 int ret; in nor_erase() local 145 if (ret == 0) in nor_erase() 149 return ret; in nor_erase() 160 int ret; in nor_lock() local 168 if (ret == 0) in nor_lock() 172 return ret; in nor_lock() 183 int ret; in nor_unlock() local [all …]
|
/tf-a-ffa_el3_spmc/plat/allwinner/sun50i_a64/ |
A D | sunxi_power.c | 90 int ret; in rsb_init() local 93 if (ret) in rsb_init() 94 return ret; in rsb_init() 98 if (ret) in rsb_init() 99 return ret; in rsb_init() 103 if (ret) in rsb_init() 109 if (ret) in rsb_init() 127 int ret; in sunxi_pmic_setup() local 142 if (ret) in sunxi_pmic_setup() 146 if (ret) in sunxi_pmic_setup() [all …]
|