Searched refs:ALCHEMY_GPIO1_BASE (Results 1 – 2 of 2) sorted by relevance
17 #define ALCHEMY_GPIO1_BASE 0 macro22 #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 …]
71 return alchemy_gpio1_get_value(offset + ALCHEMY_GPIO1_BASE); in gpio1_get()77 alchemy_gpio1_set_value(offset + ALCHEMY_GPIO1_BASE, value); in gpio1_set()82 return alchemy_gpio1_direction_input(offset + ALCHEMY_GPIO1_BASE); in gpio1_direction_input()88 return alchemy_gpio1_direction_output(offset + ALCHEMY_GPIO1_BASE, in gpio1_direction_output()94 return alchemy_gpio1_to_irq(offset + ALCHEMY_GPIO1_BASE); in gpio1_to_irq()105 .base = ALCHEMY_GPIO1_BASE,