Lines Matching refs:pull
55 * bit 16..18 - SLPM pull up/down state
65 * pull up/down = disabled
70 * SLPM pull = same as normal
192 #define PIN_CFG_INPUT(num, alt, pull) \
194 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
318 unsigned offset, enum nmk_gpio_pull pull)
323 if (pull == NMK_GPIO_PULL_NONE) {
332 if (pull == NMK_GPIO_PULL_UP) {
335 } else if (pull == NMK_GPIO_PULL_DOWN) {
923 bool pull;
937 pull = !(readl(nmk_chip->addr + NMK_GPIO_PDIS) & BIT(offset));
951 const int pullidx = pull ? 1 : 0;
955 "pull enabled",
1344 NMK_CONFIG_PIN_ARRAY("ste,sleep-pull-disable", nmk_pin_sleep_pdis_modes),
1711 int pull, slpm, output, val, i;
1728 pull = PIN_PULL(cfg);
1749 pull = slpm_pull - 1;
1756 "pin %d: sleep pull %s, dir %s, val %s\n",
1758 slpm_pull ? pullnames[pull] : "same",
1765 "pin %d [%#lx]: pull %s, slpm %s (%s%s), lowemi %s\n",
1766 pin, cfg, pullnames[pull], slpmnames[slpm],
1780 __nmk_gpio_set_pull(nmk_chip, bit, pull);