Lines Matching refs:devlink

22 int qed_report_fatal_error(struct devlink *devlink, enum qed_hw_err_type err_type)  in qed_report_fatal_error()  argument
24 struct qed_devlink *qdl = devlink_priv(devlink); in qed_report_fatal_error()
98 void qed_fw_reporters_create(struct devlink *devlink) in qed_fw_reporters_create() argument
100 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_create()
102 dl->fw_reporter = devlink_health_reporter_create(devlink, &qed_fw_fatal_reporter_ops, in qed_fw_reporters_create()
111 void qed_fw_reporters_destroy(struct devlink *devlink) in qed_fw_reporters_destroy() argument
113 struct qed_devlink *dl = devlink_priv(devlink); in qed_fw_reporters_destroy()
122 static int qed_dl_param_get(struct devlink *dl, u32 id, in qed_dl_param_get()
134 static int qed_dl_param_set(struct devlink *dl, u32 id, in qed_dl_param_set()
154 static int qed_devlink_info_get(struct devlink *devlink, in qed_devlink_info_get() argument
158 struct qed_devlink *qed_dl = devlink_priv(devlink); in qed_devlink_info_get()
200 struct devlink *qed_devlink_register(struct qed_dev *cdev) in qed_devlink_register()
203 struct devlink *dl; in qed_devlink_register()
231 void qed_devlink_unregister(struct devlink *devlink) in qed_devlink_unregister() argument
233 if (!devlink) in qed_devlink_unregister()
236 devlink_unregister(devlink); in qed_devlink_unregister()
237 qed_fw_reporters_destroy(devlink); in qed_devlink_unregister()
239 devlink_params_unregister(devlink, qed_devlink_params, in qed_devlink_unregister()
242 devlink_free(devlink); in qed_devlink_unregister()