Lines Matching refs:gpd
369 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
695 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
700 gpd = dma->gpd; in msdc_dma_setup()
704 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
705 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
707 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
708 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1840 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
1845 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
1848 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
1852 gpd->next = lower_32_bits(dma_addr); in msdc_init_gpd_bd()
1854 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 24; in msdc_init_gpd_bd()
1857 gpd->ptr = lower_32_bits(dma->bd_addr); /* physical address */ in msdc_init_gpd_bd()
1859 gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 28; in msdc_init_gpd_bd()
2744 host->dma.gpd = dma_alloc_coherent(&pdev->dev, in msdc_drv_probe()
2750 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe()
2808 if (host->dma.gpd) in msdc_drv_probe()
2811 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe()
2841 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove()