Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/via/
Dvia_dri1.c1507 via_unmap_blit_from_device(struct pci_dev *pdev, drm_via_sg_info_t *vsg) in via_unmap_blit_from_device() argument
1509 int num_desc = vsg->num_desc; in via_unmap_blit_from_device()
1510 unsigned cur_descriptor_page = num_desc / vsg->descriptors_per_page; in via_unmap_blit_from_device()
1511 unsigned descriptor_this_page = num_desc % vsg->descriptors_per_page; in via_unmap_blit_from_device()
1512 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
1514 dma_addr_t next = vsg->chain_start; in via_unmap_blit_from_device()
1519 descriptor_this_page = vsg->descriptors_per_page - 1; in via_unmap_blit_from_device()
1520 desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
1524 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); in via_unmap_blit_from_device()
1539 drm_via_sg_info_t *vsg, in via_map_blit_for_device() argument
[all …]
/linux-6.1.9/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()