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

/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Daf9015.c33 #define REQ_HDR_LEN 8 /* send header size */ af9015_ctrl_msg() macro
79 if ((write && (req->data_len > BUF_LEN - REQ_HDR_LEN)) || af9015_ctrl_msg()
89 wlen = REQ_HDR_LEN; af9015_ctrl_msg()
93 memcpy(&state->buf[REQ_HDR_LEN], req->data, req->data_len); af9015_ctrl_msg()
H A Daf9035.c47 #define REQ_HDR_LEN 4 /* send header size */ af9035_ctrl_msg() macro
58 if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || af9035_ctrl_msg()
66 state->buf[0] = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN - 1; af9035_ctrl_msg()
70 memcpy(&state->buf[REQ_HDR_LEN], req->wbuf, req->wlen); af9035_ctrl_msg()
72 wlen = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN; af9035_ctrl_msg()

Completed in 83 milliseconds