Lines Matching refs:wNBlocks
903 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
906 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
909 (wNBlocks)--; \
912 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
915 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
918 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
921 (wNBlocks)++; \
923 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
928 uint32_t wNBlocks; \
938 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
942 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \