Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmci_stm32_sdmmc.c148 static int sdmmc_idma_start(struct mmci_host *host, unsigned int *datactrl) in sdmmc_idma_start() argument
315 u32 datactrl; in sdmmc_get_dctrl_cfg() local
317 datactrl = mmci_dctrl_blksz(host); in sdmmc_get_dctrl_cfg()
321 datactrl |= MCI_DPSM_STM32_MODE_SDIO; in sdmmc_get_dctrl_cfg()
323 datactrl |= MCI_DPSM_STM32_MODE_BLOCK_STOP; in sdmmc_get_dctrl_cfg()
325 datactrl |= MCI_DPSM_STM32_MODE_BLOCK; in sdmmc_get_dctrl_cfg()
327 return datactrl; in sdmmc_get_dctrl_cfg()
Dmmci.c389 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) in mmci_write_datactrlreg() argument
392 datactrl |= host->datactrl_reg & host->variant->busy_dpsm_flag; in mmci_write_datactrlreg()
394 if (host->datactrl_reg != datactrl) { in mmci_write_datactrlreg()
395 host->datactrl_reg = datactrl; in mmci_write_datactrlreg()
396 writel(datactrl, host->base + MMCIDATACTRL); in mmci_write_datactrlreg()
539 static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start() argument
559 ret = host->ops->dma_start(host, &datactrl); in mmci_dma_start()
564 mmci_write_datactrlreg(host, datactrl); in mmci_dma_start()
998 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl) in mmci_dmae_start() argument
1011 *datactrl |= MCI_DPSM_DMAENABLE; in mmci_dmae_start()
[all …]
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()
Dmoxart-mmc.c368 u32 datactrl; in moxart_prepare_data() local
380 datactrl = DCR_DATA_EN | (blksz_bits & DCR_BLK_SIZE); in moxart_prepare_data()
383 datactrl |= DCR_DATA_WRITE; in moxart_prepare_data()
386 datactrl |= DCR_DMA_EN; in moxart_prepare_data()
392 writel(datactrl, host->base + REG_DATA_CONTROL); in moxart_prepare_data()
Dmmci.h378 int (*dma_start)(struct mmci_host *host, unsigned int *datactrl);
460 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch6248 -static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl)
6249 +int mmci_dma_start(struct mmci_host *host, unsigned int datactrl)
6253 @@ -556,9 +515,7 @@ static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl)
6257 - ret = host->ops->dma_start(host, &datactrl);
6260 + host->ops->dma_start(host, &datactrl);
6263 mmci_write_datactrlreg(host, datactrl);
6264 @@ -573,7 +530,7 @@ static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl)
6395 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl)
6409 *datactrl |= MCI_DPSM_DMAENABLE;
6825 * @datactrl_mask_ddrmode: ddr mode mask in datactrl register.
[all …]