Home
last modified time | relevance | path

Searched refs:datactrl (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/mmc/host/
Dmmci_stm32_sdmmc.c220 static int sdmmc_idma_start(struct mmci_host *host, unsigned int *datactrl) in sdmmc_idma_start() argument
410 u32 datactrl; in sdmmc_get_dctrl_cfg() local
412 datactrl = mmci_dctrl_blksz(host); in sdmmc_get_dctrl_cfg()
429 datactrl |= MCI_DPSM_STM32_MODE_SDIO; in sdmmc_get_dctrl_cfg()
431 datactrl |= MCI_DPSM_STM32_MODE_BLOCK_STOP; in sdmmc_get_dctrl_cfg()
433 datactrl |= MCI_DPSM_STM32_MODE_BLOCK; in sdmmc_get_dctrl_cfg()
435 return datactrl; in sdmmc_get_dctrl_cfg()
Dmmci_qcom_dml.c48 static int qcom_dma_start(struct mmci_host *host, unsigned int *datactrl) in qcom_dma_start() argument
53 int ret = mmci_dmae_start(host, datactrl); in qcom_dma_start()
Dmmci.c425 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()
[all …]
Dmoxart-mmc.c366 u32 datactrl; in moxart_prepare_data() local
378 datactrl = DCR_DATA_EN | (blksz_bits & DCR_BLK_SIZE); in moxart_prepare_data()
381 datactrl |= DCR_DATA_WRITE; in moxart_prepare_data()
384 datactrl |= DCR_DMA_EN; in moxart_prepare_data()
390 writel(datactrl, host->base + REG_DATA_CONTROL); in moxart_prepare_data()
Dmmci.h399 int (*dma_start)(struct mmci_host *host, unsigned int *datactrl);
483 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl);