Home
last modified time | relevance | path

Searched refs:fw_health (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c105 struct bnxt_fw_health *h = bp->fw_health; in bnxt_fw_diagnose()
200 if (bp->fw_health->severity == SEVERITY_FATAL) in bnxt_fw_recover()
234 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_dl_fw_reporters_create() local
236 if (fw_health && !fw_health->fw_reporter) in bnxt_dl_fw_reporters_create()
237 fw_health->fw_reporter = __bnxt_dl_reporter_create(bp, &bnxt_dl_fw_reporter_ops); in bnxt_dl_fw_reporters_create()
242 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_dl_fw_reporters_destroy() local
244 if (fw_health && fw_health->fw_reporter) { in bnxt_dl_fw_reporters_destroy()
245 devlink_health_reporter_destroy(fw_health->fw_reporter); in bnxt_dl_fw_reporters_destroy()
246 fw_health->fw_reporter = NULL; in bnxt_dl_fw_reporters_destroy()
252 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_devlink_health_fw_report() local
[all …]
H A Dbnxt.c2339 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_fw_health_readl() local
2340 u32 reg = fw_health->regs[reg_idx]; in bnxt_fw_health_readl()
2350 reg_off = fw_health->mapped_regs[reg_idx]; in bnxt_fw_health_readl()
2360 val &= fw_health->fw_reset_inprog_reg_mask; in bnxt_fw_health_readl()
2636 if (!bp->fw_health) in bnxt_async_event_process()
2650 bp->fw_health->fatalities++; in bnxt_async_event_process()
2655 bp->fw_health->survivals++; in bnxt_async_event_process()
2667 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_async_event_process() local
2671 if (!fw_health) in bnxt_async_event_process()
2675 fw_health->enabled = false; in bnxt_async_event_process()
[all …]
H A Dbnxt_hwrm.c452 if (!bp->fw_health || !bp->fw_health->status_reliable) in hwrm_wait_must_abort()
H A Dbnxt.h2549 struct bnxt_fw_health *fw_health; member