dmatx 278 drivers/tty/serial/amba-pl011.c struct pl011_dmatx_data dmatx; dmatx 443 drivers/tty/serial/amba-pl011.c uap->dmatx.chan = chan; dmatx 446 drivers/tty/serial/amba-pl011.c dma_chan_name(uap->dmatx.chan)); dmatx 534 drivers/tty/serial/amba-pl011.c if (uap->dmatx.chan) dmatx 535 drivers/tty/serial/amba-pl011.c dma_release_channel(uap->dmatx.chan); dmatx 551 drivers/tty/serial/amba-pl011.c struct pl011_dmatx_data *dmatx = &uap->dmatx; dmatx 556 drivers/tty/serial/amba-pl011.c if (uap->dmatx.queued) dmatx 557 drivers/tty/serial/amba-pl011.c dma_unmap_sg(dmatx->chan->device->dev, &dmatx->sg, 1, dmatx 575 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 600 drivers/tty/serial/amba-pl011.c struct pl011_dmatx_data *dmatx = &uap->dmatx; dmatx 601 drivers/tty/serial/amba-pl011.c struct dma_chan *chan = dmatx->chan; dmatx 615 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 630 drivers/tty/serial/amba-pl011.c memcpy(&dmatx->buf[0], &xmit->buf[xmit->tail], count); dmatx 639 drivers/tty/serial/amba-pl011.c memcpy(&dmatx->buf[0], &xmit->buf[xmit->tail], first); dmatx 641 drivers/tty/serial/amba-pl011.c memcpy(&dmatx->buf[first], &xmit->buf[0], second); dmatx 644 drivers/tty/serial/amba-pl011.c dmatx->sg.length = count; dmatx 646 drivers/tty/serial/amba-pl011.c if (dma_map_sg(dma_dev->dev, &dmatx->sg, 1, DMA_TO_DEVICE) != 1) { dmatx 647 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 652 drivers/tty/serial/amba-pl011.c desc = dmaengine_prep_slave_sg(chan, &dmatx->sg, 1, DMA_MEM_TO_DEV, dmatx 655 drivers/tty/serial/amba-pl011.c dma_unmap_sg(dma_dev->dev, &dmatx->sg, 1, DMA_TO_DEVICE); dmatx 656 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 677 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = true; dmatx 710 drivers/tty/serial/amba-pl011.c if (uap->dmatx.queued) { dmatx 736 drivers/tty/serial/amba-pl011.c if (uap->dmatx.queued) { dmatx 761 drivers/tty/serial/amba-pl011.c if (!uap->dmatx.queued) { dmatx 816 drivers/tty/serial/amba-pl011.c dmaengine_terminate_async(uap->dmatx.chan); dmatx 818 drivers/tty/serial/amba-pl011.c if (uap->dmatx.queued) { dmatx 819 drivers/tty/serial/amba-pl011.c dma_unmap_sg(uap->dmatx.chan->device->dev, &uap->dmatx.sg, 1, dmatx 821 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 1118 drivers/tty/serial/amba-pl011.c if (!uap->dmatx.chan) dmatx 1121 drivers/tty/serial/amba-pl011.c uap->dmatx.buf = kmalloc(PL011_DMA_BUFFER_SIZE, GFP_KERNEL | __GFP_DMA); dmatx 1122 drivers/tty/serial/amba-pl011.c if (!uap->dmatx.buf) { dmatx 1128 drivers/tty/serial/amba-pl011.c sg_init_one(&uap->dmatx.sg, uap->dmatx.buf, PL011_DMA_BUFFER_SIZE); dmatx 1203 drivers/tty/serial/amba-pl011.c dmaengine_terminate_all(uap->dmatx.chan); dmatx 1204 drivers/tty/serial/amba-pl011.c if (uap->dmatx.queued) { dmatx 1205 drivers/tty/serial/amba-pl011.c dma_unmap_sg(uap->dmatx.chan->device->dev, &uap->dmatx.sg, 1, dmatx 1207 drivers/tty/serial/amba-pl011.c uap->dmatx.queued = false; dmatx 1210 drivers/tty/serial/amba-pl011.c kfree(uap->dmatx.buf);