/drivers/gpio/ |
D | gpio-samsung.c | 44 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 …]
|
D | gpio-wm831x.c | 150 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()
|
D | gpio-vr41xx.c | 381 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/ |
D | wm8350-gpio.c | 189 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/ |
D | pinctrl-wmt.c | 245 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/ |
D | rtl8723au_xmit.c | 135 int pull = 0; in update_txdesc() local 148 pull = 1; in update_txdesc() 284 return pull; in update_txdesc() 292 int t, sz, w_sz, pull = 0; in rtw_dump_xframe() local 324 pull = update_txdesc(pxmitframe, mem_addr, sz); in rtw_dump_xframe() 326 if (pull) { in rtw_dump_xframe()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 178 int pull = 0; in update_txdesc() local 192 pull = 1; in update_txdesc() 211 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc() 345 return pull; in update_txdesc() 353 int t, sz, w_sz, pull = 0; in rtw_dump_xframe() local 384 pull = update_txdesc(pxmitframe, mem_addr, sz, false); in rtw_dump_xframe() 386 if (pull) { in rtw_dump_xframe()
|
/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.c | 191 #define PIN_CFG_INPUT(num, alt, pull) \ argument 193 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull)) 323 unsigned offset, enum nmk_gpio_pull pull) in __nmk_gpio_set_pull() argument 329 if (pull == NMK_GPIO_PULL_NONE) { in __nmk_gpio_set_pull() 338 if (pull == NMK_GPIO_PULL_UP) { in __nmk_gpio_set_pull() 341 } else if (pull == NMK_GPIO_PULL_DOWN) { in __nmk_gpio_set_pull() 959 bool pull; in nmk_gpio_dbg_show_one() local 979 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & bit); in nmk_gpio_dbg_show_one() 997 if (pull) in nmk_gpio_dbg_show_one() 1849 int pull, slpm, output, val, i; in nmk_pin_config_set() local [all …]
|
/drivers/pinctrl/bcm/ |
D | Kconfig | 39 as bias pull up, pull down, and drive strength configurations, when
|
D | pinctrl-bcm2835.c | 677 struct device_node *np, u32 pin, u32 pull, in bcm2835_pctl_dt_node_to_map_pull() argument 683 if (pull > 2) { in bcm2835_pctl_dt_node_to_map_pull() 685 of_node_full_name(np), pull); in bcm2835_pctl_dt_node_to_map_pull() 692 configs[0] = BCM2835_PINCONF_PACK(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull() 712 u32 pin, func, pull; in bcm2835_pctl_dt_node_to_map() local 782 (num_pulls > 1) ? i : 0, &pull); in bcm2835_pctl_dt_node_to_map() 786 pull, &cur_map); in bcm2835_pctl_dt_node_to_map()
|
/drivers/pinctrl/intel/ |
D | pinctrl-baytrail.c | 365 const char *pull = NULL; in byt_gpio_dbg_show() local 381 pull = "up"; in byt_gpio_dbg_show() 384 pull = "down"; in byt_gpio_dbg_show() 416 if (pull && pull_str) in byt_gpio_dbg_show() 417 seq_printf(s, " %-4s %-3s", pull, pull_str); in byt_gpio_dbg_show()
|
D | pinctrl-cherryview.c | 1052 u32 ctrl0, pull; in chv_config_set_pull() local 1068 pull = CHV_PADCTRL0_TERM_1K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1071 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1074 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1081 ctrl0 |= CHV_PADCTRL0_TERM_UP | pull; in chv_config_set_pull() 1089 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1092 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1099 ctrl0 |= pull; in chv_config_set_pull()
|
/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 268 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()
|
D | pinctrl-mxs.h | 74 u16 pull; member
|
D | pinctrl-imx23.c | 261 .pull = 0x400,
|
D | pinctrl-imx28.c | 377 .pull = 0x600,
|
/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 793 int pin_num, int pull) in rockchip_set_pull() argument 804 bank->bank_num, pin_num, pull); in rockchip_set_pull() 808 return pull ? -EINVAL : 0; in rockchip_set_pull() 817 if (pull == PIN_CONFIG_BIAS_DISABLE) in rockchip_set_pull() 832 switch (pull) { in rockchip_set_pull() 847 pull); in rockchip_set_pull() 995 enum pin_config_param pull) in rockchip_pinconf_pull_valid() argument 999 return (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT || in rockchip_pinconf_pull_valid() 1000 pull == PIN_CONFIG_BIAS_DISABLE); in rockchip_pinconf_pull_valid() 1002 return pull ? false : true; in rockchip_pinconf_pull_valid() [all …]
|
D | Kconfig | 45 functionality. This driver supports the pinmux, push-pull and 238 functionality. This driver supports the pinmux, push-pull and
|
/drivers/char/ |
D | random.c | 428 struct entropy_store *pull; member 461 .pull = &input_pool, 471 .pull = &input_pool, 985 if (!r->pull || in xfer_secondary_pool() 1016 ENTROPY_BITS(r), ENTROPY_BITS(r->pull)); in _xfer_secondary_pool() 1017 bytes = extract_entropy(r->pull, tmp, bytes, in _xfer_secondary_pool() 1036 r->pull->entropy_count >> ENTROPY_SHIFT); in push_to_pool()
|
/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 359 // 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/sunxi/ |
D | pinctrl-sunxi.c | 231 enum pin_config_param pull = PIN_CONFIG_END; in sunxi_pctrl_dt_node_to_map() local 233 pull = PIN_CONFIG_BIAS_PULL_UP; in sunxi_pctrl_dt_node_to_map() 235 pull = PIN_CONFIG_BIAS_PULL_DOWN; in sunxi_pctrl_dt_node_to_map() 236 pinconfig[j++] = pinconf_to_config_packed(pull, 0); in sunxi_pctrl_dt_node_to_map()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 475 int pull; in msm_gpio_dbg_show_one() local 491 pull = (ctl_reg >> g->pull_bit) & 3; in msm_gpio_dbg_show_one() 495 seq_printf(s, " %s", pulls[pull]); in msm_gpio_dbg_show_one()
|
D | pinctrl-ipq8064.c | 221 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 232 .pull_bit = pull, \
|
D | pinctrl-apq8064.c | 268 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 279 .pull_bit = pull, \
|
D | pinctrl-msm8916.c | 343 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 354 .pull_bit = pull, \
|