Home
last modified time | relevance | path

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

12

/drivers/gpio/
Dgpio-samsung.c44 unsigned int off, samsung_gpio_pull_t pull) in samsung_gpio_setpull_updown() argument
52 pup |= pull << shift; in samsung_gpio_setpull_updown()
72 unsigned int off, samsung_gpio_pull_t pull) in s3c2443_gpio_setpull() argument
74 switch (pull) { in s3c2443_gpio_setpull()
76 pull = 0x01; in s3c2443_gpio_setpull()
79 pull = 0x00; in s3c2443_gpio_setpull()
82 pull = 0x02; in s3c2443_gpio_setpull()
85 return samsung_gpio_setpull_updown(chip, off, pull); in s3c2443_gpio_setpull()
91 samsung_gpio_pull_t pull; in s3c2443_gpio_getpull() local
93 pull = samsung_gpio_getpull_updown(chip, off); in s3c2443_gpio_getpull()
[all …]
Dgpio-wm831x.c150 const char *label, *pull, *powerdomain; in wm831x_gpio_dbg_show() local
174 pull = "nopull"; in wm831x_gpio_dbg_show()
177 pull = "pulldown"; in wm831x_gpio_dbg_show()
180 pull = "pullup"; in wm831x_gpio_dbg_show()
183 pull = "INVALID PULL"; in wm831x_gpio_dbg_show()
221 pull, in wm831x_gpio_dbg_show()
Dgpio-vr41xx.c381 int vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull) in vr41xx_gpio_pullupdown() argument
396 if (pull == GPIO_PULL_UP || pull == GPIO_PULL_DOWN) { in vr41xx_gpio_pullupdown()
398 if (pull == GPIO_PULL_UP) in vr41xx_gpio_pullupdown()
/drivers/mfd/
Dwm8350-gpio.c189 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument
192 if (pull == WM8350_GPIO_PULL_NONE) { in wm8350_gpio_config()
197 } else if (pull == WM8350_GPIO_PULL_UP) { in wm8350_gpio_config()
202 } else if (pull == WM8350_GPIO_PULL_DOWN) { in wm8350_gpio_config()
/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c245 u32 pin, u32 pull, in wmt_pctl_dt_node_to_map_pull() argument
252 if (pull > 2) { in wmt_pctl_dt_node_to_map_pull()
253 dev_err(data->dev, "invalid wm,pull %d\n", pull); in wmt_pctl_dt_node_to_map_pull()
267 switch (pull) { in wmt_pctl_dt_node_to_map_pull()
279 dev_err(data->dev, "invalid pull state %d - disabling\n", pull); in wmt_pctl_dt_node_to_map_pull()
311 u32 pin, func, pull; in wmt_pctl_dt_node_to_map() local
386 (num_pulls > 1 ? i : 0), &pull); in wmt_pctl_dt_node_to_map()
390 err = wmt_pctl_dt_node_to_map_pull(data, np, pin, pull, in wmt_pctl_dt_node_to_map()
/drivers/staging/rtl8723au/hal/
Drtl8723au_xmit.c147 int pull = 0; in update_txdesc() local
160 pull = 1; in update_txdesc()
294 return pull; in update_txdesc()
302 int t, sz, w_sz, pull = 0; in rtw_dump_xframe() local
334 pull = update_txdesc(pxmitframe, mem_addr, sz, false); in rtw_dump_xframe()
336 if (pull) { in rtw_dump_xframe()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c177 int pull = 0; in update_txdesc() local
191 pull = 1; in update_txdesc()
210 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc()
344 return pull; in update_txdesc()
352 int t, sz, w_sz, pull = 0; in rtw_dump_xframe() local
383 pull = update_txdesc(pxmitframe, mem_addr, sz, false); in rtw_dump_xframe()
385 if (pull) { in rtw_dump_xframe()
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c191 #define PIN_CFG_INPUT(num, alt, pull) \ argument
193 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
322 unsigned offset, enum nmk_gpio_pull pull) in __nmk_gpio_set_pull() argument
328 if (pull == NMK_GPIO_PULL_NONE) { in __nmk_gpio_set_pull()
337 if (pull == NMK_GPIO_PULL_UP) { in __nmk_gpio_set_pull()
340 } else if (pull == NMK_GPIO_PULL_DOWN) { in __nmk_gpio_set_pull()
990 bool pull; in nmk_gpio_dbg_show_one() local
1010 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & bit); in nmk_gpio_dbg_show_one()
1027 if (pull) in nmk_gpio_dbg_show_one()
1830 int pull, slpm, output, val, i; in nmk_pin_config_set() local
[all …]
/drivers/pinctrl/
Dpinctrl-baytrail.c348 const char *pull = NULL; in byt_gpio_dbg_show() local
360 pull = "up"; in byt_gpio_dbg_show()
363 pull = "down"; in byt_gpio_dbg_show()
395 if (pull && pull_str) in byt_gpio_dbg_show()
396 seq_printf(s, " %-4s %-3s", pull, pull_str); in byt_gpio_dbg_show()
Dpinctrl-bcm2835.c676 struct device_node *np, u32 pin, u32 pull, in bcm2835_pctl_dt_node_to_map_pull() argument
682 if (pull > 2) { in bcm2835_pctl_dt_node_to_map_pull()
684 of_node_full_name(np), pull); in bcm2835_pctl_dt_node_to_map_pull()
691 configs[0] = BCM2835_PINCONF_PACK(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull()
711 u32 pin, func, pull; in bcm2835_pctl_dt_node_to_map() local
781 (num_funcs > 1) ? i : 0, &pull); in bcm2835_pctl_dt_node_to_map()
785 pull, &cur_map); in bcm2835_pctl_dt_node_to_map()
Dpinctrl-rockchip.c719 int pin_num, int pull) in rockchip_set_pull() argument
730 bank->bank_num, pin_num, pull); in rockchip_set_pull()
734 return pull ? -EINVAL : 0; in rockchip_set_pull()
743 if (pull == PIN_CONFIG_BIAS_DISABLE) in rockchip_set_pull()
757 switch (pull) { in rockchip_set_pull()
772 pull); in rockchip_set_pull()
904 enum pin_config_param pull) in rockchip_pinconf_pull_valid() argument
908 return (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT || in rockchip_pinconf_pull_valid()
909 pull == PIN_CONFIG_BIAS_DISABLE); in rockchip_pinconf_pull_valid()
911 return pull ? false : true; in rockchip_pinconf_pull_valid()
[all …]
DKconfig47 functionality. This driver supports the pinmux, push-pull and
203 functionality. This driver supports the pinmux, push-pull and
/drivers/pinctrl/freescale/
Dpinctrl-mxs.c268 u8 ma, vol, pull, bank, shift; in mxs_pinconf_group_set() local
279 pull = CONFIG_TO_PULL(config); in mxs_pinconf_group_set()
306 reg = d->base + d->soc->regs->pull; in mxs_pinconf_group_set()
309 if (pull) in mxs_pinconf_group_set()
Dpinctrl-mxs.h74 u16 pull; member
Dpinctrl-imx23.c261 .pull = 0x400,
Dpinctrl-imx28.c377 .pull = 0x600,
/drivers/char/
Drandom.c425 struct entropy_store *pull; member
458 .pull = &input_pool,
468 .pull = &input_pool,
958 if (!r->pull || in xfer_secondary_pool()
989 ENTROPY_BITS(r), ENTROPY_BITS(r->pull)); in _xfer_secondary_pool()
990 bytes = extract_entropy(r->pull, tmp, bytes, in _xfer_secondary_pool()
1009 r->pull->entropy_count >> ENTROPY_SHIFT); in push_to_pool()
/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c230 enum pin_config_param pull = PIN_CONFIG_END; in sunxi_pctrl_dt_node_to_map() local
232 pull = PIN_CONFIG_BIAS_PULL_UP; in sunxi_pctrl_dt_node_to_map()
234 pull = PIN_CONFIG_BIAS_PULL_DOWN; in sunxi_pctrl_dt_node_to_map()
235 pinconfig[j++] = pinconf_to_config_packed(pull, 0); in sunxi_pctrl_dt_node_to_map()
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/
Dnv98.fuc359 // ok, will need to pull a QUERY object, prepare offsets
369 // pull the first one
385 // ok, we'll need to pull second one too
502 // pull updated IV
/drivers/pinctrl/qcom/
Dpinctrl-msm.c494 int pull; in msm_gpio_dbg_show_one() local
510 pull = (ctl_reg >> g->pull_bit) & 3; in msm_gpio_dbg_show_one()
514 seq_printf(s, " %s", pulls[pull]); in msm_gpio_dbg_show_one()
Dpinctrl-ipq8064.c221 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
232 .pull_bit = pull, \
Dpinctrl-apq8064.c268 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
279 .pull_bit = pull, \
Dpinctrl-msm8x74.c376 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
387 .pull_bit = pull, \
Dpinctrl-apq8084.c381 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
392 .pull_bit = pull, \
Dpinctrl-msm8960.c394 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument
405 .pull_bit = pull, \

12