Lines Matching refs:p_eq
272 struct qed_eq *p_eq = cookie; in qed_eq_completion() local
273 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion()
277 u16 fw_cons_idx = le16_to_cpu(*p_eq->p_fw_cons); in qed_eq_completion()
327 struct qed_eq *p_eq; in qed_eq_alloc() local
330 p_eq = kzalloc(sizeof(*p_eq), GFP_ATOMIC); in qed_eq_alloc()
331 if (!p_eq) { in qed_eq_alloc()
342 &p_eq->chain)) { in qed_eq_alloc()
350 p_eq, in qed_eq_alloc()
351 &p_eq->eq_sb_index, in qed_eq_alloc()
352 &p_eq->p_fw_cons); in qed_eq_alloc()
354 return p_eq; in qed_eq_alloc()
357 qed_eq_free(p_hwfn, p_eq); in qed_eq_alloc()
362 struct qed_eq *p_eq) in qed_eq_setup() argument
364 qed_chain_reset(&p_eq->chain); in qed_eq_setup()
368 struct qed_eq *p_eq) in qed_eq_free() argument
370 if (!p_eq) in qed_eq_free()
372 qed_chain_free(p_hwfn->cdev, &p_eq->chain); in qed_eq_free()
373 kfree(p_eq); in qed_eq_free()