Lines Matching defs:plog
284 bfa_plog_add(struct bfa_plog_s *plog, struct bfa_plog_rec_s *pl_rec)
289 if (plog->plog_enabled == 0)
297 tail = plog->tail;
299 pl_recp = &(plog->plog_recs[tail]);
304 BFA_PL_LOG_REC_INCR(plog->tail);
306 if (plog->head == plog->tail)
307 BFA_PL_LOG_REC_INCR(plog->head);
311 bfa_plog_init(struct bfa_plog_s *plog)
313 memset((char *)plog, 0, sizeof(struct bfa_plog_s));
315 memcpy(plog->plog_sig, BFA_PL_SIG_STR, BFA_PL_SIG_LEN);
316 plog->head = plog->tail = 0;
317 plog->plog_enabled = 1;
321 bfa_plog_str(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
327 if (plog->plog_enabled) {
336 bfa_plog_add(plog, &lp);
341 bfa_plog_intarr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
351 if (plog->plog_enabled) {
363 bfa_plog_add(plog, &lp);
368 bfa_plog_fchdr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
376 if (plog->plog_enabled) {
383 bfa_plog_intarr(plog, mid, event, misc, ints, 3);
388 bfa_plog_fchdr_and_pl(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
396 if (plog->plog_enabled) {
404 bfa_plog_intarr(plog, mid, event, misc, ints, 4);
733 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
738 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
744 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_TX,
758 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
763 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
769 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_RX,
1185 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1188 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1237 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1240 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1251 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1255 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1329 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1338 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1377 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
1387 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
2103 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2170 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2212 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2222 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2226 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2262 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2314 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2329 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2512 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2567 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
2762 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3462 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3466 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3470 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
3474 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
5536 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_UF, BFA_PL_EID_RX,
5540 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_UF,