Home
last modified time | relevance | path

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

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