Lines Matching refs:base
14 USART_TypeDef *base = (USART_TypeDef *)reg; in pinctrl_configure_pins() local
72 base->ROUTEPEN |= USART_ROUTEPEN_RXPEN; in pinctrl_configure_pins()
73 base->ROUTELOC0 &= ~_USART_ROUTELOC0_RXLOC_MASK; in pinctrl_configure_pins()
74 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_RXLOC_SHIFT); in pinctrl_configure_pins()
78 base->ROUTEPEN |= USART_ROUTEPEN_TXPEN; in pinctrl_configure_pins()
79 base->ROUTELOC0 &= ~_USART_ROUTELOC0_TXLOC_MASK; in pinctrl_configure_pins()
80 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_TXLOC_SHIFT); in pinctrl_configure_pins()
84 base->ROUTEPEN |= USART_ROUTEPEN_RTSPEN; in pinctrl_configure_pins()
85 base->ROUTELOC1 &= ~_USART_ROUTELOC1_RTSLOC_MASK; in pinctrl_configure_pins()
86 base->ROUTELOC1 |= (loc << _USART_ROUTELOC1_RTSLOC_SHIFT); in pinctrl_configure_pins()
90 base->ROUTEPEN |= USART_ROUTEPEN_CTSPEN; in pinctrl_configure_pins()
91 base->ROUTELOC1 &= ~_USART_ROUTELOC1_CTSLOC_MASK; in pinctrl_configure_pins()
92 base->ROUTELOC1 |= (loc << _USART_ROUTELOC1_CTSLOC_SHIFT); in pinctrl_configure_pins()
110 base->ROUTEPEN = USART_ROUTEPEN_RXPEN | USART_ROUTEPEN_TXPEN; in pinctrl_configure_pins()
111 base->ROUTELOC0 = (loc << _USART_ROUTELOC0_TXLOC_SHIFT) | in pinctrl_configure_pins()
113 base->ROUTELOC1 = _USART_ROUTELOC1_RESETVALUE; in pinctrl_configure_pins()
116 base->ROUTE = USART_ROUTE_RXPEN | USART_ROUTE_TXPEN | (loc << 8); in pinctrl_configure_pins()
131 config->base->ROUTEPEN = in pinctrl_configure_pins()
135 config->base->ROUTELOC1 = in pinctrl_configure_pins()
204 base->ROUTEPEN |= USART_ROUTEPEN_CLKPEN; in pinctrl_configure_pins()
205 base->ROUTELOC0 &= ~_USART_ROUTELOC0_CLKLOC_MASK; in pinctrl_configure_pins()
206 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_CLKLOC_SHIFT); in pinctrl_configure_pins()
210 base->ROUTEPEN |= USART_ROUTEPEN_TXPEN; in pinctrl_configure_pins()
211 base->ROUTELOC0 &= ~_USART_ROUTELOC0_TXLOC_MASK; in pinctrl_configure_pins()
212 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_TXLOC_SHIFT); in pinctrl_configure_pins()
216 base->ROUTEPEN |= USART_ROUTEPEN_RXPEN; in pinctrl_configure_pins()
217 base->ROUTELOC0 &= ~_USART_ROUTELOC0_RXLOC_MASK; in pinctrl_configure_pins()
218 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_RXLOC_SHIFT); in pinctrl_configure_pins()
222 base->ROUTEPEN |= USART_ROUTEPEN_CSPEN; in pinctrl_configure_pins()
223 base->ROUTELOC0 &= ~_USART_ROUTELOC0_CSLOC_MASK; in pinctrl_configure_pins()
224 base->ROUTELOC0 |= (loc << _USART_ROUTELOC0_CSLOC_SHIFT); in pinctrl_configure_pins()