/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 | 147 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/ |
D | rtl8188eu_xmit.c | 177 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/ |
D | pinctrl-nomadik.c | 191 #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/ |
D | pinctrl-baytrail.c | 348 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()
|
D | pinctrl-bcm2835.c | 676 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()
|
D | pinctrl-rockchip.c | 719 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 …]
|
D | Kconfig | 47 functionality. This driver supports the pinmux, push-pull and 203 functionality. This driver supports the pinmux, push-pull and
|
/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/char/ |
D | random.c | 425 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/ |
D | pinctrl-sunxi.c | 230 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/ |
D | nv98.fuc | 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/qcom/ |
D | pinctrl-msm.c | 494 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()
|
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-msm8x74.c | 376 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 387 .pull_bit = pull, \
|
D | pinctrl-apq8084.c | 381 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 392 .pull_bit = pull, \
|
D | pinctrl-msm8960.c | 394 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 405 .pull_bit = pull, \
|