Searched refs:FTM_SC (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/rtc/ |
D | rtc-fsl-ftm-alarm.c | 66 val = rtc_readl(rtc, FTM_SC); in ftm_counter_enable() 69 rtc_writel(rtc, FTM_SC, val); in ftm_counter_enable() 77 val = rtc_readl(rtc, FTM_SC); in ftm_counter_disable() 79 rtc_writel(rtc, FTM_SC, val); in ftm_counter_disable() 107 while ((FTM_SC_TOF & rtc_readl(rtc, FTM_SC)) && timeout--) in ftm_irq_acknowledge() 108 rtc_writel(rtc, FTM_SC, rtc_readl(rtc, FTM_SC) & (~FTM_SC_TOF)); in ftm_irq_acknowledge() 115 val = rtc_readl(rtc, FTM_SC); in ftm_irq_enable() 117 rtc_writel(rtc, FTM_SC, val); in ftm_irq_enable() 124 val = rtc_readl(rtc, FTM_SC); in ftm_irq_disable() 126 rtc_writel(rtc, FTM_SC, val); in ftm_irq_disable()
|
/Linux-v6.6/drivers/clocksource/ |
D | timer-fsl-ftm.c | 53 val = ftm_readl(base + FTM_SC); in ftm_counter_enable() 56 ftm_writel(val, base + FTM_SC); in ftm_counter_enable() 64 val = ftm_readl(base + FTM_SC); in ftm_counter_disable() 66 ftm_writel(val, base + FTM_SC); in ftm_counter_disable() 73 val = ftm_readl(base + FTM_SC); in ftm_irq_acknowledge() 75 ftm_writel(val, base + FTM_SC); in ftm_irq_acknowledge() 82 val = ftm_readl(base + FTM_SC); in ftm_irq_enable() 84 ftm_writel(val, base + FTM_SC); in ftm_irq_enable() 91 val = ftm_readl(base + FTM_SC); in ftm_irq_disable() 93 ftm_writel(val, base + FTM_SC); in ftm_irq_disable()
|
/Linux-v6.6/drivers/counter/ |
D | ftm-quaddec.c | 88 ftm_write(ftm, FTM_SC, FTM_SC_PS_1); in ftm_quaddec_init() 123 ftm_read(ftm, FTM_SC, &scflags); in ftm_quaddec_get_prescaler() 138 FTM_FIELD_UPDATE(ftm, FTM_SC, FTM_SC_PS_MASK, cnt_mode); in ftm_quaddec_set_prescaler()
|
/Linux-v6.6/drivers/pwm/ |
D | pwm-fsl-ftm.c | 95 regmap_set_bits(fpc->regmap, FTM_SC, BIT(pwm->hwpwm + 16)); in fsl_pwm_request() 108 regmap_clear_bits(fpc->regmap, FTM_SC, BIT(pwm->hwpwm + 16)); in fsl_pwm_free() 270 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_CLK_MASK, in fsl_pwm_apply_config() 272 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_PS_MASK, in fsl_pwm_apply_config()
|
/Linux-v6.6/include/linux/fsl/ |
D | ftm.h | 5 #define FTM_SC 0x0 /* Status And Control */ macro
|