Changes in uspace/lib/usbhost/src/endpoint.c [a76b01b4:17412546] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/endpoint.c
ra76b01b4 r17412546 72 72 return instance; 73 73 } 74 74 /*----------------------------------------------------------------------------*/ 75 75 /** Properly dispose of endpoint_t structure. 76 76 * @param instance endpoint_t structure. … … 84 84 free(instance); 85 85 } 86 86 /*----------------------------------------------------------------------------*/ 87 87 /** Set device specific data and hooks. 88 88 * @param instance endpoint_t structure. … … 101 101 fibril_mutex_unlock(&instance->guard); 102 102 } 103 103 /*----------------------------------------------------------------------------*/ 104 104 /** Clear device specific data and hooks. 105 105 * @param instance endpoint_t structure. … … 115 115 fibril_mutex_unlock(&instance->guard); 116 116 } 117 117 /*----------------------------------------------------------------------------*/ 118 118 /** Mark the endpoint as active and block access for further fibrils. 119 119 * @param instance endpoint_t structure. … … 128 128 fibril_mutex_unlock(&instance->guard); 129 129 } 130 130 /*----------------------------------------------------------------------------*/ 131 131 /** Mark the endpoint as inactive and allow access for further fibrils. 132 132 * @param instance endpoint_t structure. … … 140 140 fibril_condvar_signal(&instance->avail); 141 141 } 142 142 /*----------------------------------------------------------------------------*/ 143 143 /** Get the value of toggle bit. 144 144 * @param instance endpoint_t structure. … … 156 156 return ret; 157 157 } 158 158 /*----------------------------------------------------------------------------*/ 159 159 /** Set the value of toggle bit. 160 160 * @param instance endpoint_t structure.
Note:
See TracChangeset
for help on using the changeset viewer.