Lines Matching refs:pt3
26 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_stop_dma() local
32 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
36 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_stop_dma()
38 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma()
48 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_start_dma() local
51 iowrite32(0x02, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
53 pt3->regs[0] + base + OFST_DMA_DESC_L); in pt3_start_dma()
55 pt3->regs[0] + base + OFST_DMA_DESC_H); in pt3_start_dma()
56 iowrite32(0x01, pt3->regs[0] + base + OFST_DMA_CTL); in pt3_start_dma()
129 struct pt3_board *pt3; in pt3_free_dmabuf() local
132 pt3 = adap->dvb_adap.priv; in pt3_free_dmabuf()
134 dma_free_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_free_dmabuf()
139 dma_free_coherent(&pt3->pdev->dev, PAGE_SIZE, in pt3_free_dmabuf()
147 struct pt3_board *pt3; in pt3_alloc_dmabuf() local
155 pt3 = adap->dvb_adap.priv; in pt3_alloc_dmabuf()
158 for (i = 0; i < pt3->num_bufs; i++) { in pt3_alloc_dmabuf()
159 p = dma_alloc_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_alloc_dmabuf()
174 p = dma_alloc_coherent(&pt3->pdev->dev, PAGE_SIZE, in pt3_alloc_dmabuf()