Lines Matching refs:CMD_PACKET_SIZE
55 #define CMD_PACKET_SIZE 64 /* Should be maxpacket(ep)? */
56 #define CMD_MAX_CONFIG ((CMD_PACKET_SIZE / 4 - 1) / 2)
458 __le32 data[CMD_PACKET_SIZE / 4];
589 const int stride = CMD_PACKET_SIZE - 4;
592 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE;
593 int rbuflen = ((rsize - 1) / stride + 1) * CMD_PACKET_SIZE;
618 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) {
646 if (actlen % CMD_PACKET_SIZE || !actlen) {
655 for (offb = offd = 0; offd < rsize && offb < actlen; offb += CMD_PACKET_SIZE) {
690 const int stride = CMD_PACKET_SIZE / (4 * 2) - 1;
939 const int stride = CMD_PACKET_SIZE - 8;