Home
last modified time | relevance | path

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

/drivers/pinctrl/bcm/
Dpinctrl-nsp-gpio.c364 bool pull_up, bool pull_down) in nsp_gpio_set_pull() argument
369 nsp_set_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio, pull_down); in nsp_gpio_set_pull()
374 gpio, pull_up, pull_down); in nsp_gpio_set_pull()
379 bool *pull_up, bool *pull_down) in nsp_gpio_get_pull() argument
385 *pull_down = nsp_get_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio); in nsp_gpio_get_pull()
466 bool pull_up, pull_down; in nsp_pin_config_get() local
472 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
473 if ((pull_up == false) && (pull_down == false)) in nsp_pin_config_get()
479 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
486 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
[all …]
Dpinctrl-ns2-mux.c741 bool pull_up, bool pull_down) in ns2_pin_set_pull() argument
756 if (pull_down == true) in ns2_pin_set_pull()
762 pin, pull_up, pull_down); in ns2_pin_set_pull()
768 bool *pull_down) in ns2_pin_get_pull() argument
779 *pull_down = false; in ns2_pin_get_pull()
785 *pull_down = true; in ns2_pin_get_pull()
840 bool pull_up, pull_down; in ns2_pin_config_get() local
849 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
850 if (!pull_up && !pull_down) in ns2_pin_config_get()
856 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
[all …]
/drivers/regulator/
Dof_regulator.c133 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
Dcore.c1523 if (rdev->constraints->pull_down && ops->set_pull_down) { in set_machine_constraints()
1840 c->pull_down, in constraint_flags_read_file()
/drivers/usb/typec/tcpm/
Dfusb302.c1141 bool pull_up, bool pull_down) in fusb302_set_cc_polarity_and_pull() argument
1149 if (pull_down) in fusb302_set_cc_polarity_and_pull()