Lines Matching refs:sg_dma_len
73 while (offset && offset >= sg_dma_len(sg)) { in bttv_risc_packed()
74 offset -= sg_dma_len(sg); in bttv_risc_packed()
77 if (bpl <= sg_dma_len(sg)-offset) { in bttv_risc_packed()
87 (sg_dma_len(sg)-offset)); in bttv_risc_packed()
89 todo -= (sg_dma_len(sg)-offset); in bttv_risc_packed()
92 while (todo > sg_dma_len(sg)) { in bttv_risc_packed()
94 sg_dma_len(sg)); in bttv_risc_packed()
96 todo -= sg_dma_len(sg); in bttv_risc_packed()
176 while (yoffset && yoffset >= sg_dma_len(ysg)) { in bttv_risc_planar()
177 yoffset -= sg_dma_len(ysg); in bttv_risc_planar()
183 if (yoffset + ylen > sg_dma_len(ysg)) in bttv_risc_planar()
184 ylen = sg_dma_len(ysg) - yoffset; in bttv_risc_planar()
186 while (uoffset && uoffset >= sg_dma_len(usg)) { in bttv_risc_planar()
187 uoffset -= sg_dma_len(usg); 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()
195 if (uoffset + (ylen>>hshift) > sg_dma_len(usg)) in bttv_risc_planar()
196 ylen = (sg_dma_len(usg) - uoffset) << hshift; 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()