Lines Matching refs:datactrl
425 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) in mmci_write_datactrlreg() argument
428 datactrl |= host->datactrl_reg & (host->variant->busy_dpsm_flag | in mmci_write_datactrlreg()
431 if (host->datactrl_reg != datactrl) { in mmci_write_datactrlreg()
432 host->datactrl_reg = datactrl; in mmci_write_datactrlreg()
433 writel(datactrl, host->base + MMCIDATACTRL); in mmci_write_datactrlreg()
576 static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start() argument
596 ret = host->ops->dma_start(host, &datactrl); in mmci_dma_start()
601 mmci_write_datactrlreg(host, datactrl); in mmci_dma_start()
1106 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl) in mmci_dmae_start() argument
1119 *datactrl |= MCI_DPSM_DMAENABLE; in mmci_dmae_start()
1239 unsigned int datactrl, timeout, irqmask; in mmci_start_data() local
1259 datactrl = host->ops->get_datactrl_cfg(host); in mmci_start_data()
1260 datactrl |= host->data->flags & MMC_DATA_READ ? MCI_DPSM_DIRECTION : 0; in mmci_start_data()
1265 datactrl |= variant->datactrl_mask_sdio; in mmci_start_data()
1285 datactrl |= variant->datactrl_mask_ddrmode; in mmci_start_data()
1291 if (!mmci_dma_start(host, datactrl)) in mmci_start_data()
1315 mmci_write_datactrlreg(host, datactrl); in mmci_start_data()