Home
last modified time | relevance | path

Searched refs:fw_reporter (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c29 if (qdl->fw_reporter) in qed_report_fatal_error()
30 devlink_health_report(qdl->fw_reporter, in qed_report_fatal_error()
102 dl->fw_reporter = devlink_health_reporter_create(devlink, &qed_fw_fatal_reporter_ops, in qed_fw_reporters_create()
104 if (IS_ERR(dl->fw_reporter)) { in qed_fw_reporters_create()
106 PTR_ERR(dl->fw_reporter)); in qed_fw_reporters_create()
107 dl->fw_reporter = NULL; in qed_fw_reporters_create()
116 rep = dl->fw_reporter; in qed_fw_reporters_destroy()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c597 if (IS_ERR_OR_NULL(health->fw_reporter)) in mlx5_fw_reporter_err_work()
603 devlink_health_report(health->fw_reporter, in mlx5_fw_reporter_err_work()
608 devlink_health_report(health->fw_reporter, in mlx5_fw_reporter_err_work()
732 health->fw_reporter = in mlx5_fw_reporters_create()
735 if (IS_ERR(health->fw_reporter)) in mlx5_fw_reporters_create()
737 PTR_ERR(health->fw_reporter)); in mlx5_fw_reporters_create()
753 if (!IS_ERR_OR_NULL(health->fw_reporter)) in mlx5_fw_reporters_destroy()
754 devlink_health_reporter_destroy(health->fw_reporter); in mlx5_fw_reporters_destroy()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c126 devlink_health_report(h->fw_reporter, in bnxt_fw_diagnose()
265 if (fw_health && !fw_health->fw_reporter) in bnxt_dl_fw_reporters_create()
266 fw_health->fw_reporter = __bnxt_dl_reporter_create(bp, &bnxt_dl_fw_reporter_ops); in bnxt_dl_fw_reporters_create()
273 if (fw_health && fw_health->fw_reporter) { in bnxt_dl_fw_reporters_destroy()
274 devlink_health_reporter_destroy(fw_health->fw_reporter); in bnxt_dl_fw_reporters_destroy()
275 fw_health->fw_reporter = NULL; in bnxt_dl_fw_reporters_destroy()
287 if (!fw_health->fw_reporter) { in bnxt_devlink_health_fw_report()
296 rc = devlink_health_report(fw_health->fw_reporter, "FW error reported", in bnxt_devlink_health_fw_report()
317 devlink_health_reporter_state_update(fw_health->fw_reporter, state); in bnxt_dl_health_fw_status_update()
324 devlink_health_reporter_recovery_done(bp->fw_health->fw_reporter); in bnxt_dl_health_fw_recovery_done()
H A Dbnxt.h1609 struct devlink_health_reporter *fw_reporter; member
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c283 pdsc->fw_reporter = hr; in pdsc_init_pf()
404 if (pdsc->fw_reporter) { in pdsc_remove()
405 devl_health_reporter_destroy(pdsc->fw_reporter); in pdsc_remove()
406 pdsc->fw_reporter = NULL; in pdsc_remove()
H A Dcore.c551 if (pdsc->fw_reporter) in pdsc_fw_down()
552 devlink_health_report(pdsc->fw_reporter, "FW down reported", pdsc); in pdsc_fw_down()
587 if (pdsc->fw_reporter) in pdsc_fw_up()
588 devlink_health_reporter_state_update(pdsc->fw_reporter, in pdsc_fw_up()
H A Dcore.h173 struct devlink_health_reporter *fw_reporter; member
/openbmc/linux/include/linux/qed/
H A Dqed_if.h808 struct devlink_health_reporter *fw_reporter; member
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h441 struct devlink_health_reporter *fw_reporter; member