Deleted Added
full compact
usb_controller.h (213435) usb_controller.h (215649)
1/* $FreeBSD: head/sys/dev/usb/usb_controller.h 213435 2010-10-04 23:18:05Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/usb_controller.h 215649 2010-11-22 01:11:28Z weongyo $ */
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.

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

216/* prototypes */
217
218void usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
219uint8_t usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb);
220void usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
221uint16_t usb_isoc_time_expand(struct usb_bus *bus, uint16_t isoc_time_curr);
222uint16_t usbd_fs_isoc_schedule_isoc_time_expand(struct usb_device *udev, struct usb_fs_isoc_schedule **pp_start, struct usb_fs_isoc_schedule **pp_end, uint16_t isoc_time);
223uint8_t usbd_fs_isoc_schedule_alloc(struct usb_fs_isoc_schedule *fss, uint8_t *pstart, uint16_t len);
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.

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

216/* prototypes */
217
218void usb_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
219uint8_t usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, usb_bus_mem_cb_t *cb);
220void usb_bus_mem_free_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb);
221uint16_t usb_isoc_time_expand(struct usb_bus *bus, uint16_t isoc_time_curr);
222uint16_t usbd_fs_isoc_schedule_isoc_time_expand(struct usb_device *udev, struct usb_fs_isoc_schedule **pp_start, struct usb_fs_isoc_schedule **pp_end, uint16_t isoc_time);
223uint8_t usbd_fs_isoc_schedule_alloc(struct usb_fs_isoc_schedule *fss, uint8_t *pstart, uint16_t len);
224struct usb_bus *usb_bus_find(const char *name);
224
225#endif /* _USB_CONTROLLER_H_ */
225
226#endif /* _USB_CONTROLLER_H_ */