Home
last modified time | relevance | path

Searched refs:irq_to_gpio (Results 1 – 10 of 10) sorted by relevance

/arch/arm/mach-gemini/
Dgpio.c26 #define irq_to_gpio(x) ((x) - GPIO_IRQ_BASE) macro
60 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()
/arch/sh/include/asm/
Dgpio.h47 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
/arch/avr32/mach-at32ap/include/mach/
Dgpio.h40 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
/arch/blackfin/mach-common/
Dints-priority.c705 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()
/arch/unicore32/include/asm/
Dgpio.h96 static inline unsigned irq_to_gpio(unsigned irq) in irq_to_gpio() function
/arch/m68k/include/asm/
Dgpio.h77 static inline int irq_to_gpio(unsigned irq) in irq_to_gpio() function
/arch/blackfin/include/asm/
Dgpio.h182 static inline int irq_to_gpio(unsigned irq) in irq_to_gpio() function
/arch/mips/include/asm/mach-au1x00/
Dgpio-au1300.h199 static inline int irq_to_gpio(unsigned int irq) in irq_to_gpio() function
/arch/avr32/mach-at32ap/
Dpio.c255 unsigned gpio = irq_to_gpio(d->irq); in gpio_irq_mask()
263 unsigned gpio = irq_to_gpio(d->irq); in gpio_irq_unmask()
/arch/mips/jz4740/
Dgpio.c273 #define IRQ_TO_BIT(irq) BIT(irq_to_gpio(irq) & 0x1f)