Lines Matching refs:p_eq
424 struct ecore_eq *p_eq = cookie;
425 struct ecore_chain *p_chain = &p_eq->chain;
429 u16 fw_cons_idx = OSAL_LE16_TO_CPU(*p_eq->p_fw_cons);
492 struct ecore_eq *p_eq;
495 p_eq = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, sizeof(*p_eq));
496 if (!p_eq) {
509 &p_eq->chain, OSAL_NULL) != ECORE_SUCCESS) {
516 p_eq, &p_eq->eq_sb_index, &p_eq->p_fw_cons);
518 p_hwfn->p_eq = p_eq;
522 OSAL_FREE(p_hwfn->p_dev, p_eq);
528 ecore_chain_reset(&p_hwfn->p_eq->chain);
533 if (!p_hwfn->p_eq)
536 ecore_chain_free(p_hwfn->p_dev, &p_hwfn->p_eq->chain);
538 OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_eq);
539 p_hwfn->p_eq = OSAL_NULL;