Searched refs:FTM_SC_PS_MASK (Results 1 – 5 of 5) sorted by relevance
36 #define MAX_FREQ_DIV (1 << FTM_SC_PS_MASK)70 val &= ~(FTM_SC_PS_MASK | FTM_SC_CLK_MASK); in ftm_counter_enable()71 val |= (FTM_SC_PS_MASK | FTM_SC_CLK(FTM_SC_CLKS_FIXED_FREQ)); in ftm_counter_enable()81 val &= ~(FTM_SC_PS_MASK | FTM_SC_CLK_MASK); in ftm_counter_disable()
44 #define FTM_SC_PS_MASK 0x7 macro
54 val &= ~(FTM_SC_PS_MASK | FTM_SC_CLK_MASK); in ftm_counter_enable()65 val &= ~(FTM_SC_PS_MASK | FTM_SC_CLK_MASK); in ftm_counter_disable()
126 *cnt_mode = FIELD_GET(FTM_SC_PS_MASK, scflags); in ftm_quaddec_get_prescaler()140 FTM_FIELD_UPDATE(ftm, FTM_SC, FTM_SC_PS_MASK, cnt_mode); in ftm_quaddec_set_prescaler()
276 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_PS_MASK, in fsl_pwm_apply_config()