/drivers/gpio/ |
D | gpio-wm831x.c | 163 const char *label, *pull, *powerdomain; in wm831x_gpio_dbg_show() local 187 pull = "nopull"; in wm831x_gpio_dbg_show() 190 pull = "pulldown"; in wm831x_gpio_dbg_show() 193 pull = "pullup"; in wm831x_gpio_dbg_show() 196 pull = "INVALID PULL"; in wm831x_gpio_dbg_show() 234 pull, in wm831x_gpio_dbg_show()
|
D | gpio-mockup.c | 45 int pull; member 187 chip->lines[offset].pull = value; in gpio_mockup_apply_pull() 255 __gpio_mockup_set(chip, offset, chip->lines[offset].pull); in gpio_mockup_free()
|
/drivers/mfd/ |
D | wm8350-gpio.c | 184 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument 187 if (pull == WM8350_GPIO_PULL_NONE) { in wm8350_gpio_config() 192 } else if (pull == WM8350_GPIO_PULL_UP) { in wm8350_gpio_config() 197 } else if (pull == WM8350_GPIO_PULL_DOWN) { in wm8350_gpio_config()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-lpass-lpi.c | 357 int pull; in lpi_config_get() local 362 pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); in lpi_config_get() 366 if (pull == LPI_GPIO_BIAS_DISABLE) in lpi_config_get() 370 if (pull == LPI_GPIO_PULL_DOWN) in lpi_config_get() 374 if (pull == LPI_GPIO_KEEPER) in lpi_config_get() 378 if (pull == LPI_GPIO_PULL_UP) in lpi_config_get() 545 int pull; in lpi_gpio_dbg_show_one() local 562 pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); in lpi_gpio_dbg_show_one() 566 seq_printf(s, " %s", pulls[pull]); in lpi_gpio_dbg_show_one()
|
D | pinctrl-msm.c | 605 int pull; in msm_gpio_dbg_show_one() local 632 pull = (ctl_reg >> g->pull_bit) & 3; in msm_gpio_dbg_show_one() 643 seq_printf(s, " %s", pulls_no_keeper[pull]); in msm_gpio_dbg_show_one() 645 seq_printf(s, " %s", pulls_keeper[pull]); in msm_gpio_dbg_show_one()
|
D | pinctrl-ipq8064.c | 212 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 223 .pull_bit = pull, \
|
D | pinctrl-apq8064.c | 260 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 271 .pull_bit = pull, \
|
D | pinctrl-msm8226.c | 310 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 321 .pull_bit = pull, \
|
D | pinctrl-mdm9607.c | 253 #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ argument 264 .pull_bit = pull, \
|
/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.c | 236 u32 pin, u32 pull, in wmt_pctl_dt_node_to_map_pull() argument 243 if (pull > 2) { in wmt_pctl_dt_node_to_map_pull() 244 dev_err(data->dev, "invalid wm,pull %d\n", pull); in wmt_pctl_dt_node_to_map_pull() 258 switch (pull) { in wmt_pctl_dt_node_to_map_pull() 270 dev_err(data->dev, "invalid pull state %d - disabling\n", pull); in wmt_pctl_dt_node_to_map_pull() 302 u32 pin, func, pull; in wmt_pctl_dt_node_to_map() local 377 (num_pulls > 1 ? i : 0), &pull); in wmt_pctl_dt_node_to_map() 381 err = wmt_pctl_dt_node_to_map_pull(data, np, pin, pull, in wmt_pctl_dt_node_to_map()
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_xmit.c | 161 int pull = 0; in update_txdesc() local 174 pull = 1; in update_txdesc() 193 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc() 328 return pull; in update_txdesc() 336 int t, sz, w_sz, pull = 0; in rtw_dump_xframe() local 363 pull = update_txdesc(pxmitframe, mem_addr, sz, false); in rtw_dump_xframe() 365 if (pull) { in rtw_dump_xframe()
|
/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.c | 188 #define PIN_CFG_INPUT(num, alt, pull) \ argument 190 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull)) 315 unsigned offset, enum nmk_gpio_pull pull) in __nmk_gpio_set_pull() argument 320 if (pull == NMK_GPIO_PULL_NONE) { in __nmk_gpio_set_pull() 329 if (pull == NMK_GPIO_PULL_UP) { in __nmk_gpio_set_pull() 332 } else if (pull == NMK_GPIO_PULL_DOWN) { in __nmk_gpio_set_pull() 923 bool pull; in nmk_gpio_dbg_show_one() local 937 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & BIT(offset)); in nmk_gpio_dbg_show_one() 951 const int pullidx = pull ? 1 : 0; in nmk_gpio_dbg_show_one() 1702 int pull, slpm, output, val, i; in nmk_pin_config_set() local [all …]
|
/drivers/pinctrl/bcm/ |
D | Kconfig | 123 as bias pull up, pull down, and drive strength configurations, when 172 as bias pull up, pull down, and drive strength configurations, when
|
D | pinctrl-bcm2835.c | 753 struct device_node *np, u32 pin, u32 pull, in bcm2835_pctl_dt_node_to_map_pull() argument 759 if (pull > 2) { in bcm2835_pctl_dt_node_to_map_pull() 760 dev_err(pc->dev, "%pOF: invalid brcm,pull %d\n", np, pull); in bcm2835_pctl_dt_node_to_map_pull() 767 configs[0] = pinconf_to_config_packed(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull() 787 u32 pin, func, pull; in bcm2835_pctl_dt_node_to_map() local 862 (num_pulls > 1) ? i : 0, &pull); in bcm2835_pctl_dt_node_to_map() 866 pull, &cur_map); in bcm2835_pctl_dt_node_to_map()
|
/drivers/pinctrl/intel/ |
D | pinctrl-baytrail.c | 905 u32 conf, pull, val, debounce; in byt_pin_config_get() local 910 pull = conf & BYT_PULL_ASSIGN_MASK; in byt_pin_config_get() 916 if (pull) in byt_pin_config_get() 921 if ((val & BYT_INPUT_EN) || pull != BYT_PULL_ASSIGN_DOWN) in byt_pin_config_get() 929 if ((val & BYT_INPUT_EN) || pull != BYT_PULL_ASSIGN_UP) in byt_pin_config_get() 1238 const char *pull = NULL; in byt_gpio_dbg_show() local 1278 pull = "up"; in byt_gpio_dbg_show() 1281 pull = "down"; in byt_gpio_dbg_show() 1313 if (pull && pull_str) in byt_gpio_dbg_show() 1314 seq_printf(s, " %-4s %-3s", pull, pull_str); in byt_gpio_dbg_show()
|
D | pinctrl-lynxpoint.c | 498 u32 value, pull; in lp_pin_config_get() local 505 pull = value & GPIWP_MASK; in lp_pin_config_get() 509 if (pull != GPIWP_NONE) in lp_pin_config_get() 514 if (pull != GPIWP_DOWN) in lp_pin_config_get() 520 if (pull != GPIWP_UP) in lp_pin_config_get()
|
D | pinctrl-cherryview.c | 981 u32 ctrl0, pull; in chv_config_set_pull() local 997 pull = CHV_PADCTRL0_TERM_1K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1000 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1003 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1010 ctrl0 |= CHV_PADCTRL0_TERM_UP | pull; in chv_config_set_pull() 1018 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1021 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; in chv_config_set_pull() 1028 ctrl0 |= pull; in chv_config_set_pull()
|
/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 260 u8 ma, vol, pull, bank, shift; in mxs_pinconf_group_set() local 271 pull = CONFIG_TO_PULL(config); in mxs_pinconf_group_set() 298 reg = d->base + d->soc->regs->pull; in mxs_pinconf_group_set() 301 if (pull) in mxs_pinconf_group_set()
|
D | pinctrl-mxs.h | 68 u16 pull; member
|
D | pinctrl-imx23.c | 256 .pull = 0x400,
|
/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 491 u32 pull, drive, l1mux; in rzn1_pinconf_get() local 500 pull = (l1 >> RZN1_L1_PIN_PULL) & 0x3; in rzn1_pinconf_get() 505 if (pull != RZN1_L1_PIN_PULL_UP) in rzn1_pinconf_get() 509 if (pull != RZN1_L1_PIN_PULL_DOWN) in rzn1_pinconf_get() 513 if (pull != RZN1_L1_PIN_PULL_NONE) in rzn1_pinconf_get()
|
/drivers/pinctrl/ |
D | Kconfig | 52 functionality. This driver supports the pinmux, push-pull and 279 and configuring push-pull, open-drain, and can also be used as 290 function in alternate mode. This driver also configure push-pull, 300 functionality. This driver supports the pinmux, push-pull and 341 such as pull-up, slew rate, etc.
|
D | pinctrl-rockchip.c | 1917 int pin_num, int pull) in rockchip_set_pull() argument 1927 dev_dbg(dev, "setting pull of GPIO%d-%d to %d\n", bank->bank_num, pin_num, pull); in rockchip_set_pull() 1931 return pull ? -EINVAL : 0; in rockchip_set_pull() 1941 if (pull == PIN_CONFIG_BIAS_DISABLE) in rockchip_set_pull() 1957 if (rockchip_pull_list[pull_type][i] == pull) { in rockchip_set_pull() 1972 dev_err(dev, "unsupported pull setting %d\n", pull); in rockchip_set_pull() 2196 enum pin_config_param pull) in rockchip_pinconf_pull_valid() argument 2201 return (pull == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT || in rockchip_pinconf_pull_valid() 2202 pull == PIN_CONFIG_BIAS_DISABLE); in rockchip_pinconf_pull_valid() 2204 return pull ? false : true; in rockchip_pinconf_pull_valid() [all …]
|
/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 305 int pull = sunxi_pctrl_parse_bias_prop(node); in sunxi_pctrl_build_pin_config() local 307 if (pull < 0) { in sunxi_pctrl_build_pin_config() 308 ret = pull; in sunxi_pctrl_build_pin_config() 312 if (pull != PIN_CONFIG_BIAS_DISABLE) in sunxi_pctrl_build_pin_config() 315 pinconfig[idx++] = pinconf_to_config_packed(pull, arg); in sunxi_pctrl_build_pin_config()
|
/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
|