Lines Matching refs:mcfgr
414 uint32_t mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx() local
417 mcfgr |= MCFGR_SWRST; in sec_reset_idx()
418 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx()
420 mcfgr |= MCFGR_DMA_RST; in sec_reset_idx()
421 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx()
423 mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx()
424 } while ((mcfgr & MCFGR_DMA_RST) == MCFGR_DMA_RST && --timeout); in sec_reset_idx()
431 mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx()
432 } while ((mcfgr & MCFGR_SWRST) == MCFGR_SWRST && --timeout); in sec_reset_idx()
580 uint32_t mcr = sec_in32(&sec->mcfgr); in sec_init_idx()
613 sec_out32(&sec->mcfgr, mcr); in sec_init_idx()