Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c128 struct qed_mcp_cmd_elem *p_cmd_elem = NULL; in qed_mcp_cmd_add_elem() local
130 p_cmd_elem = kzalloc(sizeof(*p_cmd_elem), GFP_ATOMIC); in qed_mcp_cmd_add_elem()
131 if (!p_cmd_elem) in qed_mcp_cmd_add_elem()
134 p_cmd_elem->p_mb_params = p_mb_params; in qed_mcp_cmd_add_elem()
135 p_cmd_elem->expected_seq_num = expected_seq_num; in qed_mcp_cmd_add_elem()
136 list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); in qed_mcp_cmd_add_elem()
138 return p_cmd_elem; in qed_mcp_cmd_add_elem()
143 struct qed_mcp_cmd_elem *p_cmd_elem) in qed_mcp_cmd_del_elem() argument
145 list_del(&p_cmd_elem->list); in qed_mcp_cmd_del_elem()
146 kfree(p_cmd_elem); in qed_mcp_cmd_del_elem()
[all …]