Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/bcm/
Dpinctrl-nsp-gpio.c354 bool pull_up, bool pull_down) in nsp_gpio_set_pull() argument
359 nsp_set_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio, pull_down); in nsp_gpio_set_pull()
364 gpio, pull_up, pull_down); in nsp_gpio_set_pull()
369 bool *pull_up, bool *pull_down) in nsp_gpio_get_pull() argument
375 *pull_down = nsp_get_bit(chip, IO_CTRL, NSP_PULL_DOWN_EN, gpio); in nsp_gpio_get_pull()
456 bool pull_up, pull_down; in nsp_pin_config_get() local
462 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
463 if ((pull_up == false) && (pull_down == false)) in nsp_pin_config_get()
469 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
476 nsp_gpio_get_pull(chip, gpio, &pull_up, &pull_down); in nsp_pin_config_get()
[all …]
Dpinctrl-ns2-mux.c739 bool pull_up, bool pull_down) in ns2_pin_set_pull() argument
754 if (pull_down == true) in ns2_pin_set_pull()
760 pin, pull_up, pull_down); in ns2_pin_set_pull()
766 bool *pull_down) in ns2_pin_get_pull() argument
777 *pull_down = false; in ns2_pin_get_pull()
783 *pull_down = true; in ns2_pin_get_pull()
838 bool pull_up, pull_down; in ns2_pin_config_get() local
847 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
848 if (!pull_up && !pull_down) in ns2_pin_config_get()
854 ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); in ns2_pin_config_get()
[all …]
/linux-6.1.9/include/linux/regulator/
Dmachine.h216 unsigned pull_down:1; /* pull down resistor when regulator off */ member
/linux-6.1.9/drivers/regulator/
Dof_regulator.c133 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()
1775 c->pull_down, in constraint_flags_read_file()
/linux-6.1.9/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()