Searched refs:datactrl (Results 1 – 3 of 3) sorted by relevance
/drivers/mmc/host/ |
D | mmci.c | 300 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) in mmci_write_datactrlreg() argument 303 datactrl |= host->datactrl_reg & MCI_ST_DPSM_BUSYMODE; in mmci_write_datactrlreg() 305 if (host->datactrl_reg != datactrl) { in mmci_write_datactrlreg() 306 host->datactrl_reg = datactrl; in mmci_write_datactrlreg() 307 writel(datactrl, host->base + MMCIDATACTRL); in mmci_write_datactrlreg() 653 static int mmci_dma_start_data(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start_data() argument 672 datactrl |= MCI_DPSM_DMAENABLE; in mmci_dma_start_data() 675 mmci_write_datactrlreg(host, datactrl); in mmci_dma_start_data() 770 static inline int mmci_dma_start_data(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start_data() argument 783 unsigned int datactrl, timeout, irqmask; in mmci_start_data() local [all …]
|
D | moxart-mmc.c | 369 u32 datactrl; in moxart_prepare_data() local 381 datactrl = DCR_DATA_EN | (blksz_bits & DCR_BLK_SIZE); in moxart_prepare_data() 384 datactrl |= DCR_DATA_WRITE; in moxart_prepare_data() 387 datactrl |= DCR_DMA_EN; in moxart_prepare_data() 393 writel(datactrl, host->base + REG_DATA_CONTROL); in moxart_prepare_data()
|
D | msm_sdcc.c | 487 unsigned int datactrl, timeout; in msmsdcc_start_data() local 499 datactrl = MCI_DPSM_ENABLE | (data->blksz << 4); in msmsdcc_start_data() 502 datactrl |= MCI_DPSM_DMAENABLE; in msmsdcc_start_data() 517 datactrl |= MCI_DPSM_DIRECTION; in msmsdcc_start_data() 523 if (datactrl & MCI_DPSM_DMAENABLE) { in msmsdcc_start_data() 527 host->cmd_datactrl = datactrl; in msmsdcc_start_data() 549 msmsdcc_writel(host, datactrl, MMCIDATACTRL); in msmsdcc_start_data()
|