Home
last modified time | relevance | path

Searched refs:ALCHEMY_GPIO2_BASE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dgpio-au1000.h18 #define ALCHEMY_GPIO2_BASE 200 macro
78 gpio -= ALCHEMY_GPIO2_BASE; in au1500_gpio2_to_irq()
103 return ALCHEMY_GPIO2_BASE + 8; in au1500_irq_to_gpio()
116 gpio -= ALCHEMY_GPIO2_BASE; in au1100_gpio2_to_irq()
130 return ALCHEMY_GPIO2_BASE + 8; in au1100_irq_to_gpio()
151 gpio -= ALCHEMY_GPIO2_BASE; in au1550_gpio2_to_irq()
187 gpio -= ALCHEMY_GPIO2_BASE; in au1200_gpio2_to_irq()
207 return ALCHEMY_GPIO2_BASE + 3; in au1200_irq_to_gpio()
397 gpio2 -= ALCHEMY_GPIO2_BASE; in alchemy_gpio2_enable_int()
421 gpio2 -= ALCHEMY_GPIO2_BASE; in alchemy_gpio2_disable_int()
[all …]
/openbmc/linux/arch/mips/alchemy/common/
H A Dgpiolib.c40 return !!alchemy_gpio2_get_value(offset + ALCHEMY_GPIO2_BASE); in gpio2_get()
45 alchemy_gpio2_set_value(offset + ALCHEMY_GPIO2_BASE, value); in gpio2_set()
50 return alchemy_gpio2_direction_input(offset + ALCHEMY_GPIO2_BASE); in gpio2_direction_input()
56 return alchemy_gpio2_direction_output(offset + ALCHEMY_GPIO2_BASE, in gpio2_direction_output()
62 return alchemy_gpio2_to_irq(offset + ALCHEMY_GPIO2_BASE); in gpio2_to_irq()
112 .base = ALCHEMY_GPIO2_BASE,