usbdi.h (ee4e4d54) usbdi.h (d2d71ce7)
1/*-
2 * Copyright (c) 2009 Andrew Thompson
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

474void usbd_transfer_stop(struct usb_xfer *xfer);
475void usbd_transfer_unsetup(struct usb_xfer **pxfer, uint16_t n_setup);
476void usbd_transfer_poll(struct usb_xfer **ppxfer, uint16_t max);
477void usbd_set_parent_iface(struct usb_device *udev, uint8_t iface_index,
478 uint8_t parent_index);
479uint8_t usbd_get_bus_index(struct usb_device *udev);
480uint8_t usbd_get_device_index(struct usb_device *udev);
481void usbd_set_power_mode(struct usb_device *udev, uint8_t power_mode);
1/*-
2 * Copyright (c) 2009 Andrew Thompson
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

474void usbd_transfer_stop(struct usb_xfer *xfer);
475void usbd_transfer_unsetup(struct usb_xfer **pxfer, uint16_t n_setup);
476void usbd_transfer_poll(struct usb_xfer **ppxfer, uint16_t max);
477void usbd_set_parent_iface(struct usb_device *udev, uint8_t iface_index,
478 uint8_t parent_index);
479uint8_t usbd_get_bus_index(struct usb_device *udev);
480uint8_t usbd_get_device_index(struct usb_device *udev);
481void usbd_set_power_mode(struct usb_device *udev, uint8_t power_mode);
482uint8_t usbd_filter_power_mode(struct usb_device *udev, uint8_t power_mode);
482uint8_t usbd_device_attached(struct usb_device *udev);
483
484void usbd_xfer_status(struct usb_xfer *xfer, int *actlen, int *sumlen,
485 int *aframes, int *nframes);
486struct usb_page_cache *usbd_xfer_get_frame(struct usb_xfer *xfer,
487 usb_frcount_t frindex);
488void *usbd_xfer_softc(struct usb_xfer *xfer);
489void *usbd_xfer_get_priv(struct usb_xfer *xfer);

--- 71 unchanged lines hidden ---
483uint8_t usbd_device_attached(struct usb_device *udev);
484
485void usbd_xfer_status(struct usb_xfer *xfer, int *actlen, int *sumlen,
486 int *aframes, int *nframes);
487struct usb_page_cache *usbd_xfer_get_frame(struct usb_xfer *xfer,
488 usb_frcount_t frindex);
489void *usbd_xfer_softc(struct usb_xfer *xfer);
490void *usbd_xfer_get_priv(struct usb_xfer *xfer);

--- 71 unchanged lines hidden ---