bcm_gpio_pin_setflags
bcm_gpio_pin_setflags(dev, pin, 0);
bcm_gpio_pin_setflags(dev, pin, GPIO_PIN_PULLUP);
bcm_gpio_pin_setflags(dev, pin, GPIO_PIN_PULLDOWN);
DEVMETHOD(gpio_pin_setflags, bcm_gpio_pin_setflags),