Lines Matching refs:dmacr
257 unsigned int dmacr; /* dma control reg */ member
550 u16 dmacr; in pl011_dma_tx_callback() local
557 dmacr = uap->dmacr; in pl011_dma_tx_callback()
558 uap->dmacr = dmacr & ~UART011_TXDMAE; in pl011_dma_tx_callback()
559 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_callback()
570 if (!(dmacr & UART011_TXDMAE) || uart_tx_stopped(&uap->port) || in pl011_dma_tx_callback()
672 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_refill()
673 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_refill()
707 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_irq()
708 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_irq()
733 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_tx_stop()
734 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_stop()
748 u16 dmacr; in pl011_dma_tx_start() local
763 } else if (!(uap->dmacr & UART011_TXDMAE)) { in pl011_dma_tx_start()
764 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_start()
765 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
774 dmacr = uap->dmacr; in pl011_dma_tx_start()
775 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_tx_start()
776 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
792 uap->dmacr = dmacr; in pl011_dma_tx_start()
793 pl011_write(dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
818 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_flush_buffer()
819 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_flush_buffer()
858 uap->dmacr |= UART011_RXDMAE; in pl011_dma_rx_trigger_dma()
859 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_trigger_dma()
967 uap->dmacr &= ~UART011_RXDMAE; in pl011_dma_rx_irq()
968 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_irq()
1051 uap->dmacr &= ~UART011_RXDMAE; in pl011_dma_rx_stop()
1052 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_stop()
1157 uap->dmacr |= UART011_DMAONERR; in pl011_dma_startup()
1158 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_startup()
1194 uap->dmacr &= ~(UART011_DMAONERR | UART011_RXDMAE | UART011_TXDMAE); in pl011_dma_shutdown()
1195 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_shutdown()