Home
last modified time | relevance | path

Searched refs:fw_fault_reporter (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c559 priv->fw_fault_reporter = in hinic_health_reporters_create()
562 if (IS_ERR(priv->fw_fault_reporter)) { in hinic_health_reporters_create()
564 PTR_ERR(priv->fw_fault_reporter)); in hinic_health_reporters_create()
567 return PTR_ERR(priv->fw_fault_reporter); in hinic_health_reporters_create()
575 if (!IS_ERR_OR_NULL(priv->fw_fault_reporter)) { in hinic_health_reporters_destroy()
576 devlink_health_reporter_destroy(priv->fw_fault_reporter); in hinic_health_reporters_destroy()
577 priv->fw_fault_reporter = NULL; in hinic_health_reporters_destroy()
H A Dhinic_dev.h129 struct devlink_health_reporter *fw_fault_reporter; member
H A Dhinic_hw_dev.c724 if (!hwdev->devlink_dev || IS_ERR_OR_NULL(hwdev->devlink_dev->fw_fault_reporter)) in mgmt_watchdog_timeout_event_handler()
727 devlink_health_report(hwdev->devlink_dev->fw_fault_reporter, in mgmt_watchdog_timeout_event_handler()