Home
last modified time | relevance | path

Searched refs:FTM_SC_PS_MASK (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-fsl-ftm-alarm.c36 #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()
/kernel/linux/linux-5.10/include/linux/fsl/
Dftm.h44 #define FTM_SC_PS_MASK 0x7 macro
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-fsl-ftm.c54 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()
/kernel/linux/linux-5.10/drivers/counter/
Dftm-quaddec.c126 *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()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-fsl-ftm.c276 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_PS_MASK, in fsl_pwm_apply_config()