Lines Matching refs:plog
319 bfa_plog_add(struct bfa_plog_s *plog, struct bfa_plog_rec_s *pl_rec) in bfa_plog_add() argument
324 if (plog->plog_enabled == 0) in bfa_plog_add()
332 tail = plog->tail; in bfa_plog_add()
334 pl_recp = &(plog->plog_recs[tail]); in bfa_plog_add()
339 BFA_PL_LOG_REC_INCR(plog->tail); in bfa_plog_add()
341 if (plog->head == plog->tail) in bfa_plog_add()
342 BFA_PL_LOG_REC_INCR(plog->head); in bfa_plog_add()
346 bfa_plog_init(struct bfa_plog_s *plog) in bfa_plog_init() argument
348 memset((char *)plog, 0, sizeof(struct bfa_plog_s)); in bfa_plog_init()
350 memcpy(plog->plog_sig, BFA_PL_SIG_STR, BFA_PL_SIG_LEN); in bfa_plog_init()
351 plog->head = plog->tail = 0; in bfa_plog_init()
352 plog->plog_enabled = 1; in bfa_plog_init()
356 bfa_plog_str(struct bfa_plog_s *plog, enum bfa_plog_mid mid, in bfa_plog_str() argument
362 if (plog->plog_enabled) { in bfa_plog_str()
371 bfa_plog_add(plog, &lp); in bfa_plog_str()
376 bfa_plog_intarr(struct bfa_plog_s *plog, enum bfa_plog_mid mid, in bfa_plog_intarr() argument
386 if (plog->plog_enabled) { in bfa_plog_intarr()
398 bfa_plog_add(plog, &lp); in bfa_plog_intarr()
403 bfa_plog_fchdr(struct bfa_plog_s *plog, enum bfa_plog_mid mid, in bfa_plog_fchdr() argument
411 if (plog->plog_enabled) { in bfa_plog_fchdr()
418 bfa_plog_intarr(plog, mid, event, misc, ints, 3); in bfa_plog_fchdr()
423 bfa_plog_fchdr_and_pl(struct bfa_plog_s *plog, enum bfa_plog_mid mid, in bfa_plog_fchdr_and_pl() argument
431 if (plog->plog_enabled) { in bfa_plog_fchdr_and_pl()
439 bfa_plog_intarr(plog, mid, event, misc, ints, 4); in bfa_plog_fchdr_and_pl()
783 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP, in hal_fcxp_tx_plog()
788 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, in hal_fcxp_tx_plog()
794 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_TX, in hal_fcxp_tx_plog()
808 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP, in hal_fcxp_rx_plog()
813 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, in hal_fcxp_rx_plog()
819 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_RX, in hal_fcxp_rx_plog()
1235 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_init()
1238 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_init()
1287 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_login()
1290 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_login()
1301 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_login()
1305 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_login()
1379 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_online()
1388 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_online()
1427 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_online_n2n_pid_wait()
1437 bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, in bfa_lps_sm_online_n2n_pid_wait()
2168 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_enabling_qwait()
2235 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_enabling()
2277 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkdown()
2287 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkdown()
2291 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkdown()
2327 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkdown()
2379 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkup()
2394 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_linkup()
2577 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_disabling()
2632 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_disabled()
2827 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_fcport_sm_faa_misconfig()
3552 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_trunk_scn()
3556 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_trunk_scn()
3560 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_trunk_scn()
3564 bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL, in bfa_trunk_scn()
5669 bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_UF, BFA_PL_EID_RX, in uf_recv()
5673 bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_UF, in uf_recv()