Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/pinctrl/
Dpinctrl-thunderbay.c43 #define THB_GPIO_PULL_ENABLE_MASK BIT(12) macro
955 reg &= ~THB_GPIO_PULL_ENABLE_MASK; in thunderbay_pinconf_set_opendrain()
957 reg |= THB_GPIO_PULL_ENABLE_MASK; in thunderbay_pinconf_set_opendrain()
969 *config = ((reg & THB_GPIO_PULL_ENABLE_MASK) == 0) ? 1 : 0; in thunderbay_pinconf_get_opendrain()
982 reg |= THB_GPIO_PULL_ENABLE_MASK; in thunderbay_pinconf_set_pushpull()
984 reg &= ~THB_GPIO_PULL_ENABLE_MASK; in thunderbay_pinconf_set_pushpull()
996 *config = ((reg & THB_GPIO_PULL_ENABLE_MASK) > 0) ? 1 : 0; in thunderbay_pinconf_get_pushpull()