Home
last modified time | relevance | path

Searched refs:maxpktsize (Results 1 – 1 of 1) sorted by relevance

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp159 byte maxpktsize = devtable[ addr ].epinfo[ ep ].MaxPktSize; in inTransfer() local
179 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in inTransfer()
195 byte maxpktsize = devtable[ addr ].epinfo[ ep ].MaxPktSize; in newInTransfer() local
215 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in newInTransfer()
237 byte maxpktsize = devtable[ addr ].epinfo[ ep ].MaxPktSize; in outTransfer() local
240 if (!maxpktsize) { //todo: move this check close to epinfo init. Make it 1< pktsize <64 in outTransfer()
248 bytes_tosend = ( bytes_left >= maxpktsize ) ? maxpktsize : bytes_left; in outTransfer()