Lines Matching refs:CMD_PACKET_SIZE
54 #define CMD_PACKET_SIZE 64 /* Should be maxpacket(ep)? */ macro
55 #define CMD_MAX_CONFIG ((CMD_PACKET_SIZE / 4 - 1) / 2)
457 __le32 data[CMD_PACKET_SIZE / 4]; in cxacru_sysfs_store_adsl_config()
588 const int stride = CMD_PACKET_SIZE - 4; in cxacru_cm()
591 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm()
592 int rbuflen = ((rsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm()
617 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { in cxacru_cm()
645 if (actlen % CMD_PACKET_SIZE || !actlen) { in cxacru_cm()
654 for (offb = offd = 0; offd < rsize && offb < actlen; offb += CMD_PACKET_SIZE) { in cxacru_cm()
690 const int stride = CMD_PACKET_SIZE / (4 * 2) - 1; in cxacru_cm_get_array()
939 const int stride = CMD_PACKET_SIZE - 8; in cxacru_fw()