Lines Matching refs:p_eq
324 struct qed_eq *p_eq = cookie; in qed_eq_completion() local
325 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion()
329 u16 fw_cons_idx = le16_to_cpu(*p_eq->p_fw_cons); in qed_eq_completion()
390 struct qed_eq *p_eq; in qed_eq_alloc() local
394 p_eq = kzalloc(sizeof(*p_eq), GFP_KERNEL); in qed_eq_alloc()
395 if (!p_eq) in qed_eq_alloc()
398 ret = qed_chain_alloc(p_hwfn->cdev, &p_eq->chain, ¶ms); in qed_eq_alloc()
406 p_eq, &p_eq->eq_sb_index, &p_eq->p_fw_cons); in qed_eq_alloc()
408 p_hwfn->p_eq = p_eq; in qed_eq_alloc()
412 kfree(p_eq); in qed_eq_alloc()
419 qed_chain_reset(&p_hwfn->p_eq->chain); in qed_eq_setup()
424 if (!p_hwfn->p_eq) in qed_eq_free()
427 qed_chain_free(p_hwfn->cdev, &p_hwfn->p_eq->chain); in qed_eq_free()
429 kfree(p_hwfn->p_eq); in qed_eq_free()
430 p_hwfn->p_eq = NULL; in qed_eq_free()