/* usb/sys/usefast.h
 *
 * (c) 2002 Simtec Electronics
 *
 * Ben Dooks
 *
 * use fast-access method of calling usb module
 *
 * $Id: usefast.h,v 1.6 2003/08/07 22:16:25 ben Exp $
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
 */

#ifndef __RISCOS_USBLIB_USEFAST_H
#define __RISCOS_USBLIB_USEFAST_H "$Id: usefast.h,v 1.6 2003/08/07 22:16:25 ben Exp $"

#define faf(x) (*usb_fast_access.x)

#define usb_frame_sync_number(a,b) faf(usb_frame_sync_number)(a,b)

#define usb_transaction_get_pending(a,b) faf(usb_transaction_get_pending)(a,b)

#define usb_request_get_pending(a,b,c,d) faf(usb_request_get_pending)(a,b,c,d)

#define usb_transaction_result(a,b) faf(usb_transaction_result)(a,b)

#if 0
#define usb_request_start(a,b,c,d,e,f,g) faf(usb_request_start)(a,b,c,d,e,f,g)
#endif

#define usb_request_get_state(a,b) faf(usb_request_get_state)(a,b)

#endif /* __RISCOS_USBLIB_USEFAST_H */
