Lines Matching refs:p_eq
358 struct qed_eq *p_eq = cookie; in qed_eq_completion() local
359 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion()
363 u16 fw_cons_idx = le16_to_cpu(*p_eq->p_fw_cons); in qed_eq_completion()
412 struct qed_eq *p_eq; in qed_eq_alloc() local
415 p_eq = kzalloc(sizeof(*p_eq), GFP_KERNEL); in qed_eq_alloc()
416 if (!p_eq) in qed_eq_alloc()
426 &p_eq->chain, NULL)) in qed_eq_alloc()
431 p_eq, &p_eq->eq_sb_index, &p_eq->p_fw_cons); in qed_eq_alloc()
433 p_hwfn->p_eq = p_eq; in qed_eq_alloc()
437 kfree(p_eq); in qed_eq_alloc()
443 qed_chain_reset(&p_hwfn->p_eq->chain); in qed_eq_setup()
448 if (!p_hwfn->p_eq) in qed_eq_free()
451 qed_chain_free(p_hwfn->cdev, &p_hwfn->p_eq->chain); in qed_eq_free()
453 kfree(p_hwfn->p_eq); in qed_eq_free()
454 p_hwfn->p_eq = NULL; in qed_eq_free()