Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Daf9015.c19 #define REQ_HDR_LEN 8 /* send header size */ in af9015_ctrl_msg() macro
67 if ((write && (req->data_len > BUF_LEN - REQ_HDR_LEN)) || in af9015_ctrl_msg()
79 wlen = REQ_HDR_LEN; in af9015_ctrl_msg()
83 memcpy(&state->buf[REQ_HDR_LEN], req->data, req->data_len); in af9015_ctrl_msg()
307 #define LEN_MAX (BUF_LEN - REQ_HDR_LEN) /* Max payload size */ in af9015_download_firmware()
Daf9035.c34 #define REQ_HDR_LEN 4 /* send header size */ in af9035_ctrl_msg() macro
46 if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || in af9035_ctrl_msg()
54 state->buf[0] = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN - 1; in af9035_ctrl_msg()
58 memcpy(&state->buf[REQ_HDR_LEN], req->wbuf, req->wlen); in af9035_ctrl_msg()
60 wlen = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN; in af9035_ctrl_msg()