Home
last modified time | relevance | path

Searched refs:DATA_BUF_SZ (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/media/pci/pt3/
Dpt3_dma.c64 if (*ofs >= DATA_BUF_SZ) { in next_unit()
65 *ofs -= DATA_BUF_SZ; in next_unit()
89 else if (adap->buf_ofs + PT3_ACCESS_UNIT > DATA_BUF_SZ) { in pt3_proc_dma()
91 (DATA_BUF_SZ - adap->buf_ofs) / TS_PACKET_SZ); in pt3_proc_dma()
117 if (ofs >= DATA_BUF_SZ) { in pt3_init_dmabuf()
118 ofs -= DATA_BUF_SZ; in pt3_init_dmabuf()
134 dma_free_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_free_dmabuf()
159 p = dma_alloc_coherent(&pt3->pdev->dev, DATA_BUF_SZ, in pt3_alloc_dmabuf()
199 if (ofs >= DATA_BUF_SZ) { in pt3_alloc_dmabuf()
200 ofs -= DATA_BUF_SZ; in pt3_alloc_dmabuf()
Dpt3.h63 #define DATA_BUF_SZ (DATA_BUF_XFERS * DATA_XFER_SZ) macro