Lines Matching refs:base
94 USART_TypeDef *base; member
122 mem_addr_t ctrl_reg = (mem_addr_t)&gecko_config->base->CTRL; in spi_config()
185 USART_BaudrateSyncSet(gecko_config->base, 0, spi_frequency); in spi_config()
189 gecko_config->base->CTRL |= USART_CTRL_LOOPBK; in spi_config()
191 gecko_config->base->CTRL &= ~USART_CTRL_LOOPBK; in spi_config()
196 gecko_config->base->CTRL |= USART_CTRL_CLKPOL; in spi_config()
198 gecko_config->base->CTRL &= ~USART_CTRL_CLKPOL; in spi_config()
203 gecko_config->base->CTRL |= USART_CTRL_CLKPHA; in spi_config()
205 gecko_config->base->CTRL &= ~USART_CTRL_CLKPHA; in spi_config()
209 gecko_config->base->FRAME = usartDatabits8 in spi_config()
282 ret = spi_gecko_shift_frames(gecko_config->base, data); in spi_gecko_xfer()
302 config->base->ROUTEPEN = 0; in spi_gecko_init_pins()
304 config->base->ROUTELOC0 = in spi_gecko_init_pins()
309 config->base->ROUTELOC1 = _USART_ROUTELOC1_RESETVALUE; in spi_gecko_init_pins()
311 config->base->ROUTEPEN = USART_ROUTEPEN_RXPEN | USART_ROUTEPEN_TXPEN | in spi_gecko_init_pins()
353 USART_InitSync(config->base, &usartInit); in spi_gecko_init()
371 config->base->CMD = (uint32_t) usartEnable; in spi_gecko_init()
446 .base = (USART_TypeDef *) \
467 .base = (USART_TypeDef *) \