Searched refs:GPIO_BIT (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/arm/xscale/pxa/
H A Dpxa_gpio.c226 if (io & GPIO_BIT(gpio))
230 if (io & GPIO_BIT(gpio))
270 bit = GPIO_BIT(gpio);
314 val &= ~GPIO_BIT(gpio);
329 val |= GPIO_BIT(gpio);
H A Dpxareg.h351 #define GPIO_BIT(pin) (1u << ((pin) & 0x1f)) macro
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_gpio.c75 #define GPIO_BIT(n) ((n) % GPIO_PINS_IN_REG) macro
156 bit = GPIO_BIT(pin->gp_pin);
168 bit = GPIO_BIT(pin->gp_pin);
348 bit = GPIO_BIT(tgi->irq);
361 bit = GPIO_BIT(tgi->irq);

Completed in 167 milliseconds