Home
last modified time | relevance | path

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

/linux-6.1.9/arch/mips/include/asm/mach-au1x00/
Dgpio-au1000.h17 #define ALCHEMY_GPIO1_BASE 0 macro
22 #define ALCHEMY_GPIO1_MAX (ALCHEMY_GPIO1_BASE + ALCHEMY_GPIO1_NUM - 1)
47 return MAKE_IRQ(1, gpio - ALCHEMY_GPIO1_BASE); in au1000_gpio1_to_irq()
58 return ALCHEMY_GPIO1_BASE + (irq - AU1000_GPIO0_INT) + 0; in au1000_irq_to_gpio()
65 gpio -= ALCHEMY_GPIO1_BASE; in au1500_gpio1_to_irq()
95 return ALCHEMY_GPIO1_BASE + (irq - AU1500_GPIO0_INT) + 0; in au1500_irq_to_gpio()
111 return MAKE_IRQ(1, gpio - ALCHEMY_GPIO1_BASE); in au1100_gpio1_to_irq()
128 return ALCHEMY_GPIO1_BASE + (irq - AU1100_GPIO0_INT) + 0; in au1100_irq_to_gpio()
138 gpio -= ALCHEMY_GPIO1_BASE; in au1550_gpio1_to_irq()
167 return ALCHEMY_GPIO1_BASE + (irq - AU1550_GPIO0_INT) + 0; in au1550_irq_to_gpio()
[all …]
/linux-6.1.9/arch/mips/alchemy/common/
Dgpiolib.c68 return !!alchemy_gpio1_get_value(offset + ALCHEMY_GPIO1_BASE); in gpio1_get()
74 alchemy_gpio1_set_value(offset + ALCHEMY_GPIO1_BASE, value); in gpio1_set()
79 return alchemy_gpio1_direction_input(offset + ALCHEMY_GPIO1_BASE); in gpio1_direction_input()
85 return alchemy_gpio1_direction_output(offset + ALCHEMY_GPIO1_BASE, in gpio1_direction_output()
91 return alchemy_gpio1_to_irq(offset + ALCHEMY_GPIO1_BASE); in gpio1_to_irq()
102 .base = ALCHEMY_GPIO1_BASE,