Lines Matching refs:bpos
199 uint32_t bpos = pid % 32u; in mec_hal_pcr_set_blk_slp_en() local
201 MEC_PCR->SLP_EN[idx] |= MEC_BIT(bpos); in mec_hal_pcr_set_blk_slp_en()
211 uint32_t bpos = pid % 32u; in mec_hal_pcr_clr_blk_slp_en() local
213 MEC_PCR->SLP_EN[idx] &= ~MEC_BIT(bpos); in mec_hal_pcr_clr_blk_slp_en()
219 uint32_t bpos; in mec_hal_pcr_is_blk_slp_en() local
223 bpos = pid % 32u; in mec_hal_pcr_is_blk_slp_en()
225 if (MEC_PCR->SLP_EN[idx] & MEC_BIT(bpos)) { in mec_hal_pcr_is_blk_slp_en()
293 uint32_t bpos, idx, temp; in mec_hal_pcr_blk_reset() local
300 bpos = pid % 32u; in mec_hal_pcr_blk_reset()
303 MEC_PCR->RST_EN[idx] = MEC_BIT(bpos); in mec_hal_pcr_blk_reset()
691 uint32_t bpos, idx, temp; in mec_hal_pcr_blk_privilege_enable() local
698 bpos = pid % 32u; in mec_hal_pcr_blk_privilege_enable()
702 MEC_PCR->EC_PRIV_EN[idx] |= MEC_BIT(bpos); in mec_hal_pcr_blk_privilege_enable()
704 MEC_PCR->EC_PRIV_EN[idx] &= ~MEC_BIT(bpos); in mec_hal_pcr_blk_privilege_enable()