Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h

    r76fbd9a r5d915b7  
    100100
    101101void td_print_status(const td_t *instance);
    102 
     102/*----------------------------------------------------------------------------*/
    103103/** Helper function for parsing actual size out of TD.
    104104 *
     
    113113        return ((s >> TD_STATUS_ACTLEN_POS) + 1) & TD_STATUS_ACTLEN_MASK;
    114114}
    115 
     115/*----------------------------------------------------------------------------*/
    116116/** Check whether less than max data were received on SPD marked transfer.
    117117 *
     
    129129            (instance->status | TD_STATUS_SPD_FLAG) && act_size < max_size;
    130130}
    131 
     131/*----------------------------------------------------------------------------*/
    132132/** Helper function for parsing value of toggle bit.
    133133 *
     
    140140        return (instance->device & TD_DEVICE_DATA_TOGGLE_ONE_FLAG) ? 1 : 0;
    141141}
    142 
     142/*----------------------------------------------------------------------------*/
    143143/** Helper function for parsing value of active bit
    144144 *
     
    151151        return (instance->status & TD_STATUS_ERROR_ACTIVE) != 0;
    152152}
    153 
     153/*----------------------------------------------------------------------------*/
    154154/** Helper function for setting IOC bit.
    155155 *
     
    161161        instance->status |= TD_STATUS_IOC_FLAG;
    162162}
    163 
     163/*----------------------------------------------------------------------------*/
    164164#endif
    165165/**
Note: See TracChangeset for help on using the changeset viewer.