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()
448 if (IS_ERR(priv->hw_fault_reporter)) { in hinic_health_reporters_create()
450 PTR_ERR(priv->hw_fault_reporter)); in hinic_health_reporters_create()
451 return PTR_ERR(priv->hw_fault_reporter); in hinic_health_reporters_create()
460 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_create()
461 priv->hw_fault_reporter = NULL; in hinic_health_reporters_create()
475 if (!IS_ERR_OR_NULL(priv->hw_fault_reporter)) { in hinic_health_reporters_destroy()
476 devlink_health_reporter_destroy(priv->hw_fault_reporter); in hinic_health_reporters_destroy()
477 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()