Query: struct_usb_sg_request
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRUCTUSB_SG_REQUES(9) Host-Side Data Types and Macro STRUCT USB_SG_REQUES(9)NAMEstruct_usb_sg_request - support for scatter/gather I/OSYNOPSISstruct usb_sg_request { int status; size_t bytes; };MEMBERSstatus zero indicates success, else negative errno bytes counts bytes transferred.DESCRIPTIONThese requests are initialized using usb_sg_init, and then are used as request handles passed to usb_sg_wait or usb_sg_cancel. Most members of the request object aren't for driver access. The status and bytecount values are valid only after usb_sg_wait returns. If the status is zero, then the bytecount matches the total from the request. After an error completion, drivers may need to clear a halt condition on the endpoint.COPYRIGHTKernel Hackers Manual 3.10 June 2014 STRUCT USB_SG_REQUES(9)