Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-pnx4008/
Dgpio.c203 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_read_pin()
230 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_write_pin()
257 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_set_pin_direction()
273 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_read_pin_direction()
290 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_set_pin_mux()
314 int gpio = GPIO_BIT_MASK(pin); in pnx4008_gpio_read_pin_mux()
/linux-2.6.39/arch/arm/mach-pnx4008/include/mach/
Dgpio.h122 #define GPIO_BIT_MASK(K) ((K) & 0x1F) macro
123 #define GPIO_BIT(K) (1 << GPIO_BIT_MASK(K))