Home
last modified time | relevance | path

Searched refs:pull_down (Results 1 – 5 of 5) sorted by relevance

/drivers/pinctrl/bcm/
Dpinctrl-nsp-gpio.c365 bool pull_up, bool pull_down) in nsp_gpio_set_pull() argument
370 nsp_set_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio, pull_down); 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
386 *pull_down = nsp_get_bit(chip, IO_CTRL, NSP_PULL_DOWN_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()
487 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
[all …]
Dpinctrl-ns2-mux.c747 bool pull_up, bool pull_down) in ns2_pin_set_pull() argument
762 if (pull_down == true) in ns2_pin_set_pull()
768 pin, pull_up, pull_down); in ns2_pin_set_pull()
774 bool *pull_down) in ns2_pin_get_pull() argument
785 *pull_down = false; in ns2_pin_get_pull()
791 *pull_down = 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/regulator/
Dof_regulator.c77 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
Dcore.c1457 if (rdev->constraints->pull_down && ops->set_pull_down) { in set_machine_constraints()
1680 c->pull_down, in constraint_flags_read_file()
/drivers/usb/typec/tcpm/
Dfusb302.c1140 bool pull_up, bool pull_down) in fusb302_set_cc_polarity_and_pull() argument
1148 if (pull_down) in fusb302_set_cc_polarity_and_pull()