FM10K_MSG_HDR_FIELD_SET
mbx->mbx_hdr = FM10K_MSG_HDR_FIELD_SET(mbx->tail, SM_TAIL) |
FM10K_MSG_HDR_FIELD_SET(mbx->remote, SM_VER) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, SM_HEAD);
mbx->mbx_hdr = FM10K_MSG_HDR_FIELD_SET(mbx->tail, SM_TAIL) |
FM10K_MSG_HDR_FIELD_SET(mbx->remote, SM_VER) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, SM_HEAD) |
FM10K_MSG_HDR_FIELD_SET(err, SM_ERR);
mbx->mbx_hdr = FM10K_MSG_HDR_FIELD_SET(FM10K_MSG_CONNECT, TYPE) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, HEAD) |
FM10K_MSG_HDR_FIELD_SET(mbx->rx.size - 1, CONNECT_SIZE);
u32 hdr = FM10K_MSG_HDR_FIELD_SET(FM10K_MSG_DATA, TYPE) |
FM10K_MSG_HDR_FIELD_SET(mbx->tail, TAIL) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, HEAD);
mbx->mbx_hdr = hdr | FM10K_MSG_HDR_FIELD_SET(crc, CRC);
u32 hdr = FM10K_MSG_HDR_FIELD_SET(FM10K_MSG_DISCONNECT, TYPE) |
FM10K_MSG_HDR_FIELD_SET(mbx->tail, TAIL) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, HEAD);
mbx->mbx_hdr = hdr | FM10K_MSG_HDR_FIELD_SET(crc, CRC);
u32 hdr = FM10K_MSG_HDR_FIELD_SET(FM10K_MSG_DISCONNECT, TYPE) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, TAIL) |
FM10K_MSG_HDR_FIELD_SET(mbx->tail, HEAD);
mbx->mbx_hdr = hdr | FM10K_MSG_HDR_FIELD_SET(crc, CRC);
mbx->mbx_hdr = FM10K_MSG_HDR_FIELD_SET(FM10K_MSG_ERROR, TYPE) |
FM10K_MSG_HDR_FIELD_SET(err, ERR_NO) |
FM10K_MSG_HDR_FIELD_SET(mbx->head, HEAD);