Lines Matching refs:pull_down
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()
487 if (pull_down) in nsp_pin_config_get()