Searched refs:pull_down (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 365 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 …]
|
D | pinctrl-ns2-mux.c | 747 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 …]
|
/kernel/linux/linux-5.10/include/linux/regulator/ |
D | machine.h | 194 unsigned pull_down:1; /* pull down resistor when regulator off */ member
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | of_regulator.c | 77 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
|
D | core.c | 1384 if (rdev->constraints->pull_down && ops->set_pull_down) { in set_machine_constraints() 1602 c->pull_down, in constraint_flags_read_file()
|
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/ |
D | fusb302.c | 1134 bool pull_up, bool pull_down) in fusb302_set_cc_polarity_and_pull() argument 1142 if (pull_down) in fusb302_set_cc_polarity_and_pull()
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 315688 + unsigned int pull_up, unsigned int pull_down, unsigned int sr, 315698 + reg |= (pull_down ? IO_CFG_PULL_DOWN : 0); 316363 + unsigned int pull_up, unsigned int pull_down, unsigned int sr, 316373 + reg |= (pull_down ? IO_CFG_PULL_DOWN : 0); 317043 + unsigned int pull_up, unsigned int pull_down, unsigned int sr, 317053 + reg |= (pull_down ? IO_CFG_PULL_DOWN : 0); 317718 + unsigned int pull_up, unsigned int pull_down, unsigned int sr, 317728 + reg |= (pull_down ? IO_CFG_PULL_DOWN : 0);
|