Home
last modified time | relevance | path

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

/linux/drivers/net/usb/
A Dcx82310_eth.c36 #define CMD_PACKET_SIZE 64 macro
59 u8 *buf = kzalloc(CMD_PACKET_SIZE, GFP_KERNEL); in cx82310_cmd()
67 memcpy(buf + 4, wdata, min_t(int, wlen, CMD_PACKET_SIZE - 4)); in cx82310_cmd()
71 CMD_PACKET_SIZE, &actual_len, CMD_TIMEOUT); in cx82310_cmd()
83 buf, CMD_PACKET_SIZE, &actual_len, in cx82310_cmd()
113 min_t(int, rlen, CMD_PACKET_SIZE - 4)); in cx82310_cmd()
/linux/drivers/usb/atm/
A Dcxacru.c39 #define CMD_PACKET_SIZE 64 /* Should be maxpacket(ep)? */ macro
40 #define CMD_MAX_CONFIG ((CMD_PACKET_SIZE / 4 - 1) / 2)
442 __le32 data[CMD_PACKET_SIZE / 4]; in adsl_config_store()
613 const int stride = CMD_PACKET_SIZE - 4; in cxacru_cm()
616 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm()
617 int rbuflen = ((rsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm()
642 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { in cxacru_cm()
670 if (actlen % CMD_PACKET_SIZE || !actlen) { in cxacru_cm()
679 for (offb = offd = 0; offd < rsize && offb < actlen; offb += CMD_PACKET_SIZE) { in cxacru_cm()
715 const int stride = CMD_PACKET_SIZE / (4 * 2) - 1; in cxacru_cm_get_array()
[all …]

Completed in 7 milliseconds