Lines Matching refs:pcr1
67 uint32_t pcr1 = 0U; in gpio_xec_configure() local
95 pcr1 |= MCHP_GPIO_CTRL_PWRG_OFF; in gpio_xec_configure()
96 *current_pcr1 = (*current_pcr1 & ~mask) | pcr1; in gpio_xec_configure()
100 pcr1 = MCHP_GPIO_CTRL_PWRG_VTR_IO; in gpio_xec_configure()
114 pcr1 |= MCHP_GPIO_CTRL_PUD_PU; in gpio_xec_configure()
117 pcr1 |= MCHP_GPIO_CTRL_PUD_PD; in gpio_xec_configure()
125 pcr1 |= MCHP_GPIO_CTRL_BUFT_OPENDRAIN; in gpio_xec_configure()
128 pcr1 |= MCHP_GPIO_CTRL_BUFT_PUSHPULL; in gpio_xec_configure()
134 pcr1 |= BIT(MCHP_GPIO_CTRL_OUTVAL_POS); in gpio_xec_configure()
136 pcr1 &= ~BIT(MCHP_GPIO_CTRL_OUTVAL_POS); in gpio_xec_configure()
145 pcr1 |= BIT(MCHP_GPIO_CTRL_OUTVAL_POS); in gpio_xec_configure()
147 pcr1 &= ~BIT(MCHP_GPIO_CTRL_OUTVAL_POS); in gpio_xec_configure()
151 pcr1 |= MCHP_GPIO_CTRL_DIR_OUTPUT; in gpio_xec_configure()
154 *current_pcr1 = (*current_pcr1 & ~mask) | pcr1; in gpio_xec_configure()
168 uint32_t pcr1 = 0U; in gpio_xec_pin_interrupt_configure() local
193 pcr1 |= MCHP_GPIO_CTRL_IDET_DISABLE; in gpio_xec_pin_interrupt_configure()
219 pcr1 |= gpio_interrupt; in gpio_xec_pin_interrupt_configure()
226 *current_pcr1 = (*current_pcr1 & ~mask) | pcr1; in gpio_xec_pin_interrupt_configure()