Lines Matching full:gpd
388 struct mt_gpdma_desc *gpd; /* pointer to gpd array */
390 dma_addr_t gpd_addr; /* the physical address of gpd array */
766 struct mt_gpdma_desc *gpd;
771 gpd = dma->gpd;
774 /* modify gpd */
775 gpd->gpd_info |= GPDMA_DESC_HWO;
776 gpd->gpd_info |= GPDMA_DESC_BDP;
778 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM;
779 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8;
2005 /* init gpd and bd list in msdc_drv_probe */
2008 struct mt_gpdma_desc *gpd = dma->gpd;
2013 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2);
2016 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */
2017 /* gpd->next is must set for desc DMA
2018 * That's why must alloc 2 gpd structure.
2020 gpd->next = lower_32_bits(dma_addr);
2022 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 24;
2025 gpd->ptr = lower_32_bits(dma->bd_addr); /* physical address */
2027 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 28;
3002 host->dma.gpd = dma_alloc_coherent(&pdev->dev,
3008 if (!host->dma.gpd || !host->dma.bd) {
3083 if (host->dma.gpd)
3086 host->dma.gpd, host->dma.gpd_addr);
3113 host->dma.gpd, host->dma.gpd_addr);