Lines Matching refs:pull
51 * bit 16..18 - SLPM pull up/down state
61 * pull up/down = disabled
66 * SLPM pull = same as normal
188 #define PIN_CFG_INPUT(num, alt, pull) \
190 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
315 unsigned offset, enum nmk_gpio_pull pull)
320 if (pull == NMK_GPIO_PULL_NONE) {
329 if (pull == NMK_GPIO_PULL_UP) {
332 } else if (pull == NMK_GPIO_PULL_DOWN) {
923 bool pull;
937 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & BIT(offset));
952 const int pullidx = pull ? 1 : 0;
956 "pull enabled",
1337 NMK_CONFIG_PIN_ARRAY("ste,sleep-pull-disable", nmk_pin_sleep_pdis_modes),
1702 int pull, slpm, output, val, i;
1719 pull = PIN_PULL(cfg);
1740 pull = slpm_pull - 1;
1747 "pin %d: sleep pull %s, dir %s, val %s\n",
1749 slpm_pull ? pullnames[pull] : "same",
1756 "pin %d [%#lx]: pull %s, slpm %s (%s%s), lowemi %s\n",
1757 pin, cfg, pullnames[pull], slpmnames[slpm],
1771 __nmk_gpio_set_pull(nmk_chip, bit, pull);