Changes in uspace/lib/usbdev/include/usb/dev/pipes.h [04028225:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/pipes.h
r04028225 r79ae36dd 43 43 #include <ddf/driver.h> 44 44 #include <fibril_synch.h> 45 #include <async.h> 45 46 46 47 /** Abstraction of a physical connection to the device. … … 62 63 * 63 64 * Locking order: if you want to lock both mutexes 64 * (@c guard and @c hc_ phone_mutex), lock @c guard first.65 * It is not necessary to lock @c guard if you want to lock @c hc_ phone_mutex65 * (@c guard and @c hc_sess_mutex), lock @c guard first. 66 * It is not necessary to lock @c guard if you want to lock @c hc_sess_mutex 66 67 * only. 67 68 */ … … 85 86 size_t max_packet_size; 86 87 87 /** Phoneto the host controller.88 * N egativewhen no session is active.89 * It is an error to access this member without @c hc_ phone_mutex88 /** Session to the host controller. 89 * NULL when no session is active. 90 * It is an error to access this member without @c hc_sess_mutex 90 91 * being locked. 91 92 * If call over the phone is to be made, it must be preceeded by 92 93 * call to pipe_add_ref() [internal libusb function]. 93 94 */ 94 int hc_phone;95 async_sess_t *hc_sess; 95 96 96 /** Guard for serialization of requests over the phone. */97 fibril_mutex_t hc_ phone_mutex;97 /** Guard for serialization of requests over the session. */ 98 fibril_mutex_t hc_sess_mutex; 98 99 99 100 /** Number of active transfers over the pipe. */
Note:
See TracChangeset
for help on using the changeset viewer.