Lines Matching refs:gpd
368 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
677 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
682 gpd = dma->gpd; in msdc_dma_setup()
686 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
687 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
689 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
690 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1793 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
1798 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
1801 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
1805 gpd->next = lower_32_bits(dma_addr); in msdc_init_gpd_bd()
1807 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 24; in msdc_init_gpd_bd()
1810 gpd->ptr = lower_32_bits(dma->bd_addr); /* physical address */ in msdc_init_gpd_bd()
1812 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 28; in msdc_init_gpd_bd()
2685 host->dma.gpd = dma_alloc_coherent(&pdev->dev, in msdc_drv_probe()
2691 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe()
2749 if (host->dma.gpd) in msdc_drv_probe()
2752 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe()
2782 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove()