diff options
author | hselasky <hselasky@FreeBSD.org> | 2013-04-23 10:42:15 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2013-04-23 10:42:15 +0000 |
commit | 17ea3ba57c1c6799a0b013b788d6f81400ce3a67 (patch) | |
tree | 0791766ac0417e866aa7a53a7d0416a0dba22de4 /sys/dev/usb/usb_process.h | |
parent | 59d26c37a6fa32dd97848dfde247008f6847cf68 (diff) | |
download | FreeBSD-src-17ea3ba57c1c6799a0b013b788d6f81400ce3a67.zip FreeBSD-src-17ea3ba57c1c6799a0b013b788d6f81400ce3a67.tar.gz |
Add convenience wrapper functions to run callbacks in the context of the
USB explore thread.
Diffstat (limited to 'sys/dev/usb/usb_process.h')
-rw-r--r-- | sys/dev/usb/usb_process.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h index 923f645..97262c4 100644 --- a/sys/dev/usb/usb_process.h +++ b/sys/dev/usb/usb_process.h @@ -44,6 +44,7 @@ /* structure prototypes */ struct usb_proc_msg; +struct usb_device; /* * The following structure defines the USB process. @@ -81,4 +82,9 @@ void usb_proc_free(struct usb_process *up); void *usb_proc_msignal(struct usb_process *up, void *pm0, void *pm1); void usb_proc_rewakeup(struct usb_process *up); +void usb_proc_explore_mwait(struct usb_device *, void *, void *); +void *usb_proc_explore_msignal(struct usb_device *, void *, void *); +void usb_proc_explore_lock(struct usb_device *); +void usb_proc_explore_unlock(struct usb_device *); + #endif /* _USB_PROCESS_H_ */ |