Searched refs:REQ_HDR_LEN (Results 1 – 2 of 2) sorted by relevance
19 #define REQ_HDR_LEN 8 /* send header size */ in af9015_ctrl_msg() macro67 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()
34 #define REQ_HDR_LEN 4 /* send header size */ in af9035_ctrl_msg() macro46 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()