Searched refs:ftsr (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/irqchip/ |
| H A D | irq-stm32-exti.c | 140 unsigned int type, u32 *rtsr, u32 *ftsr) in stm32_exti_set_type() argument 147 *ftsr &= ~mask; in stm32_exti_set_type() 151 *ftsr |= mask; in stm32_exti_set_type() 155 *ftsr |= mask; in stm32_exti_set_type() 169 u32 rtsr, ftsr; in stm32_irq_set_type() local 175 ftsr = irq_reg_readl(gc, stm32_bank->ftsr_ofst); in stm32_irq_set_type() 177 err = stm32_exti_set_type(d, type, &rtsr, &ftsr); in stm32_irq_set_type() 182 irq_reg_writel(gc, ftsr, stm32_bank->ftsr_ofst); in stm32_irq_set_type()
|
| H A D | irq-stm32mp-exti.c | 242 static int stm32mp_exti_convert_type(struct irq_data *d, unsigned int type, u32 *rtsr, u32 *ftsr) in stm32mp_exti_convert_type() argument 249 *ftsr &= ~mask; in stm32mp_exti_convert_type() 253 *ftsr |= mask; in stm32mp_exti_convert_type() 257 *ftsr |= mask; in stm32mp_exti_convert_type() 374 u32 rtsr, ftsr; in stm32mp_exti_set_type() local 388 ftsr = readl_relaxed(base + bank->ftsr_ofst); in stm32mp_exti_set_type() 390 err = stm32mp_exti_convert_type(d, type, &rtsr, &ftsr); in stm32mp_exti_set_type() 393 writel_relaxed(ftsr, base + bank->ftsr_ofst); in stm32mp_exti_set_type()
|