Searched refs:AU1300_GPIO_BASE (Results 1 – 3 of 3) sorted by relevance
22 #define AU1300_GPIO_BASE 0 macro24 #define AU1300_GPIO_MAX (AU1300_GPIO_BASE + AU1300_GPIO_NUM - 1)34 gpio -= AU1300_GPIO_BASE; in au1300_gpio_get_value()45 gpio -= AU1300_GPIO_BASE; in au1300_gpio_direction_input()60 gpio -= AU1300_GPIO_BASE; in au1300_gpio_set_value()79 return AU1300_FIRST_INT + (gpio - AU1300_GPIO_BASE); in au1300_gpio_to_irq()84 return (irq - AU1300_FIRST_INT) + AU1300_GPIO_BASE; in au1300_irq_to_gpio()93 ret = ((gpio >= AU1300_GPIO_BASE) && (gpio <= AU1300_GPIO_MAX)); in au1300_gpio_is_valid()
119 return !!au1300_gpio_get_value(off + AU1300_GPIO_BASE); in alchemy_gpic_get()124 au1300_gpio_set_value(off + AU1300_GPIO_BASE, v); in alchemy_gpic_set()129 return au1300_gpio_direction_input(off + AU1300_GPIO_BASE); in alchemy_gpic_dir_input()135 return au1300_gpio_direction_output(off + AU1300_GPIO_BASE, v); in alchemy_gpic_dir_output()140 return au1300_gpio_to_irq(off + AU1300_GPIO_BASE); in alchemy_gpic_gpio_to_irq()150 .base = AU1300_GPIO_BASE,
538 au1300_gpio_direction_input(gpio + AU1300_GPIO_BASE); in au1300_pinfunc_to_gpio()