Lines Matching refs:int_data
98 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_fifo_fill() local
100 if (int_data->tx_fifo_busy) { in uart_nxp_s32_fifo_fill()
104 int_data->tx_fifo_busy = true; in uart_nxp_s32_fifo_fill()
116 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_fifo_read() local
118 if (int_data->rx_fifo_busy) { in uart_nxp_s32_fifo_read()
122 *rx_data = int_data->rx_fifo_data; in uart_nxp_s32_fifo_read()
123 int_data->rx_fifo_busy = true; in uart_nxp_s32_fifo_read()
125 Linflexd_Uart_Ip_SetRxBuffer(config->instance, &(int_data->rx_fifo_data), 1); in uart_nxp_s32_fifo_read()
134 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_tx_enable() local
137 int_data->irq_tx_enable = true; in uart_nxp_s32_irq_tx_enable()
142 if (!int_data->tx_fifo_busy) { in uart_nxp_s32_irq_tx_enable()
156 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_tx_disable() local
158 int_data->irq_tx_enable = false; in uart_nxp_s32_irq_tx_disable()
159 int_data->tx_fifo_busy = false; in uart_nxp_s32_irq_tx_disable()
167 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_tx_ready() local
169 return !int_data->tx_fifo_busy && int_data->irq_tx_enable; in uart_nxp_s32_irq_tx_ready()
176 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_rx_enable() local
178 int_data->irq_rx_enable = true; in uart_nxp_s32_irq_rx_enable()
180 Linflexd_Uart_Ip_AsyncReceive(config->instance, &(int_data->rx_fifo_data), 1); in uart_nxp_s32_irq_rx_enable()
187 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_rx_disable() local
189 int_data->irq_rx_enable = false; in uart_nxp_s32_irq_rx_disable()
190 int_data->rx_fifo_busy = false; in uart_nxp_s32_irq_rx_disable()
198 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_irq_rx_ready() local
200 return !int_data->rx_fifo_busy && int_data->irq_rx_enable; in uart_nxp_s32_irq_rx_ready()
263 struct uart_nxp_s32_int *int_data = &(data->int_data); in uart_nxp_s32_event_handler() local
273 int_data->tx_fifo_busy = false; in uart_nxp_s32_event_handler()
279 int_data->rx_fifo_busy = false; in uart_nxp_s32_event_handler()