| /optee_os/core/drivers/ |
| H A D | stm32_hpdma.c | 134 static TEE_Result apply_rif_config(struct hpdma_pdata *hpdma_d, bool is_tdcid) in apply_rif_config() argument 142 if (is_tdcid) { in apply_rif_config() 170 if (!is_tdcid) in apply_rif_config() 323 bool is_tdcid = false; in stm32_hpdma_pm() local 325 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_hpdma_pm() 329 if (!PM_HINT_IS_STATE(pm_hint, CONTEXT) || !is_tdcid) in stm32_hpdma_pm() 351 bool is_tdcid = false; in stm32_hpdma_probe() local 353 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_hpdma_probe() 370 res = apply_rif_config(hpdma_d, is_tdcid); in stm32_hpdma_probe()
|
| H A D | stm32_hsem.c | 73 static void apply_rif_config(bool is_tdcid) in apply_rif_config() argument 83 if (is_tdcid) { in apply_rif_config() 102 if (!is_tdcid) in apply_rif_config() 237 bool is_tdcid = false; in stm32_hsem_probe() local 239 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_hsem_probe() 257 apply_rif_config(is_tdcid); in stm32_hsem_probe()
|
| H A D | stm32_ipcc.c | 70 bool is_tdcid; member 108 if (ipcc_d->is_tdcid) { in apply_rif_config() 180 if (!ipcc_d->is_tdcid) in apply_rif_config() 236 if (!PM_HINT_IS_STATE(pm_hint, CONTEXT) || !ipcc->is_tdcid) in stm32_ipcc_pm() 314 res = stm32_rifsc_check_tdcid(&ipcc_d->is_tdcid); in stm32_ipcc_probe()
|
| H A D | stm32_fmc.c | 88 bool is_tdcid; member 150 if (fmc_d->is_tdcid) { in apply_rif_config() 175 if (!fmc_d->is_tdcid) in apply_rif_config() 472 res = stm32_rifsc_check_tdcid(&fmc_d->is_tdcid); in fmc_probe()
|
| H A D | stm32_exti.c | 464 bool is_tdcid = false; in stm32_exti_rif_apply() local 468 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_exti_rif_apply() 477 if (is_tdcid) { in stm32_exti_rif_apply() 507 if (!is_tdcid) in stm32_exti_rif_apply() 539 bool is_tdcid = false; in stm32_exti_rif_save() local 553 stm32_rifsc_check_tdcid(&is_tdcid); in stm32_exti_rif_save() 554 if (!is_tdcid) in stm32_exti_rif_save()
|
| H A D | stm32_rtc.c | 293 static void apply_rif_config(bool is_tdcid) in apply_rif_config() argument 324 if (is_tdcid) in apply_rif_config() 367 if (!is_tdcid) in apply_rif_config() 1056 bool is_tdcid = false; in stm32_rtc_probe() local 1062 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_rtc_probe() 1086 apply_rif_config(is_tdcid); in stm32_rtc_probe()
|
| H A D | stm32_gpio.c | 189 bool is_tdcid; member 990 if (bank->is_tdcid) { in apply_rif_config() 1016 if (!bank->is_tdcid) { in apply_rif_config() 1218 res = stm32_rifsc_check_tdcid(&bank->is_tdcid); in dt_stm32_gpio_bank() 1566 if (!bank->is_tdcid) in stm32_gpio_sec_config_resume() 1593 if (bank->is_tdcid) in stm32_gpio_sec_config_suspend()
|
| H A D | stm32_tamp.c | 433 bool is_tdcid; member 732 if (stm32_tamp_dev->pdata.is_tdcid) { in apply_rif_config() 757 if (!stm32_tamp_dev->pdata.is_tdcid) in apply_rif_config() 2032 res = stm32_rifsc_check_tdcid(&pdata->is_tdcid); in stm32_tamp_parse_fdt() 2151 if (stm32_tamp_dev->pdata.is_tdcid) { in stm32_tamp_probe() 2173 stm32_tamp_dev->pdata.is_tdcid) { in stm32_tamp_probe()
|
| /optee_os/core/drivers/firewall/ |
| H A D | stm32_iac.c | 207 bool is_tdcid = false; in probe_iac_device() local 209 res = stm32_rifsc_check_tdcid(&is_tdcid); in probe_iac_device() 214 if (!is_tdcid) in probe_iac_device()
|
| H A D | stm32_risab.c | 112 static bool is_tdcid; variable 174 if (is_tdcid && !(cidcfgr & _RISAB_PG_CIDCFGR_DCEN)) in regs_access_granted() 324 if (!is_tdcid) in set_rif_registers() 344 if (is_tdcid) { in apply_rif_config() 558 if (is_tdcid && risab_d->srwiad) in enable_srwiad_if_set() 564 if (is_tdcid && !risab_d->srwiad) in disable_srwiad_if_unset() 820 if (!PM_HINT_IS_STATE(pm_hint, CONTEXT) || !is_tdcid) in stm32_risab_pm() 843 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_risab_probe() 858 if (is_tdcid) { in stm32_risab_probe()
|
| H A D | stm32_rifsc.c | 170 bool is_tdcid; member 498 res = stm32_rifsc_check_tdcid(&rifsc_pdata.is_tdcid); in stm32_rifsc_parse_fdt() 506 if (rifsc_pdata.is_tdcid) { in stm32_rifsc_parse_fdt() 546 if (rifsc_pdata.is_tdcid) { in stm32_risup_cfg() 875 if (!rifsc_pdata.is_tdcid) { in stm32_rifsc_set_config() 892 if (!rifsc_pdata.is_tdcid) in stm32_rifsc_set_config() 1134 if (rifsc_pdata.is_tdcid) { in stm32_rifsc_probe()
|
| H A D | stm32_risaf.c | 191 static bool is_tdcid; variable 612 if (!(cfgr & _RISAF_REG_CFGR_BREN) && !is_tdcid) in stm32_risaf_acquire_access() 700 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_risaf_probe() 704 if (!is_tdcid) in stm32_risaf_probe()
|
| /optee_os/core/drivers/clk/ |
| H A D | clk-stm32mp21.c | 3527 static TEE_Result apply_rcc_rif_config(bool is_tdcid) in apply_rcc_rif_config() argument 3534 if (is_tdcid) { in apply_rcc_rif_config() 3568 if (!is_tdcid) in apply_rcc_rif_config() 3645 bool is_tdcid = false; in stm32_rcc_rif_pm() local 3650 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_rcc_rif_pm() 3655 if (is_tdcid) in stm32_rcc_rif_pm() 3660 if (!is_tdcid) in stm32_rcc_rif_pm() 3672 bool is_tdcid = false; in rcc_rif_config() local 3675 res = stm32_rifsc_check_tdcid(&is_tdcid); in rcc_rif_config() 3679 res = apply_rcc_rif_config(is_tdcid); in rcc_rif_config()
|
| H A D | clk-stm32mp25.c | 3600 static TEE_Result apply_rcc_rif_config(bool is_tdcid) in apply_rcc_rif_config() argument 3607 if (is_tdcid) { in apply_rcc_rif_config() 3635 if (!is_tdcid) in apply_rcc_rif_config() 3700 bool is_tdcid = false; in stm32_rcc_rif_pm() local 3705 res = stm32_rifsc_check_tdcid(&is_tdcid); in stm32_rcc_rif_pm() 3710 if (is_tdcid) in stm32_rcc_rif_pm() 3715 if (!is_tdcid) in stm32_rcc_rif_pm() 3727 bool is_tdcid = false; in rcc_rif_config() local 3730 res = stm32_rifsc_check_tdcid(&is_tdcid); in rcc_rif_config() 3734 res = apply_rcc_rif_config(is_tdcid); in rcc_rif_config()
|