Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c495 seq_id = HINIC_MSG_HEADER_GET(*header, SEQID); in recv_mgmt_msg_handler()
496 seg_len = HINIC_MSG_HEADER_GET(*header, SEG_LEN); in recv_mgmt_msg_handler()
506 if (!HINIC_MSG_HEADER_GET(*header, LAST)) in recv_mgmt_msg_handler()
509 recv_msg->cmd = HINIC_MSG_HEADER_GET(*header, CMD); in recv_mgmt_msg_handler()
510 recv_msg->mod = HINIC_MSG_HEADER_GET(*header, MODULE); in recv_mgmt_msg_handler()
511 recv_msg->async_mgmt_to_pf = HINIC_MSG_HEADER_GET(*header, in recv_mgmt_msg_handler()
513 recv_msg->msg_len = HINIC_MSG_HEADER_GET(*header, MSG_LEN); in recv_mgmt_msg_handler()
514 recv_msg->msg_id = HINIC_MSG_HEADER_GET(*header, MSG_ID); in recv_mgmt_msg_handler()
516 if (HINIC_MSG_HEADER_GET(*header, DIRECTION) == MGMT_RESP) in recv_mgmt_msg_handler()
534 recv_msg = HINIC_MSG_HEADER_GET(*header, DIRECTION) == in mgmt_msg_aeqe_handler()
H A Dhinic_hw_mgmt.h50 #define HINIC_MSG_HEADER_GET(val, member) \ macro