Home
last modified time | relevance | path

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

/trusted-firmware-a-3.7.0/drivers/nxp/sec_mon/
Dsnvs.c25 return (snvs_read32(&snvs->hp_stat) & HPSTS_MASK_SSM_ST); in get_snvs_state()
34 uint32_t val = snvs_read32(&snvs->hp_com) | state_transtion_bit; in do_snvs_state_transition()
72 if ((snvs_read32(&snvs->hp_com) & HPCOM_SSM_SFNS_DIS) == 0) { in transition_snvs_non_secure()
103 if ((snvs_read32(&snvs->hp_com) & HPCOM_SSM_ST_DIS) == 0) { in transition_snvs_trusted()
141 (snvs_read32(g_nxp_snvs_addr + offset)) in snvs_write_lp_gpr_bit()
145 (snvs_read32(g_nxp_snvs_addr + offset)) in snvs_write_lp_gpr_bit()
152 return (snvs_read32(g_nxp_snvs_addr + offset) & (1 << bit_pos)); in snvs_read_lp_gpr_bit()
172 return snvs_read32(g_nxp_snvs_addr + NXP_APP_DATA_LP_GPR_OFFSET); in snvs_read_app_data()
/trusted-firmware-a-3.7.0/include/drivers/nxp/sec_mon/
Dsnvs.h27 #define snvs_read32(a) bswap32(mmio_read_32((uintptr_t)(a))) macro
30 #define snvs_read32(a) mmio_read_32((uintptr_t)(a)) macro