Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/regulator/
Dmachine.h194 unsigned pull_down:1; /* pull down resistor when regulator off */ member
/kernel/linux/linux-5.10/drivers/regulator/
Dof_regulator.c77 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
Dcore.c1384 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/
Dfusb302.c1134 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/
Dhispark_taurus.patch315688 + 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);