Searched refs:slp_idx (Results 1 – 3 of 3) sorted by relevance
16 int z_mchp_xec_pcr_periph_sleep(uint8_t slp_idx, uint8_t slp_pos,19 int z_mchp_xec_pcr_periph_reset(uint8_t slp_idx, uint8_t slp_pos);
15 #define MCHP_XEC_PCR_SCR_ENCODE(slp_idx, bitpos, domain) \ argument17 | ((uint32_t)(slp_idx) & 0x7))
780 int z_mchp_xec_pcr_periph_sleep(uint8_t slp_idx, uint8_t slp_pos, in z_mchp_xec_pcr_periph_sleep() argument785 if ((slp_idx >= MCHP_MAX_PCR_SCR_REGS) || (slp_pos >= 32)) { in z_mchp_xec_pcr_periph_sleep()790 pcr->SLP_EN[slp_idx] |= BIT(slp_pos); in z_mchp_xec_pcr_periph_sleep()792 pcr->SLP_EN[slp_idx] &= ~BIT(slp_pos); in z_mchp_xec_pcr_periph_sleep()802 int z_mchp_xec_pcr_periph_reset(uint8_t slp_idx, uint8_t slp_pos) in z_mchp_xec_pcr_periph_reset() argument806 if ((slp_idx >= MCHP_MAX_PCR_SCR_REGS) || (slp_pos >= 32)) { in z_mchp_xec_pcr_periph_reset()813 pcr->RST_EN[slp_idx] = BIT(slp_pos); in z_mchp_xec_pcr_periph_reset()