Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dhvc_console.c138 int todo, written = 0; in hvc_write() local
142 while (count > 0 && (todo = N_OUTBUF - hp->n_outbuf) > 0) { in hvc_write()
143 if (todo > count) in hvc_write()
144 todo = count; in hvc_write()
147 todo -= copy_from_user(p, buf, todo); in hvc_write()
148 if (todo == 0) { in hvc_write()
154 memcpy(p, buf, todo); in hvc_write()
155 count -= todo; in hvc_write()
156 buf += todo; in hvc_write()
157 hp->n_outbuf += todo; in hvc_write()
[all …]
Dconsole.c719 unsigned int cc, ll, ss, sr, todo = 0; in vc_resize() local
744 todo++; in vc_resize()
747 if (!todo) in vc_resize()
/linux-2.4.37.9/drivers/atm/
Dsuni.c111 if (todo & flag) { \
114 todo &= ~flag; \
120 int todo; in change_diag() local
122 if (get_user(todo,(int *) arg)) return -EFAULT; in change_diag()
131 return put_user(todo,(int *) arg) ? -EFAULT : 0; in change_diag()
/linux-2.4.37.9/drivers/usb/serial/
Dkobil_sct.c412 int todo = 0; in kobil_write() local
463 todo = priv->filled - priv->cur_pos; in kobil_write()
465 while(todo > 0) { in kobil_write()
467 length = (todo < 8) ? todo : 8; in kobil_write()
483 todo = priv->filled - priv->cur_pos; in kobil_write()
485 if (todo > 0) { in kobil_write()
Dkeyspan.c343 int left, todo; in keyspan_write() local
362 for (left = count; left > 0; left -= todo) { in keyspan_write()
363 todo = left; in keyspan_write()
364 if (todo > maxDataLen) in keyspan_write()
365 todo = maxDataLen; in keyspan_write()
393 if (copy_from_user(this_urb->transfer_buffer + dataOffset, buf, todo)) in keyspan_write()
396 memcpy (this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write()
398 buf += todo; in keyspan_write()
401 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write()
/linux-2.4.37.9/arch/m68k/kernel/
Dsun3-head.S23 | todo: all these should be in bss!
98 | todo: remove next two. --m
/linux-2.4.37.9/drivers/media/video/
Dbttv-driver.c773 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()
[all …]
Dplanb.c2226 int q,todo; in planb_vbi_read() local
2233 todo=count; in planb_vbi_read()
2234 while (todo && todo>(q=VBIBUF_SIZE-pb->vbip)) in planb_vbi_read()
2238 todo-=q; in planb_vbi_read()
2243 if (todo && q==VBIBUF_SIZE-pb->vbip) { in planb_vbi_read()
2247 if(count==todo) in planb_vbi_read()
2249 return count-todo; in planb_vbi_read()
2255 if(todo==count) in planb_vbi_read()
2258 return count-todo; in planb_vbi_read()
2264 if (todo) { in planb_vbi_read()
[all …]
Dstradis.c1856 unsigned long todo = count; in saa_write() local
1860 while (todo > 0) { in saa_write()
1885 if (blocksize > todo) in saa_write()
1886 blocksize = todo; in saa_write()
1895 todo -= split; in saa_write()
1903 todo -= blocksize; in saa_write()
1930 if (blocksize > todo) in saa_write()
1931 blocksize = todo; in saa_write()
1940 todo -= split; in saa_write()
1948 todo -= blocksize; in saa_write()
Dzr36067.c4284 unsigned long page, pos, todo, fraglen; in do_zoran_mmap() local
4319 todo = size; in do_zoran_mmap()
4320 if (todo > fraglen) in do_zoran_mmap()
4321 todo = fraglen; in do_zoran_mmap()
4327 (start, page, todo, PAGE_SHARED)) { in do_zoran_mmap()
4333 size -= todo; in do_zoran_mmap()
4334 start += todo; in do_zoran_mmap()
4360 todo = size; in do_zoran_mmap()
4361 if (todo > v4l_bufsize) in do_zoran_mmap()
4362 todo = v4l_bufsize; in do_zoran_mmap()
[all …]
/linux-2.4.37.9/drivers/fc4/
Dfc.c119 atomic_t todo; member
131 atomic_t todo; member
229 if (atomic_dec_and_test (&l->todo)) in fcp_login_done()
237 if (atomic_dec_and_test (&l->todo)) in fcp_login_done()
303 if (atomic_dec_and_test (&l->todo)) in fcp_report_map_done()
514 if (atomic_dec_and_test (&l->todo)) in fcp_receive_solicited()
558 atomic_set (&l->todo, count); in fcp_initialize()
602 if (atomic_dec_and_test (&l->todo)) in fcp_initialize()
643 if (!atomic_read(&l->todo)) { in fcp_initialize()
680 atomic_set (&l.todo, count); in fcp_forceoffline()
/linux-2.4.37.9/drivers/ieee1394/
Dnodemgr.c424 u8 flags, todo; in nodemgr_scan_unit_directory() local
449 todo = 0; in nodemgr_scan_unit_directory()
452 todo = UNIT_DIRECTORY_VENDOR_TEXT; in nodemgr_scan_unit_directory()
456 todo = UNIT_DIRECTORY_MODEL_TEXT; in nodemgr_scan_unit_directory()
478 if (todo && length > 0) { in nodemgr_scan_unit_directory()
486 if (todo == UNIT_DIRECTORY_VENDOR_TEXT) in nodemgr_scan_unit_directory()
494 flags |= todo; in nodemgr_scan_unit_directory()
/linux-2.4.37.9/drivers/mtd/chips/
Djedec.c622 unsigned todo[4] = {0,0,0,0}; in flash_erase() local
637 todo[priv->chips[J].base & ((1<<chip->addrshift)-1)] = 1; in flash_erase()
677 if (todo[J] == 0) in flash_erase()
692 todo[J] = 0; in flash_erase()
/linux-2.4.37.9/drivers/usb/gadget/
Dether.c141 unsigned long todo; member
1747 if (test_and_set_bit (flag, &dev->todo)) in defer_kevent()
1940 clear_bit (WORK_RX_MEMORY, &dev->todo); in rx_fill()
1964 if (test_bit (WORK_RX_MEMORY, &dev->todo)) { in eth_work()
1968 clear_bit (WORK_RX_MEMORY, &dev->todo); in eth_work()
1971 if (dev->todo) in eth_work()
1972 DEBUG (dev, "work done, flags = 0x%lx\n", dev->todo); in eth_work()
/linux-2.4.37.9/Documentation/video4linux/
DREADME.cpia141 - all the todo ;)
/linux-2.4.37.9/fs/umsdos/
Dspecs84 /* #Specification: umsdos / conversion mode / todo
/linux-2.4.37.9/Documentation/networking/
D8139too.txt182 12) 10base-T support flaky or slow (todo: verify this is still true)
/linux-2.4.37.9/Documentation/usb/
Dusb-serial.txt170 Big Things on the todo list: