Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c445 priv->hw_fault_reporter = in hinic_health_reporters_create()
449 if (IS_ERR(priv->hw_fault_reporter)) { in hinic_health_reporters_create()
451 PTR_ERR(priv->hw_fault_reporter)); in hinic_health_reporters_create()
452 return PTR_ERR(priv->hw_fault_reporter); in hinic_health_reporters_create()
462 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_create()
463 priv->hw_fault_reporter = NULL; in hinic_health_reporters_create()
477 if (!IS_ERR_OR_NULL(priv->hw_fault_reporter)) { in hinic_health_reporters_destroy()
478 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_destroy()
479 priv->hw_fault_reporter = NULL; in hinic_health_reporters_destroy()
H A Dhinic_dev.h128 struct devlink_health_reporter *hw_fault_reporter; member
H A 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()