Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c550 priv->hw_fault_reporter = in hinic_health_reporters_create()
553 if (IS_ERR(priv->hw_fault_reporter)) { in hinic_health_reporters_create()
555 PTR_ERR(priv->hw_fault_reporter)); in hinic_health_reporters_create()
556 return PTR_ERR(priv->hw_fault_reporter); in hinic_health_reporters_create()
565 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_create()
566 priv->hw_fault_reporter = NULL; in hinic_health_reporters_create()
580 if (!IS_ERR_OR_NULL(priv->hw_fault_reporter)) { in hinic_health_reporters_destroy()
581 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_destroy()
582 priv->hw_fault_reporter = NULL; in hinic_health_reporters_destroy()
Dhinic_dev.h128 struct devlink_health_reporter *hw_fault_reporter; member
Dhinic_hw_dev.c704 if (!hwdev->devlink_dev || IS_ERR_OR_NULL(hwdev->devlink_dev->hw_fault_reporter)) in pf_fault_event_handler()
707 devlink_health_report(hwdev->devlink_dev->hw_fault_reporter, in pf_fault_event_handler()