p_cmd_elem 128 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem = NULL; p_cmd_elem 130 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem = kzalloc(sizeof(*p_cmd_elem), GFP_ATOMIC); p_cmd_elem 131 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_cmd_elem) p_cmd_elem 134 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem->p_mb_params = p_mb_params; p_cmd_elem 135 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem->expected_seq_num = expected_seq_num; p_cmd_elem 136 drivers/net/ethernet/qlogic/qed/qed_mcp.c list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); p_cmd_elem 138 drivers/net/ethernet/qlogic/qed/qed_mcp.c return p_cmd_elem; p_cmd_elem 143 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem) p_cmd_elem 145 drivers/net/ethernet/qlogic/qed/qed_mcp.c list_del(&p_cmd_elem->list); p_cmd_elem 146 drivers/net/ethernet/qlogic/qed/qed_mcp.c kfree(p_cmd_elem); p_cmd_elem 153 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem = NULL; p_cmd_elem 155 drivers/net/ethernet/qlogic/qed/qed_mcp.c list_for_each_entry(p_cmd_elem, &p_hwfn->mcp_info->cmd_list, list) { p_cmd_elem 156 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (p_cmd_elem->expected_seq_num == seq_num) p_cmd_elem 157 drivers/net/ethernet/qlogic/qed/qed_mcp.c return p_cmd_elem; p_cmd_elem 166 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem, *p_tmp; p_cmd_elem 172 drivers/net/ethernet/qlogic/qed/qed_mcp.c list_for_each_entry_safe(p_cmd_elem, p_cmd_elem 175 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd_del_elem(p_hwfn, p_cmd_elem); p_cmd_elem 364 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem; p_cmd_elem 370 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem = list_first_entry(&p_hwfn->mcp_info->cmd_list, p_cmd_elem 372 drivers/net/ethernet/qlogic/qed/qed_mcp.c return !p_cmd_elem->b_is_completed; p_cmd_elem 383 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem; p_cmd_elem 394 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem = qed_mcp_cmd_get_elem(p_hwfn, seq_num); p_cmd_elem 395 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_cmd_elem) { p_cmd_elem 402 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_mb_params = p_cmd_elem->p_mb_params; p_cmd_elem 419 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem->b_is_completed = true; p_cmd_elem 488 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_mcp_cmd_elem *p_cmd_elem; p_cmd_elem 528 drivers/net/ethernet/qlogic/qed/qed_mcp.c p_cmd_elem = qed_mcp_cmd_add_elem(p_hwfn, p_mb_params, seq_num); p_cmd_elem 529 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (!p_cmd_elem) { p_cmd_elem 551 drivers/net/ethernet/qlogic/qed/qed_mcp.c if (p_cmd_elem->b_is_completed) p_cmd_elem 570 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd_del_elem(p_hwfn, p_cmd_elem); p_cmd_elem 579 drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_cmd_del_elem(p_hwfn, p_cmd_elem);