// SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include "i40e_diag.h" #include "i40e_prototype.h" /** * i40e_diag_reg_pattern_test * @hw: pointer to the hw struct * @reg: reg to be tested * @mask: bits to be touched **/ static int i40e_diag_reg_pattern_test(struct i40e_hw *hw, u32 reg, u32 mask) { … } const struct i40e_diag_reg_test_info i40e_reg_list[] = …; /** * i40e_diag_reg_test * @hw: pointer to the hw struct * * Perform registers diagnostic test **/ int i40e_diag_reg_test(struct i40e_hw *hw) { … } /** * i40e_diag_eeprom_test * @hw: pointer to the hw struct * * Perform EEPROM diagnostic test **/ int i40e_diag_eeprom_test(struct i40e_hw *hw) { … }