Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/drivers/clock_control/
Dmchp_xec_clock_control.h16 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);
/Zephyr-Core-3.5.0/soc/arm/microchip_mec/common/
Dsoc_pcr.h15 #define MCHP_XEC_PCR_SCR_ENCODE(slp_idx, bitpos, domain) \ argument
17 | ((uint32_t)(slp_idx) & 0x7))
/Zephyr-Core-3.5.0/drivers/clock_control/
Dclock_control_mchp_xec.c780 int z_mchp_xec_pcr_periph_sleep(uint8_t slp_idx, uint8_t slp_pos, in z_mchp_xec_pcr_periph_sleep() argument
785 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() argument
806 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()