• Home
  • Raw
  • Download

Lines Matching full:dmacr

263 	unsigned int		dmacr;		/* dma control reg */  member
545 u16 dmacr; in pl011_dma_tx_callback() local
552 dmacr = uap->dmacr; in pl011_dma_tx_callback()
553 uap->dmacr = dmacr & ~UART011_TXDMAE; in pl011_dma_tx_callback()
554 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_callback()
563 * get further refills (hence we check dmacr). in pl011_dma_tx_callback()
565 if (!(dmacr & UART011_TXDMAE) || uart_tx_stopped(&uap->port) || in pl011_dma_tx_callback()
668 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_refill()
669 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_refill()
704 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_irq()
705 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_irq()
730 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_tx_stop()
731 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_stop()
745 u16 dmacr; in pl011_dma_tx_start() local
760 } else if (!(uap->dmacr & UART011_TXDMAE)) { in pl011_dma_tx_start()
761 uap->dmacr |= UART011_TXDMAE; in pl011_dma_tx_start()
762 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
771 dmacr = uap->dmacr; in pl011_dma_tx_start()
772 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_tx_start()
773 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
789 uap->dmacr = dmacr; in pl011_dma_tx_start()
790 pl011_write(dmacr, uap, REG_DMACR); in pl011_dma_tx_start()
815 uap->dmacr &= ~UART011_TXDMAE; in pl011_dma_flush_buffer()
816 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_flush_buffer()
855 uap->dmacr |= UART011_RXDMAE; in pl011_dma_rx_trigger_dma()
856 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_trigger_dma()
966 uap->dmacr &= ~UART011_RXDMAE; in pl011_dma_rx_irq()
967 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_irq()
1050 uap->dmacr &= ~UART011_RXDMAE; in pl011_dma_rx_stop()
1051 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_rx_stop()
1156 uap->dmacr |= UART011_DMAONERR; in pl011_dma_startup()
1157 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_startup()
1193 uap->dmacr &= ~(UART011_DMAONERR | UART011_RXDMAE | UART011_TXDMAE); in pl011_dma_shutdown()
1194 pl011_write(uap->dmacr, uap, REG_DMACR); in pl011_dma_shutdown()