Changes in uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h [76fbd9a:5d915b7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h
r76fbd9a r5d915b7 100 100 101 101 void td_print_status(const td_t *instance); 102 102 /*----------------------------------------------------------------------------*/ 103 103 /** Helper function for parsing actual size out of TD. 104 104 * … … 113 113 return ((s >> TD_STATUS_ACTLEN_POS) + 1) & TD_STATUS_ACTLEN_MASK; 114 114 } 115 115 /*----------------------------------------------------------------------------*/ 116 116 /** Check whether less than max data were received on SPD marked transfer. 117 117 * … … 129 129 (instance->status | TD_STATUS_SPD_FLAG) && act_size < max_size; 130 130 } 131 131 /*----------------------------------------------------------------------------*/ 132 132 /** Helper function for parsing value of toggle bit. 133 133 * … … 140 140 return (instance->device & TD_DEVICE_DATA_TOGGLE_ONE_FLAG) ? 1 : 0; 141 141 } 142 142 /*----------------------------------------------------------------------------*/ 143 143 /** Helper function for parsing value of active bit 144 144 * … … 151 151 return (instance->status & TD_STATUS_ERROR_ACTIVE) != 0; 152 152 } 153 153 /*----------------------------------------------------------------------------*/ 154 154 /** Helper function for setting IOC bit. 155 155 * … … 161 161 instance->status |= TD_STATUS_IOC_FLAG; 162 162 } 163 163 /*----------------------------------------------------------------------------*/ 164 164 #endif 165 165 /**
Note:
See TracChangeset
for help on using the changeset viewer.