Lines Matching defs:plog
270 bfa_plog_add(struct bfa_plog_s *plog, struct bfa_plog_rec_s *pl_rec)
275 if (plog->plog_enabled == 0)
283 tail = plog->tail;
285 pl_recp = &(plog->plog_recs[tail]);
290 BFA_PL_LOG_REC_INCR(plog->tail);
292 if (plog->head == plog->tail)
293 BFA_PL_LOG_REC_INCR(plog->head);
297 bfa_plog_init(struct bfa_plog_s *plog)
299 memset((char *)plog, 0, sizeof(struct bfa_plog_s));
301 memcpy(plog->plog_sig, BFA_PL_SIG_STR, BFA_PL_SIG_LEN);
302 plog->head = plog->tail = 0;
303 plog->plog_enabled = 1;
307 bfa_plog_str(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
313 if (plog->plog_enabled) {
322 bfa_plog_add(plog, &lp);
327 bfa_plog_intarr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
337 if (plog->plog_enabled) {
349 bfa_plog_add(plog, &lp);
354 bfa_plog_fchdr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
361 if (plog->plog_enabled) {
366 bfa_plog_intarr(plog, mid, event, misc, ints, 3);
371 bfa_plog_fchdr_and_pl(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
378 if (plog->plog_enabled) {
384 bfa_plog_intarr(plog, mid, event, misc, ints, 4);
713 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
718 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
724 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_TX,
738 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
743 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
749 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_RX,
1142 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1145 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1194 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1197 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1208 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1212 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1286 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1295 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1334 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1344 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
2060 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2127 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2169 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2179 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2183 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2219 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2271 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2286 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2469 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2524 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2719 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3419 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3423 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3427 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3431 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
5461 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_UF, BFA_PL_EID_RX,
5465 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_UF,