Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_mchp_xec.c66 __IO uint32_t *current_pcr1; in gpio_xec_configure() local
92 current_pcr1 = config->pcr1_base + pin; in gpio_xec_configure()
96 *current_pcr1 = (*current_pcr1 & ~mask) | pcr1; in gpio_xec_configure()
103 if (*current_pcr1 & BIT(MCHP_GPIO_CTRL_INPAD_DIS_POS)) { in gpio_xec_configure()
104 *current_pcr1 &= ~BIT(MCHP_GPIO_CTRL_INPAD_DIS_POS); in gpio_xec_configure()
138 if ((*current_pcr1 & MCHP_GPIO_CTRL_PWRG_MASK) == in gpio_xec_configure()
140 *current_pcr1 = (*current_pcr1 & in gpio_xec_configure()
144 if (*current_pcr1 & BIT(MCHP_GPIO_CTRL_INPAD_VAL_POS)) { in gpio_xec_configure()
154 *current_pcr1 = (*current_pcr1 & ~mask) | pcr1; in gpio_xec_configure()
156 *current_pcr1 = *current_pcr1 | BIT(MCHP_GPIO_CTRL_AOD_POS); in gpio_xec_configure()
[all …]