| /drivers/pinctrl/nxp/ |
| A D | pinctrl-mxs.c | 65 u32 *pin_data, val, ma, vol, pull; in mxs_pinctrl_set_state() local 98 pull = CFG_TO_PULL(config); in mxs_pinctrl_set_state() 114 debug(" ma: %d, vol: %d, pull: %d\n", ma, vol, pull); in mxs_pinctrl_set_state() 137 reg = iomux->base + iomux->regs->pull; in mxs_pinctrl_set_state() 140 if (pull) in mxs_pinctrl_set_state() 168 .pull = 0x400, 174 .pull = 0x600,
|
| /drivers/pinctrl/tegra/ |
| A D | pinctrl-tegra20.c | 17 int pull, tristate; in tegra_pinctrl_set_pin() local 20 ret = dev_read_u32(config, "nvidia,pull", &pull); in tegra_pinctrl_set_pin() 22 pull = ret; in tegra_pinctrl_set_pin() 45 if (pull >= 0) in tegra_pinctrl_set_pin() 46 pinmux_set_pullupdown(pin_id, pull); in tegra_pinctrl_set_pin()
|
| /drivers/pinctrl/rockchip/ |
| A D | pinctrl-rk3066.c | 56 int pin_num, int pull) in rk3066_pinctrl_set_pull() argument 63 if (pull != PIN_CONFIG_BIAS_PULL_PIN_DEFAULT && in rk3066_pinctrl_set_pull() 64 pull != PIN_CONFIG_BIAS_DISABLE) in rk3066_pinctrl_set_pull() 69 if (pull == PIN_CONFIG_BIAS_DISABLE) in rk3066_pinctrl_set_pull()
|
| A D | pinctrl-rk3036.c | 57 int pin_num, int pull) in rk3036_set_pull() argument 64 if (pull != PIN_CONFIG_BIAS_PULL_PIN_DEFAULT && in rk3036_set_pull() 65 pull != PIN_CONFIG_BIAS_DISABLE) in rk3036_set_pull() 70 if (pull == PIN_CONFIG_BIAS_DISABLE) in rk3036_set_pull()
|
| A D | pinctrl-rk3188.c | 75 int pin_num, int pull) in rk3188_set_pull() argument 82 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3188_set_pull() 87 ret = rockchip_translate_pull_value(type, pull); in rk3188_set_pull() 89 debug("unsupported pull setting %d\n", pull); in rk3188_set_pull()
|
| A D | pinctrl-rk3128.c | 147 int pin_num, int pull) in rk3128_set_pull() argument 154 if (pull != PIN_CONFIG_BIAS_PULL_PIN_DEFAULT && in rk3128_set_pull() 155 pull != PIN_CONFIG_BIAS_DISABLE) in rk3128_set_pull() 160 if (pull == PIN_CONFIG_BIAS_DISABLE) in rk3128_set_pull()
|
| A D | pinctrl-rk3368.c | 67 int pin_num, int pull) in rk3368_set_pull() argument 74 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3368_set_pull() 79 ret = rockchip_translate_pull_value(type, pull); in rk3368_set_pull() 81 debug("unsupported pull setting %d\n", pull); in rk3368_set_pull()
|
| A D | pinctrl-rk3288.c | 93 int pin_num, int pull) in rk3288_set_pull() argument 100 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3288_set_pull() 105 ret = rockchip_translate_pull_value(type, pull); in rk3288_set_pull() 107 debug("unsupported pull setting %d\n", pull); in rk3288_set_pull()
|
| A D | pinctrl-rk322x.c | 187 int pin_num, int pull) in rk3228_set_pull() argument 194 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3228_set_pull() 199 ret = rockchip_translate_pull_value(type, pull); in rk3228_set_pull() 201 debug("unsupported pull setting %d\n", pull); in rk3228_set_pull()
|
| A D | pinctrl-rk3528.c | 129 int pin_num, int pull) in rk3528_set_pull() argument 136 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3528_set_pull() 141 ret = rockchip_translate_pull_value(type, pull); in rk3528_set_pull() 143 debug("unsupported pull setting %d\n", pull); in rk3528_set_pull()
|
| A D | pinctrl-rk3399.c | 109 int pin_num, int pull) in rk3399_set_pull() argument 116 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3399_set_pull() 121 ret = rockchip_translate_pull_value(type, pull); in rk3399_set_pull() 123 debug("unsupported pull setting %d\n", pull); in rk3399_set_pull()
|
| A D | pinctrl-rv1108.c | 133 int pin_num, int pull) in rv1108_set_pull() argument 140 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rv1108_set_pull() 145 ret = rockchip_translate_pull_value(type, pull); in rv1108_set_pull() 147 debug("unsupported pull setting %d\n", pull); in rv1108_set_pull()
|
| A D | pinctrl-rk3576.c | 148 int pin_num, int pull) in rk3576_set_pull() argument 155 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3576_set_pull() 160 ret = rockchip_translate_pull_value(type, pull); in rk3576_set_pull() 162 debug("unsupported pull setting %d\n", pull); in rk3576_set_pull()
|
| A D | pinctrl-px30.c | 130 int pin_num, int pull) in px30_set_pull() argument 137 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in px30_set_pull() 142 ret = rockchip_translate_pull_value(type, pull); in px30_set_pull() 144 debug("unsupported pull setting %d\n", pull); in px30_set_pull()
|
| A D | pinctrl-rk3328.c | 215 int pin_num, int pull) in rk3328_set_pull() argument 222 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3328_set_pull() 227 ret = rockchip_translate_pull_value(type, pull); in rk3328_set_pull() 229 debug("unsupported pull setting %d\n", pull); in rk3328_set_pull()
|
| A D | pinctrl-rk3308.c | 298 int pin_num, int pull) in rk3308_set_pull() argument 305 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rk3308_set_pull() 310 ret = rockchip_translate_pull_value(type, pull); in rk3308_set_pull() 312 debug("unsupported pull setting %d\n", pull); in rk3308_set_pull()
|
| A D | pinctrl-rv1126.c | 223 int pin_num, int pull) in rv1126_set_pull() argument 230 if (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) in rv1126_set_pull() 235 ret = rockchip_translate_pull_value(type, pull); in rv1126_set_pull() 237 debug("unsupported pull setting %d\n", pull); in rv1126_set_pull()
|
| /drivers/pinctrl/qcom/ |
| A D | pinctrl-sm8550.c | 22 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument 27 .pull_bit = pull, \
|
| A D | pinctrl-sm8650.c | 23 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument 28 .pull_bit = pull, \
|
| A D | pinctrl-x1e80100.c | 26 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument 31 .pull_bit = pull, \
|
| A D | pinctrl-sc7280.c | 25 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 30 .pull_bit = pull, \
|
| A D | pinctrl-sdm660.c | 144 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument 149 .pull_bit = pull, \
|
| /drivers/gpio/ |
| A D | sunxi_gpio.c | 298 u32 pull = 0; in sunxi_gpio_set_flags() local 301 pull = 1; in sunxi_gpio_set_flags() 303 pull = 2; in sunxi_gpio_set_flags() 304 sunxi_gpio_set_pull_bank(plat->regs, offset, pull); in sunxi_gpio_set_flags()
|
| A D | s5p_gpio.c | 29 #define PULL_MODE(gpio, pull) ((pull) << ((gpio) << 1)) argument 127 value = readl(&bank->pull); in s5p_gpio_set_pull() 139 writel(value, &bank->pull); in s5p_gpio_set_pull()
|
| /drivers/pinctrl/starfive/ |
| A D | Kconfig | 21 peripherals supporting inputs, outputs, configuring pull-up/pull-down
|