Searched refs:p_cmd_elem (Results 1 – 1 of 1) sorted by relevance
105 struct qed_mcp_cmd_elem *p_cmd_elem = NULL; in qed_mcp_cmd_add_elem() local107 p_cmd_elem = kzalloc(sizeof(*p_cmd_elem), GFP_ATOMIC); in qed_mcp_cmd_add_elem()108 if (!p_cmd_elem) in qed_mcp_cmd_add_elem()111 p_cmd_elem->p_mb_params = p_mb_params; in qed_mcp_cmd_add_elem()112 p_cmd_elem->expected_seq_num = expected_seq_num; in qed_mcp_cmd_add_elem()113 list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); in qed_mcp_cmd_add_elem()115 return p_cmd_elem; in qed_mcp_cmd_add_elem()120 struct qed_mcp_cmd_elem *p_cmd_elem) in qed_mcp_cmd_del_elem() argument122 list_del(&p_cmd_elem->list); in qed_mcp_cmd_del_elem()123 kfree(p_cmd_elem); in qed_mcp_cmd_del_elem()[all …]