Lines Matching refs:todo
773 u32 todo; in make_prisctab() local
841 todo=width; in make_prisctab()
842 while(todo) in make_prisctab()
849 bl=(bl>todo) ? todo : bl; in make_prisctab()
853 todo-=bl; in make_prisctab()
854 if(!todo) rcmd|=BT848_RISC_EOL; /* if this is the last EOL */ in make_prisctab()
890 u32 todo; in make_vrisctab() local
928 todo=bpl; in make_vrisctab()
932 todo-=bl; in make_vrisctab()
933 while (todo>PAGE_SIZE) in make_vrisctab()
938 todo-=PAGE_SIZE; in make_vrisctab()
940 *((*rp)++)=cpu_to_le32(BT848_RISC_WRITE|BT848_RISC_EOL|todo); in make_vrisctab()
942 vadr+=todo; in make_vrisctab()
2217 unsigned long todo; in vbi_read() local
2221 todo=count; in vbi_read()
2222 while (todo && todo>(q=VBIBUF_SIZE-btv->vbip)) in vbi_read()
2231 todo-=q; in vbi_read()
2236 if (todo && q==VBIBUF_SIZE-btv->vbip) in vbi_read()
2242 if(count==todo) in vbi_read()
2244 return count-todo; in vbi_read()
2251 if(todo==count) in vbi_read()
2254 return count-todo; in vbi_read()
2260 if (todo) in vbi_read()
2262 if(copy_to_user((void *) buf, (void *) btv->vbibuf+btv->vbip, todo)) in vbi_read()
2264 btv->vbip+=todo; in vbi_read()