Lines Matching refs:config

56 	const struct uart_cc32xx_dev_config *config = dev->config;  in uart_cc32xx_init()  local
65 ret = pinctrl_apply_state(config->pcfg, PINCTRL_STATE_DEFAULT); in uart_cc32xx_init()
71 MAP_UARTConfigSetExpClk(config->base, in uart_cc32xx_init()
76 MAP_UARTFlowControlSet(config->base, UART_FLOWCONTROL_NONE); in uart_cc32xx_init()
78 MAP_UARTFIFODisable(config->base); in uart_cc32xx_init()
82 MAP_UARTIntClear(config->base, UART_INT_RX); in uart_cc32xx_init()
84 config->irq_config_func(dev); in uart_cc32xx_init()
90 MAP_UARTCharPutNonBlocking(config->base, PRIME_CHAR); in uart_cc32xx_init()
97 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_poll_in() local
99 if (MAP_UARTCharsAvail(config->base)) { in uart_cc32xx_poll_in()
100 *c = MAP_UARTCharGetNonBlocking(config->base); in uart_cc32xx_poll_in()
109 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_poll_out() local
111 MAP_UARTCharPut(config->base, c); in uart_cc32xx_poll_out()
116 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_err_check() local
120 cc32xx_errs = MAP_UARTRxErrorGet(config->base); in uart_cc32xx_err_check()
129 MAP_UARTRxErrorClear(config->base); in uart_cc32xx_err_check()
140 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_fifo_fill() local
145 if (MAP_UARTCharPutNonBlocking(config->base, tx_data[num_tx])) { in uart_cc32xx_fifo_fill()
158 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_fifo_read() local
162 MAP_UARTCharsAvail(config->base)) { in uart_cc32xx_fifo_read()
166 MAP_UARTCharGetNonBlocking(config->base); in uart_cc32xx_fifo_read()
174 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_tx_enable() local
176 MAP_UARTIntEnable(config->base, UART_INT_TX); in uart_cc32xx_irq_tx_enable()
181 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_tx_disable() local
183 MAP_UARTIntDisable(config->base, UART_INT_TX); in uart_cc32xx_irq_tx_disable()
188 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_tx_ready() local
191 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_tx_ready()
198 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_rx_enable() local
201 MAP_UARTIntEnable(config->base, UART_INT_RX); in uart_cc32xx_irq_rx_enable()
206 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_rx_disable() local
208 MAP_UARTIntDisable(config->base, UART_INT_RX); in uart_cc32xx_irq_rx_disable()
213 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_tx_complete() local
215 return (!MAP_UARTBusy(config->base)); in uart_cc32xx_irq_tx_complete()
220 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_rx_ready() local
223 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_rx_ready()
240 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_irq_is_pending() local
243 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_is_pending()
275 const struct uart_cc32xx_dev_config *config = dev->config; in uart_cc32xx_isr() local
278 unsigned long intStatus = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_isr()
288 MAP_UARTIntClear(config->base, in uart_cc32xx_isr()