Searched refs:datactrl (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmci.c | 66 * @datactrl_mask_ddrmode: ddr mode mask in datactrl register. 67 * @blksz_datactrl16: true if Block size is at b16..b30 position in datactrl register 68 * @blksz_datactrl4: true if Block size is at b4..b16 position in datactrl 70 * @datactrl_mask_sdio: SDIO enable mask in datactrl register 300 static void mmci_write_datactrlreg(struct mmci_host *host, u32 datactrl) mmci_write_datactrlreg() argument 303 datactrl |= host->datactrl_reg & MCI_ST_DPSM_BUSYMODE; mmci_write_datactrlreg() 305 if (host->datactrl_reg != datactrl) { mmci_write_datactrlreg() 306 host->datactrl_reg = datactrl; mmci_write_datactrlreg() 307 writel(datactrl, host->base + MMCIDATACTRL); mmci_write_datactrlreg() 648 static int mmci_dma_start_data(struct mmci_host *host, unsigned int datactrl) mmci_dma_start_data() argument 667 datactrl |= MCI_DPSM_DMAENABLE; mmci_dma_start_data() 670 mmci_write_datactrlreg(host, datactrl); mmci_dma_start_data() 772 static inline int mmci_dma_start_data(struct mmci_host *host, unsigned int datactrl) mmci_dma_start_data() argument 785 unsigned int datactrl, timeout, irqmask; mmci_start_data() local 810 datactrl = MCI_DPSM_ENABLE | (data->blksz << 16); mmci_start_data() 812 datactrl = MCI_DPSM_ENABLE | (data->blksz << 4); mmci_start_data() 814 datactrl = MCI_DPSM_ENABLE | blksz_bits << 4; mmci_start_data() 817 datactrl |= MCI_DPSM_DIRECTION; mmci_start_data() 822 datactrl |= variant->datactrl_mask_sdio; mmci_start_data() 842 datactrl |= variant->datactrl_mask_ddrmode; mmci_start_data() 848 if (!mmci_dma_start_data(host, datactrl)) mmci_start_data() 872 mmci_write_datactrlreg(host, datactrl); mmci_start_data()
|
H A D | moxart-mmc.c | 370 u32 datactrl; moxart_prepare_data() local 382 datactrl = DCR_DATA_EN | (blksz_bits & DCR_BLK_SIZE); moxart_prepare_data() 385 datactrl |= DCR_DATA_WRITE; moxart_prepare_data() 388 datactrl |= DCR_DMA_EN; moxart_prepare_data() 394 writel(datactrl, host->base + REG_DATA_CONTROL); moxart_prepare_data()
|
Completed in 125 milliseconds