Searched refs:GPIO_BIT_MASK (Results 1 – 2 of 2) sorted by relevance
203 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()
122 #define GPIO_BIT_MASK(K) ((K) & 0x1F) macro123 #define GPIO_BIT(K) (1 << GPIO_BIT_MASK(K))