Home
last modified time | relevance | path

Searched refs:dws (Results 1 – 2 of 2) sorted by relevance

/drivers/dma/
Ddw_dmac.c563 struct dw_dma_slave *dws = chan->private; in dwc_prep_slave_sg() local
576 if (unlikely(!dws || !sg_len)) in dwc_prep_slave_sg()
579 reg_width = dws->reg_width; in dwc_prep_slave_sg()
591 reg = dws->tx_reg; in dwc_prep_slave_sg()
637 reg = dws->rx_reg; in dwc_prep_slave_sg()
775 struct dw_dma_slave *dws; in dwc_alloc_chan_resources() local
793 dws = chan->private; in dwc_alloc_chan_resources()
794 if (dws) { in dwc_alloc_chan_resources()
799 BUG_ON(!dws->dma_dev || dws->dma_dev != dw->dma.dev); in dwc_alloc_chan_resources()
801 cfghi = dws->cfg_hi; in dwc_alloc_chan_resources()
[all …]
/drivers/mmc/host/
Datmel-mci.c1549 struct dw_dma_slave *dws = slave; in filter() local
1551 if (dws->dma_dev == chan->device->dev) { in filter()
1552 chan->private = dws; in filter()
1612 struct dw_dma_slave *dws = &pdata->dma_slave; in atmci_probe() local
1615 dws->tx_reg = regs->start + MCI_TDR; in atmci_probe()
1616 dws->rx_reg = regs->start + MCI_RDR; in atmci_probe()
1621 host->dma.chan = dma_request_channel(mask, filter, dws); in atmci_probe()