Home
last modified time | relevance | path

Searched refs:writeurb (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/usb/
Dacm.c146 struct urb ctrlurb, readurb, writeurb; /* urbs */ member
342 usb_unlink_urb(&acm->writeurb); in acm_tty_close()
358 if (acm->writeurb.status == -EINPROGRESS) return 0; in acm_tty_write()
364 if (copy_from_user(acm->writeurb.transfer_buffer, buf, count)) in acm_tty_write()
367 memcpy(acm->writeurb.transfer_buffer, buf, count); in acm_tty_write()
369 acm->writeurb.transfer_buffer_length = count; in acm_tty_write()
370 acm->writeurb.dev = acm->dev; in acm_tty_write()
372 if (usb_submit_urb(&acm->writeurb)) in acm_tty_write()
382 return acm->writeurb.status == -EINPROGRESS ? 0 : acm->writesize; in acm_tty_write_room()
389 return acm->writeurb.status == -EINPROGRESS ? acm->writeurb.transfer_buffer_length : 0; in acm_tty_chars_in_buffer()
[all …]
Dprinter.c134 struct urb *readurb, *writeurb; /* The urbs */ member
167 dbg("writeurb=0x%p", usblp->writeurb); in usblp_dump()
374 usblp->writeurb->transfer_buffer_length = 0; in usblp_open()
402 usb_free_urb(usblp->writeurb); in usblp_cleanup()
409 usb_unlink_urb(usblp->writeurb); in usblp_unlink_urbs()
652 if (usblp->writeurb->status != 0) { in usblp_write()
656 usblp->minor, usblp->writeurb->status); in usblp_write()
657 err = usblp->writeurb->status; in usblp_write()
683 usblp->writeurb->transfer_buffer_length = transfer_length; in usblp_write()
685 if (copy_from_user(usblp->writeurb->transfer_buffer, in usblp_write()
[all …]
Ddsbr100.c102 { struct urb readurb, writeurb; member