Searched refs:CMD_PACKET_SIZE (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/atm/
H A Dcxacru.c55 #define CMD_PACKET_SIZE 64 /* Should be maxpacket(ep)? */ macro
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 / (
[all...]

Completed in 135 milliseconds