Lines Matching refs:p_chain
232 struct qed_chain *p_chain = &p_hwfn->p_spq->chain; in qed_spq_hw_post() local
234 u16 echo = qed_chain_get_prod_idx(p_chain); in qed_spq_hw_post()
238 elem = qed_chain_produce(p_chain); in qed_spq_hw_post()
247 p_db_data->spq_prod = cpu_to_le16(qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post()
262 p_db_data->agg_flags, qed_chain_get_prod_idx(p_chain)); in qed_spq_hw_post()
327 struct qed_chain *p_chain = &p_eq->chain; in qed_eq_completion() local
338 if ((fw_cons_idx & qed_chain_get_usable_per_page(p_chain)) == in qed_eq_completion()
339 qed_chain_get_usable_per_page(p_chain)) in qed_eq_completion()
340 fw_cons_idx += qed_chain_get_unusable_per_page(p_chain); in qed_eq_completion()
343 while (fw_cons_idx != qed_chain_get_cons_idx(p_chain)) { in qed_eq_completion()
344 struct event_ring_entry *p_eqe = qed_chain_consume(p_chain); in qed_eq_completion()
370 qed_chain_recycle_consumed(p_chain); in qed_eq_completion()
373 qed_eq_prod_update(p_hwfn, qed_chain_get_prod_idx(p_chain)); in qed_eq_completion()