Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c156 static void prepare_mgmt_cmd(u8 *mgmt_cmd, u64 *header, u8 *msg, u16 msg_len) in prepare_mgmt_cmd() argument
158 memset(mgmt_cmd, 0, MGMT_MSG_RSVD_FOR_DEV); in prepare_mgmt_cmd()
160 mgmt_cmd += MGMT_MSG_RSVD_FOR_DEV; in prepare_mgmt_cmd()
161 memcpy(mgmt_cmd, header, sizeof(*header)); in prepare_mgmt_cmd()
163 mgmt_cmd += sizeof(*header); in prepare_mgmt_cmd()
164 memcpy(mgmt_cmd, msg, msg_len); in prepare_mgmt_cmd()