Lines Matching refs:circ
499 struct circ_buf *circ; in neo_copy_data_from_queue_to_uart() local
504 circ = &ch->uart_port.state->xmit; in neo_copy_data_from_queue_to_uart()
507 if (uart_circ_empty(circ)) in neo_copy_data_from_queue_to_uart()
523 writeb(circ->buf[circ->tail], &ch->ch_neo_uart->txrx); in neo_copy_data_from_queue_to_uart()
525 "Tx data: %x\n", circ->buf[circ->tail]); in neo_copy_data_from_queue_to_uart()
526 circ->tail = (circ->tail + 1) & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
541 head = circ->head & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
542 tail = circ->tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
543 qlen = uart_circ_chars_pending(circ); in neo_copy_data_from_queue_to_uart()
556 memcpy_toio(&ch->ch_neo_uart->txrxburst, circ->buf + tail, s); in neo_copy_data_from_queue_to_uart()
565 circ->tail = tail & (UART_XMIT_SIZE - 1); in neo_copy_data_from_queue_to_uart()
570 if (uart_circ_empty(circ)) in neo_copy_data_from_queue_to_uart()