Lines Matching +full:0 +full:x000007ff
17 0x5A5A5A5A, 0xA5A5A5A5, 0x00000000, 0xFFFFFFFF in i40e_diag_reg_pattern_test()
23 for (i = 0; i < ARRAY_SIZE(patterns); i++) { in i40e_diag_reg_pattern_test()
29 "%s: reg pattern test failed - reg 0x%08x pat 0x%08x val 0x%08x\n", in i40e_diag_reg_pattern_test()
39 "%s: reg restore test failed - reg 0x%08x orig_val 0x%08x val 0x%08x\n", in i40e_diag_reg_pattern_test()
44 return 0; in i40e_diag_reg_pattern_test()
49 {I40E_QTX_CTL(0), 0x0000FFBF, 1,
50 I40E_QTX_CTL(1) - I40E_QTX_CTL(0)},
51 {I40E_PFINT_ITR0(0), 0x00000FFF, 3,
52 I40E_PFINT_ITR0(1) - I40E_PFINT_ITR0(0)},
53 {I40E_PFINT_ITRN(0, 0), 0x00000FFF, 1,
54 I40E_PFINT_ITRN(0, 1) - I40E_PFINT_ITRN(0, 0)},
55 {I40E_PFINT_ITRN(1, 0), 0x00000FFF, 1,
56 I40E_PFINT_ITRN(1, 1) - I40E_PFINT_ITRN(1, 0)},
57 {I40E_PFINT_ITRN(2, 0), 0x00000FFF, 1,
58 I40E_PFINT_ITRN(2, 1) - I40E_PFINT_ITRN(2, 0)},
59 {I40E_PFINT_STAT_CTL0, 0x0000000C, 1, 0},
60 {I40E_PFINT_LNKLST0, 0x00001FFF, 1, 0},
61 {I40E_PFINT_LNKLSTN(0), 0x000007FF, 1,
62 I40E_PFINT_LNKLSTN(1) - I40E_PFINT_LNKLSTN(0)},
63 {I40E_QINT_TQCTL(0), 0x000000FF, 1,
64 I40E_QINT_TQCTL(1) - I40E_QINT_TQCTL(0)},
65 {I40E_QINT_RQCTL(0), 0x000000FF, 1,
66 I40E_QINT_RQCTL(1) - I40E_QINT_RQCTL(0)},
67 {I40E_PFINT_ICR0_ENA, 0xF7F20000, 1, 0},
68 { 0 }
79 int ret_code = 0; in i40e_diag_reg_test()
84 for (i = 0; i40e_reg_list[i].offset != 0 && in i40e_diag_reg_test()
89 if (i40e_reg_list[i].offset == I40E_QTX_CTL(0) && in i40e_diag_reg_test()
90 hw->func_caps.num_tx_qp != 0) in i40e_diag_reg_test()
92 if ((i40e_reg_list[i].offset == I40E_PFINT_ITRN(0, 0) || in i40e_diag_reg_test()
93 i40e_reg_list[i].offset == I40E_PFINT_ITRN(1, 0) || in i40e_diag_reg_test()
94 i40e_reg_list[i].offset == I40E_PFINT_ITRN(2, 0) || in i40e_diag_reg_test()
95 i40e_reg_list[i].offset == I40E_QINT_TQCTL(0) || in i40e_diag_reg_test()
96 i40e_reg_list[i].offset == I40E_QINT_RQCTL(0)) && in i40e_diag_reg_test()
97 hw->func_caps.num_msix_vectors != 0) in i40e_diag_reg_test()
102 for (j = 0; j < elements && !ret_code; j++) { in i40e_diag_reg_test()