Home
last modified time | relevance | path

Searched refs:fw_health (Results 1 – 3 of 3) 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.c2340 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_fw_health_readl() local
2341 u32 reg = fw_health->regs[reg_idx]; in bnxt_fw_health_readl()
2351 reg_off = fw_health->mapped_regs[reg_idx]; in bnxt_fw_health_readl()
2361 val &= fw_health->fw_reset_inprog_reg_mask; in bnxt_fw_health_readl()
2637 if (!bp->fw_health) in bnxt_async_event_process()
2651 bp->fw_health->fatalities++; in bnxt_async_event_process()
2656 bp->fw_health->survivals++; in bnxt_async_event_process()
2668 struct bnxt_fw_health *fw_health = bp->fw_health; in bnxt_async_event_process() local
2672 if (!fw_health) in bnxt_async_event_process()
2676 fw_health->enabled = false; in bnxt_async_event_process()
[all …]
H A Dbnxt.h2549 struct bnxt_fw_health *fw_health; member