Searched refs:MCHP_PWM_CFG_ENABLE (Results 1 – 2 of 2) sorted by relevance
297 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()
32 #define MCHP_PWM_CFG_ENABLE BIT(MCHP_PWM_CFG_ENABLE_POS) macro