Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/via/ !
Dvia_dmablit.c67 via_unmap_blit_from_device(struct pci_dev *pdev, drm_via_sg_info_t *vsg) in via_unmap_blit_from_device() argument
69 int num_desc = vsg->num_desc; in via_unmap_blit_from_device()
70 unsigned cur_descriptor_page = num_desc / vsg->descriptors_per_page; in via_unmap_blit_from_device()
71 unsigned descriptor_this_page = num_desc % vsg->descriptors_per_page; in via_unmap_blit_from_device()
72 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
74 dma_addr_t next = vsg->chain_start; in via_unmap_blit_from_device()
79 descriptor_this_page = vsg->descriptors_per_page - 1; in via_unmap_blit_from_device()
80 desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
84 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); in via_unmap_blit_from_device()
100 drm_via_sg_info_t *vsg, in via_map_blit_for_device() argument
[all …]
/linux-5.19.10/drivers/media/pci/bt8xx/ !
Dbttv-risc.c127 struct scatterlist *vsg; in bttv_risc_planar() local
148 vsg = sglist; in bttv_risc_planar()
190 while (voffset && voffset >= sg_dma_len(vsg)) { in bttv_risc_planar()
191 voffset -= sg_dma_len(vsg); in bttv_risc_planar()
192 vsg = sg_next(vsg); in bttv_risc_planar()
197 if (voffset + (ylen>>hshift) > sg_dma_len(vsg)) in bttv_risc_planar()
198 ylen = (sg_dma_len(vsg) - voffset) << hshift; in bttv_risc_planar()
217 *(rp++)=cpu_to_le32(sg_dma_address(vsg)+voffset); in bttv_risc_planar()