Home
last modified time | relevance | path

Searched refs:pull (Results 1 – 25 of 42) sorted by relevance

12

/drivers/pinctrl/nxp/
A Dpinctrl-mxs.c65 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 Dpinctrl-tegra20.c17 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 Dpinctrl-rk3066.c56 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 Dpinctrl-rk3036.c57 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 Dpinctrl-rk3188.c75 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 Dpinctrl-rk3128.c147 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 Dpinctrl-rk3368.c67 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 Dpinctrl-rk3288.c93 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 Dpinctrl-rk322x.c187 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 Dpinctrl-rk3528.c129 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 Dpinctrl-rk3399.c109 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 Dpinctrl-rv1108.c133 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 Dpinctrl-rk3576.c148 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 Dpinctrl-px30.c130 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 Dpinctrl-rk3328.c215 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 Dpinctrl-rk3308.c298 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 Dpinctrl-rv1126.c223 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 Dpinctrl-sm8550.c22 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument
27 .pull_bit = pull, \
A Dpinctrl-sm8650.c23 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument
28 .pull_bit = pull, \
A Dpinctrl-x1e80100.c26 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument
31 .pull_bit = pull, \
A Dpinctrl-sc7280.c25 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
30 .pull_bit = pull, \
A Dpinctrl-sdm660.c144 #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ argument
149 .pull_bit = pull, \
/drivers/gpio/
A Dsunxi_gpio.c298 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 Ds5p_gpio.c29 #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 DKconfig21 peripherals supporting inputs, outputs, configuring pull-up/pull-down

Completed in 34 milliseconds

12