Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c552 priv->hw_fault_reporter = in hinic_health_reporters_create()
555 if (IS_ERR(priv->hw_fault_reporter)) { in hinic_health_reporters_create()
557 PTR_ERR(priv->hw_fault_reporter)); in hinic_health_reporters_create()
558 return PTR_ERR(priv->hw_fault_reporter); in hinic_health_reporters_create()
567 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_create()
568 priv->hw_fault_reporter = NULL; in hinic_health_reporters_create()
582 if (!IS_ERR_OR_NULL(priv->hw_fault_reporter)) { in hinic_health_reporters_destroy()
583 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_destroy()
584 priv->hw_fault_reporter = NULL; in hinic_health_reporters_destroy()
Dhinic_dev.h124 struct devlink_health_reporter *hw_fault_reporter; member
Dhinic_hw_dev.c710 if (!hwdev->devlink_dev || IS_ERR_OR_NULL(hwdev->devlink_dev->hw_fault_reporter)) in pf_fault_event_handler()
713 devlink_health_report(hwdev->devlink_dev->hw_fault_reporter, in pf_fault_event_handler()