Home | History | Annotate | Download | only in sunxi

Lines Matching defs:bias

734 	int bias;
736 bias = fdtbus_pinctrl_parse_bias(phandle, NULL);
737 if (bias != -1)
738 return bias;
743 bias = 0;
746 bias = GPIO_PIN_PULLUP;
749 bias = GPIO_PIN_PULLDOWN;
754 return bias;
820 aprint_debug_dev(sc->sc_dev, "set io bias config for port %d to 0x%x\n",
844 * Optional: bias, drive strength
854 const int bias = sunxi_pinctrl_parse_bias(phandle);
869 if (bias != -1)
870 sunxi_gpio_setpull(sc, pin_def, bias);