Home
last modified time | relevance | path

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

/arch/arm/mach-at91/
Dgpio.c70 int __init_or_module at91_set_GPIO_periph(unsigned pin, int use_pullup) in at91_set_GPIO_periph() argument
78 __raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR)); in at91_set_GPIO_periph()
88 int __init_or_module at91_set_A_periph(unsigned pin, int use_pullup) in at91_set_A_periph() argument
97 __raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR)); in at91_set_A_periph()
108 int __init_or_module at91_set_B_periph(unsigned pin, int use_pullup) in at91_set_B_periph() argument
117 __raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR)); in at91_set_B_periph()
129 int __init_or_module at91_set_gpio_input(unsigned pin, int use_pullup) in at91_set_gpio_input() argument
138 __raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR)); in at91_set_gpio_input()
/arch/arm/mach-at91/include/mach/
Dgpio.h192 extern int __init_or_module at91_set_GPIO_periph(unsigned pin, int use_pullup);
193 extern int __init_or_module at91_set_A_periph(unsigned pin, int use_pullup);
194 extern int __init_or_module at91_set_B_periph(unsigned pin, int use_pullup);
195 extern int __init_or_module at91_set_gpio_input(unsigned pin, int use_pullup);