Searched refs:mgmt_cmd (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mgmt.c | 155 static void prepare_mgmt_cmd(u8 *mgmt_cmd, u64 *header, u8 *msg, u16 msg_len) in prepare_mgmt_cmd() argument 157 memset(mgmt_cmd, 0, MGMT_MSG_RSVD_FOR_DEV); in prepare_mgmt_cmd() 159 mgmt_cmd += MGMT_MSG_RSVD_FOR_DEV; in prepare_mgmt_cmd() 160 memcpy(mgmt_cmd, header, sizeof(*header)); in prepare_mgmt_cmd() 162 mgmt_cmd += sizeof(*header); in prepare_mgmt_cmd() 163 memcpy(mgmt_cmd, msg, msg_len); in prepare_mgmt_cmd()
|
/linux-5.19.10/sound/soc/qcom/qdsp6/ |
D | q6apm.c | 97 struct apm_graph_mgmt_cmd *mgmt_cmd; in audioreach_graph_mgmt_cmd() local 103 payload_size = APM_GRAPH_MGMT_PSIZE(mgmt_cmd, num_sub_graphs); in audioreach_graph_mgmt_cmd() 109 mgmt_cmd = (void *)pkt + GPR_HDR_SIZE + APM_CMD_HDR_SIZE; in audioreach_graph_mgmt_cmd() 111 mgmt_cmd->num_sub_graphs = num_sub_graphs; in audioreach_graph_mgmt_cmd() 113 param_data = &mgmt_cmd->param_data; in audioreach_graph_mgmt_cmd() 119 mgmt_cmd->sub_graph_id_list[i++] = sg->sub_graph_id; in audioreach_graph_mgmt_cmd()
|