Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c499 seq_id = HINIC_MSG_HEADER_GET(*header, SEQID); in recv_mgmt_msg_handler()
500 seg_len = HINIC_MSG_HEADER_GET(*header, SEG_LEN); in recv_mgmt_msg_handler()
510 if (!HINIC_MSG_HEADER_GET(*header, LAST)) in recv_mgmt_msg_handler()
513 recv_msg->cmd = HINIC_MSG_HEADER_GET(*header, CMD); in recv_mgmt_msg_handler()
514 recv_msg->mod = HINIC_MSG_HEADER_GET(*header, MODULE); in recv_mgmt_msg_handler()
515 recv_msg->async_mgmt_to_pf = HINIC_MSG_HEADER_GET(*header, in recv_mgmt_msg_handler()
517 recv_msg->msg_len = HINIC_MSG_HEADER_GET(*header, MSG_LEN); in recv_mgmt_msg_handler()
518 recv_msg->msg_id = HINIC_MSG_HEADER_GET(*header, MSG_ID); in recv_mgmt_msg_handler()
520 if (HINIC_MSG_HEADER_GET(*header, DIRECTION) == MGMT_RESP) in recv_mgmt_msg_handler()
538 recv_msg = HINIC_MSG_HEADER_GET(*header, DIRECTION) == in mgmt_msg_aeqe_handler()
Dhinic_hw_mgmt.h50 #define HINIC_MSG_HEADER_GET(val, member) \ macro