Lines Matching refs:ylen
122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
174 for (todo = ybpl; todo > 0; todo -= ylen) { in bttv_risc_planar()
182 ylen = todo; 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()
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()
205 if (ylen == todo) in bttv_risc_planar()
209 *(rp++)=cpu_to_le32(ri | ylen); in bttv_risc_planar()
210 *(rp++)=cpu_to_le32(((ylen >> hshift) << 16) | in bttv_risc_planar()
211 (ylen >> hshift)); in bttv_risc_planar()
213 yoffset += ylen; in bttv_risc_planar()
216 uoffset += ylen >> hshift; in bttv_risc_planar()
218 voffset += ylen >> hshift; in bttv_risc_planar()