Home
last modified time | relevance | path

Searched refs:pull_up (Results 1 – 9 of 9) sorted by relevance

/drivers/pinctrl/bcm/
Dpinctrl-nsp-gpio.c365 bool pull_up, bool pull_down) in nsp_gpio_set_pull() argument
371 nsp_set_bit(chip, IO_CTRL, NSP_PULL_UP_EN, gpio, pull_up); in nsp_gpio_set_pull()
375 gpio, pull_up, pull_down); in nsp_gpio_set_pull()
380 bool *pull_up, bool *pull_down) in nsp_gpio_get_pull() argument
385 *pull_up = nsp_get_bit(chip, IO_CTRL, NSP_PULL_UP_EN, gpio); in nsp_gpio_get_pull()
467 bool pull_up, pull_down; in nsp_pin_config_get() local
473 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
474 if ((pull_up == false) && (pull_down == false)) in nsp_pin_config_get()
480 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
481 if (pull_up) in nsp_pin_config_get()
[all …]
Dpinctrl-iproc-gpio.c467 bool disable, bool pull_up) in iproc_gpio_set_pull() argument
485 } else if (pull_up) { in iproc_gpio_set_pull()
500 pull_up); in iproc_gpio_set_pull()
507 dev_dbg(chip->dev, "gpio:%u set pullup:%d\n", gpio, pull_up); in iproc_gpio_set_pull()
513 bool *disable, bool *pull_up) in iproc_gpio_get_pull() argument
528 *pull_up = val_1 ? true : false; in iproc_gpio_get_pull()
533 *pull_up = iproc_get_bit(chip, IPROC_GPIO_PAD_RES_OFFSET, gpio); in iproc_gpio_get_pull()
620 bool disable, pull_up; in iproc_pin_config_get() local
628 iproc_gpio_get_pull(chip, gpio, &disable, &pull_up); in iproc_pin_config_get()
635 iproc_gpio_get_pull(chip, gpio, &disable, &pull_up); in iproc_pin_config_get()
[all …]
Dpinctrl-ns2-mux.c747 bool pull_up, bool pull_down) in ns2_pin_set_pull() argument
760 if (pull_up == true) in ns2_pin_set_pull()
768 pin, pull_up, pull_down); in ns2_pin_set_pull()
773 unsigned int pin, bool *pull_up, in ns2_pin_get_pull() argument
784 *pull_up = false; in ns2_pin_get_pull()
788 *pull_up = true; in ns2_pin_get_pull()
846 bool pull_up, pull_down; in ns2_pin_config_get() local
855 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
856 if ((pull_up == false) && (pull_down == false)) in ns2_pin_config_get()
862 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
[all …]
/drivers/input/misc/
Dpm8941-pwrkey.c162 bool pull_up; in pm8941_pwrkey_probe() local
175 pull_up = of_property_read_bool(pdev->dev.of_node, "bias-pull-up"); in pm8941_pwrkey_probe()
252 pull_up ? pwrkey->data->pull_up_bit : 0); in pm8941_pwrkey_probe()
Dpmic8xxx-pwrkey.c343 bool pull_up; in pmic8xxx_pwrkey_probe() local
354 pull_up = of_property_read_bool(pdev->dev.of_node, "pull-up"); in pmic8xxx_pwrkey_probe()
392 if (pull_up) in pmic8xxx_pwrkey_probe()
/drivers/pinctrl/meson/
Dpinctrl-meson.c273 bool pull_up) in meson_pinconf_enable_bias() argument
284 if (pull_up) in meson_pinconf_enable_bias()
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.c265 u32 pull_up; member
325 nmk_chip->pull_up &= ~BIT(offset); in __nmk_gpio_set_pull()
333 nmk_chip->pull_up |= BIT(offset); in __nmk_gpio_set_pull()
336 nmk_chip->pull_up &= ~BIT(offset); in __nmk_gpio_set_pull()
/drivers/pinctrl/
Dpinctrl-st.c387 struct regmap_field *pull_up = pc->pu; in st_pinconf_set_config() local
400 if (pull_up) { in st_pinconf_set_config()
401 regmap_field_read(pull_up, &pu_value); in st_pinconf_set_config()
405 regmap_field_write(pull_up, pu_value); in st_pinconf_set_config()
/drivers/usb/typec/tcpm/
Dfusb302.c1132 bool pull_up, bool pull_down) in fusb302_set_cc_polarity_and_pull() argument
1148 if (pull_up) in fusb302_set_cc_polarity_and_pull()
1155 if (pull_up) in fusb302_set_cc_polarity_and_pull()