[patch]Documentation/usb/anchors.txt #2 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
This adds Documentation for the extensions of the anchor API. Signed-off-by: Oliver Neukum <oneukum@xxxxxxx> Hi, this is for inclusion into 2.6.28 Regards Oliver --- --- linux-2.6.27-rc4/Documentation/usb/anchors.txt.alt2 2008-09-02 11:01:51.000000000 +0200 +++ linux-2.6.27-rc4/Documentation/usb/anchors.txt 2008-09-02 13:50:47.000000000 +0200 @@ -52,6 +52,11 @@ Therefore no guarantee is made that the the call returns. They may be unlinked later but will be unlinked in finite time. +usb_scuttle_anchored_urbs() +--------------------------- + +All URBs of an anchor are unanchored en masse. + usb_wait_anchor_empty_timeout() ------------------------------- @@ -59,4 +64,16 @@ This function waits for all URBs associa or a timeout, whichever comes first. Its return value will tell you whether the timeout was reached. +usb_anchor_empty() +------------------ + +Returns true if no URBs are associated with an anchor. Locking +is the caller's responsibility. + +usb_get_from_anchor() +--------------------- +Returns the oldest anchored URB of an anchor. The URB is unanchored +and returned with a reference. As you may mix URBs to several +destinations in one anchor you have no guarantee the chronologically +first submitted URB is returned. \ Kein Zeilenumbruch am Dateiende. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home] [Linux USB Devel] [Video for Linux] [Linux Audio Users] [Photo] [Yosemite News] [Yosemite Photos] [Video Projectors] [PDAs] [Free Online Dating] [Hacking TiVo] [Linux Kernel] [Linux SCSI] [XFree86] [Devices] [Big List of Linux Books] [16.7MP]
![]() |
![]() |