Lines Matching refs:gpd
272 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
405 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
410 gpd = dma->gpd; in msdc_dma_setup()
414 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
415 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
417 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
418 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1190 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
1194 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
1196 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
1197 gpd->ptr = (u32)dma->bd_addr; /* physical address */ in msdc_init_gpd_bd()
1201 gpd->next = (u32)dma->gpd_addr + sizeof(struct mt_gpdma_desc); in msdc_init_gpd_bd()
1559 host->dma.gpd = dma_alloc_coherent(&pdev->dev, in msdc_drv_probe()
1565 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe()
1599 if (host->dma.gpd) in msdc_drv_probe()
1602 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe()
1632 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove()