Home
last modified time | relevance | path

Searched refs:hpdma_d (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dstm32_hpdma.c92 static TEE_Result handle_available_semaphores(struct hpdma_pdata *hpdma_d) in handle_available_semaphores() argument
99 if (!(BIT(i) & hpdma_d->conf_data->access_mask[0])) in handle_available_semaphores()
102 cidcfgr = io_read32(hpdma_d->base + _HPDMA_CIDCFGR(i)); in handle_available_semaphores()
107 if (!(io_read32(hpdma_d->base + _HPDMA_SECCFGR) & BIT(i))) { in handle_available_semaphores()
109 stm32_rif_release_semaphore(hpdma_d->base + in handle_available_semaphores()
119 stm32_rif_acquire_semaphore(hpdma_d->base + in handle_available_semaphores()
134 static TEE_Result apply_rif_config(struct hpdma_pdata *hpdma_d, bool is_tdcid) in apply_rif_config() argument
139 if (!hpdma_d->conf_data) in apply_rif_config()
144 if (!(BIT(i) & hpdma_d->conf_data->access_mask[0])) in apply_rif_config()
152 io_clrbits32(hpdma_d->base + _HPDMA_CIDCFGR(i), in apply_rif_config()
[all …]