Searched refs:pull_down (Results 1 – 5 of 5) sorted by relevance
/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 364 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 …]
|
D | pinctrl-ns2-mux.c | 741 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/ |
D | of_regulator.c | 133 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
|
D | core.c | 1523 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/ |
D | fusb302.c | 1141 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()
|