Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec.c297 regs->CONFIG &= ~MCHP_PWM_CFG_ENABLE; in xec_compute_and_set_parameters()
312 cfgval |= MCHP_PWM_CFG_ENABLE; in xec_compute_and_set_parameters()
344 regs->CONFIG &= ~MCHP_PWM_CFG_ENABLE; in pwm_xec_set_cycles()
393 if ((data->config & MCHP_PWM_CFG_ENABLE) == MCHP_PWM_CFG_ENABLE) { in pwm_xec_pm_action()
395 regs->CONFIG |= MCHP_PWM_CFG_ENABLE; in pwm_xec_pm_action()
397 data->config &= (~MCHP_PWM_CFG_ENABLE); in pwm_xec_pm_action()
401 if ((regs->CONFIG & MCHP_PWM_CFG_ENABLE) == MCHP_PWM_CFG_ENABLE) { in pwm_xec_pm_action()
405 regs->CONFIG &= ~(MCHP_PWM_CFG_ENABLE); in pwm_xec_pm_action()
/Zephyr-latest/soc/microchip/mec/common/reg/
Dmec_pwm.h32 #define MCHP_PWM_CFG_ENABLE BIT(MCHP_PWM_CFG_ENABLE_POS) macro