NET2280_SET_FIFO_MODE
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
net2280_set_fifo_mode - change allocation of fifo buffers
SYNOPSIS
"SYNOPSIS"
int net2280_set_fifo_mode (struct usb_gadget * gadget, int mode);
ARGUMENTS
- gadget
-
access to the net2280 device that will be updated
- mode
-
0 for default, four 1kB buffers (ep-a through ep-d);
1 for two 2kB buffers (ep-a and ep-b only);
2 for one 2kB buffer (ep-a) and two 1kB ones (ep-b, ep-c).
DESCRIPTION
returns zero on success, else negative errno. when this succeeds,
the contents of gadget->ep_list may have changed.
you may only call this function when endpoints a-d are all disabled.
use it whenever extra hardware buffering can help performance, such
as before enabling ``high bandwidth'' interrupt endpoints that use
maxpacket bigger than 512 (when double buffering would otherwise
be unavailable).
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 04:40:57 GMT, October 06, 2005