Searched refs:sg_cpu (Results 1 – 5 of 5) sorted by relevance
| /drivers/mmc/host/ |
| A D | loongson2-mmc.c | 236 void *sg_cpu; member 791 struct loongson2_dma_desc *pdes = (struct loongson2_dma_desc *)host->sg_cpu; in loongson2_mmc_prepare_internal_dma() 844 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in ls2k2000_mmc_set_internal_dma() 846 if (!host->sg_cpu) in ls2k2000_mmc_set_internal_dma() 849 memset(host->sg_cpu, 0, PAGE_SIZE); in ls2k2000_mmc_set_internal_dma() 856 dma_free_coherent(dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in loongson2_mmc_release_internal_dma()
|
| A D | mmci_stm32_sdmmc.c | 58 void *sg_cpu; member 200 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup() 202 if (!idma->sg_cpu) { in sdmmc_idma_setup() 224 struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu; in sdmmc_idma_start()
|
| A D | sunxi-mmc.c | 292 void *sg_cpu; member 362 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des() 1387 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe() 1389 if (!host->sg_cpu) in sunxi_mmc_probe() 1480 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe() 1495 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
|
| A D | dw_mmc.c | 511 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init() 539 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init() 587 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64() 644 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64() 659 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32() 718 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32() 1104 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma() 3134 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma() 3137 if (!host->sg_cpu) { in dw_mci_init_dma()
|
| A D | dw_mmc.h | 184 void *sg_cpu; member
|
Completed in 22 milliseconds