Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c562 priv->hw_fault_reporter = in hinic_health_reporters_create()
565 if (IS_ERR(priv->hw_fault_reporter)) { in hinic_health_reporters_create()
567 PTR_ERR(priv->hw_fault_reporter)); in hinic_health_reporters_create()
568 return PTR_ERR(priv->hw_fault_reporter); in hinic_health_reporters_create()
577 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_create()
578 priv->hw_fault_reporter = NULL; in hinic_health_reporters_create()
592 if (!IS_ERR_OR_NULL(priv->hw_fault_reporter)) { in hinic_health_reporters_destroy()
593 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_destroy()
594 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()