Lines Matching defs:pull
135 * @regmap_pull: optional separate register for additional pull settings
145 * @pull_type: array describing the 4 pull type sources of the bank
1491 /* correct the offset, as it is the 2nd pull register */
2053 * In the TRM, pull-up being 1 for everything except the GPIO0_D3-D6,
2054 * where that pull up value becomes 3.
2069 int pin_num, int pull)
2078 dev_dbg(info->dev, "setting pull of GPIO%d-%d to %d\n",
2079 bank->bank_num, pin_num, pull);
2083 return pull ? -EINVAL : 0;
2091 if (pull == PIN_CONFIG_BIAS_DISABLE)
2107 if (rockchip_pull_list[pull_type][i] == pull) {
2113 * In the TRM, pull-up being 1 for everything except the GPIO0_D3-D6,
2114 * where that pull up value becomes 3.
2122 dev_err(info->dev, "unsupported pull setting %d\n",
2123 pull);
2407 enum pin_config_param pull)
2412 return (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT ||
2413 pull == PIN_CONFIG_BIAS_DISABLE);
2415 return pull ? false : true;
2424 return (pull != PIN_CONFIG_BIAS_PULL_PIN_DEFAULT);
3307 * special case, where parts of the pull setting-registers are
3328 "rockchip,rk3188-gpio-bank0-pull";
3576 /* Honor the old binding, with pull registers as 2nd resource */
3585 rockchip_regmap_config.name = "rockchip,pinctrl-pull";