USB_SG_REQUEST

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

struct usb_sg_request - support for scatter/gather I/O  

SYNOPSIS

struct usb_sg_request {
  int status;
  size_t bytes;
};  
 

MEMBERS

status
zero indicates success, else negative errno
bytes
counts bytes transferred.
 

DESCRIPTION

These 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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
MEMBERS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:51:20 GMT, April 09, 2004