Deleted Added
full compact
usb_transfer.h (185948) usb_transfer.h (186730)
1/* $FreeBSD: head/sys/dev/usb2/core/usb2_transfer.h 185948 2008-12-11 23:13:02Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb2/core/usb2_transfer.h 186730 2009-01-04 00:12:01Z alfred $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

--- 109 unchanged lines hidden (view full) ---

119void usb2_clear_data_toggle(struct usb2_device *udev,
120 struct usb2_pipe *pipe);
121void usb2_do_poll(struct usb2_xfer **ppxfer, uint16_t max);
122usb2_callback_t usb2_do_request_callback;
123usb2_callback_t usb2_handle_request_callback;
124usb2_callback_t usb2_do_clear_stall_callback;
125void usb2_transfer_timeout_ms(struct usb2_xfer *xfer,
126 void (*cb) (void *arg), uint32_t ms);
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

--- 109 unchanged lines hidden (view full) ---

119void usb2_clear_data_toggle(struct usb2_device *udev,
120 struct usb2_pipe *pipe);
121void usb2_do_poll(struct usb2_xfer **ppxfer, uint16_t max);
122usb2_callback_t usb2_do_request_callback;
123usb2_callback_t usb2_handle_request_callback;
124usb2_callback_t usb2_do_clear_stall_callback;
125void usb2_transfer_timeout_ms(struct usb2_xfer *xfer,
126 void (*cb) (void *arg), uint32_t ms);
127uint32_t usb2_get_dma_delay(struct usb2_bus *bus);
128void usb2_transfer_power_ref(struct usb2_xfer *xfer, int val);
127
128#endif /* _USB2_TRANSFER_H_ */
129
130#endif /* _USB2_TRANSFER_H_ */