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