Searched refs:datactrl (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/mmc/host/ ! |
D | mmci_stm32_sdmmc.c | 194 static int sdmmc_idma_start(struct mmci_host *host, unsigned int *datactrl) in sdmmc_idma_start() argument 370 u32 datactrl; in sdmmc_get_dctrl_cfg() local 372 datactrl = mmci_dctrl_blksz(host); in sdmmc_get_dctrl_cfg() 376 datactrl |= MCI_DPSM_STM32_MODE_SDIO; in sdmmc_get_dctrl_cfg() 378 datactrl |= MCI_DPSM_STM32_MODE_BLOCK_STOP; in sdmmc_get_dctrl_cfg() 380 datactrl |= MCI_DPSM_STM32_MODE_BLOCK; in sdmmc_get_dctrl_cfg() 382 return datactrl; in sdmmc_get_dctrl_cfg()
|
D | mmci.c | 390 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) in mmci_write_datactrlreg() argument 393 datactrl |= host->datactrl_reg & host->variant->busy_dpsm_flag; in mmci_write_datactrlreg() 395 if (host->datactrl_reg != datactrl) { in mmci_write_datactrlreg() 396 host->datactrl_reg = datactrl; in mmci_write_datactrlreg() 397 writel(datactrl, host->base + MMCIDATACTRL); in mmci_write_datactrlreg() 540 static int mmci_dma_start(struct mmci_host *host, unsigned int datactrl) in mmci_dma_start() argument 560 ret = host->ops->dma_start(host, &datactrl); in mmci_dma_start() 565 mmci_write_datactrlreg(host, datactrl); in mmci_dma_start() 999 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl) in mmci_dmae_start() argument 1012 *datactrl |= MCI_DPSM_DMAENABLE; in mmci_dmae_start() [all …]
|
D | mmci_qcom_dml.c | 48 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()
|
D | moxart-mmc.c | 367 u32 datactrl; in moxart_prepare_data() local 379 datactrl = DCR_DATA_EN | (blksz_bits & DCR_BLK_SIZE); in moxart_prepare_data() 382 datactrl |= DCR_DATA_WRITE; in moxart_prepare_data() 385 datactrl |= DCR_DMA_EN; in moxart_prepare_data() 391 writel(datactrl, host->base + REG_DATA_CONTROL); in moxart_prepare_data()
|
D | mmci.h | 378 int (*dma_start)(struct mmci_host *host, unsigned int *datactrl); 460 int mmci_dmae_start(struct mmci_host *host, unsigned int *datactrl);
|