Searched refs:irq_to_gpio (Results 1 – 10 of 10) sorted by relevance
26 #define irq_to_gpio(x) ((x) - GPIO_IRQ_BASE) macro60 unsigned int gpio = irq_to_gpio(d->irq); in gpio_ack_irq()68 unsigned int gpio = irq_to_gpio(d->irq); in gpio_mask_irq()76 unsigned int gpio = irq_to_gpio(d->irq); in gpio_unmask_irq()84 unsigned int gpio = irq_to_gpio(d->irq); in gpio_set_irq_type()
47 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
40 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
705 set_gpio_data(irq_to_gpio(d->irq), 0); in bfin_gpio_ack_irq()711 u32 gpionr = irq_to_gpio(irq); in bfin_gpio_mask_ack_irq()721 set_gpio_maska(irq_to_gpio(d->irq), 0); in bfin_gpio_mask_irq()726 set_gpio_maska(irq_to_gpio(d->irq), 1); in bfin_gpio_unmask_irq()731 u32 gpionr = irq_to_gpio(d->irq); in bfin_gpio_irq_startup()743 u32 gpionr = irq_to_gpio(d->irq); in bfin_gpio_irq_shutdown()755 u32 gpionr = irq_to_gpio(irq); in bfin_gpio_irq_type()816 gpio = irq_to_gpio(irq); in bfin_demux_gpio_block()882 return bfin_gpio_pm_wakeup_ctrl(irq_to_gpio(d->irq), state); in bfin_gpio_set_wake()
96 static inline unsigned irq_to_gpio(unsigned irq) in irq_to_gpio() function
77 static inline int irq_to_gpio(unsigned irq) in irq_to_gpio() function
182 static inline int irq_to_gpio(unsigned irq) in irq_to_gpio() function
199 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
255 unsigned gpio = irq_to_gpio(d->irq); in gpio_irq_mask()263 unsigned gpio = irq_to_gpio(d->irq); in gpio_irq_unmask()
273 #define IRQ_TO_BIT(irq) BIT(irq_to_gpio(irq) & 0x1f)