aboutsummaryrefslogtreecommitdiff
path: root/src/hw/usb.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-10-16 12:31:42 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-10-16 14:46:38 -0400
commit2bfd170cc3c33d575eb61295312e695ac95643ef (patch)
tree43f73be0804b05f935bcbe49af56688fdb5313d6 /src/hw/usb.h
parentf3329439f7a27484d17bea550cf2c1682c6e6e4e (diff)
downloadseabios-hppa-2bfd170cc3c33d575eb61295312e695ac95643ef.zip
seabios-hppa-2bfd170cc3c33d575eb61295312e695ac95643ef.tar.gz
seabios-hppa-2bfd170cc3c33d575eb61295312e695ac95643ef.tar.bz2
usb: Clarify usb freelist manipulations
Rename usb_getFreePipe() to usb_get_freelist(). Add usb_is_freelist() and usb_add_freelist() functions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb.h')
-rw-r--r--src/hw/usb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hw/usb.h b/src/hw/usb.h
index e6948de..8e3e60a 100644
--- a/src/hw/usb.h
+++ b/src/hw/usb.h
@@ -235,8 +235,10 @@ int usb_poll_intr(struct usb_pipe *pipe, void *data);
int usb_32bit_pipe(struct usb_pipe *pipe_fl);
int usb_send_default_control(struct usb_pipe *pipe
, const struct usb_ctrlrequest *req, void *data);
+int usb_is_freelist(struct usb_s *cntl, struct usb_pipe *pipe);
+void usb_add_freelist(struct usb_pipe *pipe);
+struct usb_pipe *usb_get_freelist(struct usb_s *cntl, u8 eptype);
void usb_free_pipe(struct usbdevice_s *usbdev, struct usb_pipe *pipe);
-struct usb_pipe *usb_getFreePipe(struct usb_s *cntl, u8 eptype);
void usb_desc2pipe(struct usb_pipe *pipe, struct usbdevice_s *usbdev
, struct usb_endpoint_descriptor *epdesc);
int usb_get_period(struct usbdevice_s *usbdev