Lines Matching +full:perst +full:- +full:regs

1 // SPDX-License-Identifier: GPL-2.0
30 u32 imm1; /* 1st value in predicate condition, left-to-right */
31 u32 imm2; /* 2nd value in predicate condition, left-to-right */
32 u32 imm3; /* 3rd value in predicate condition, left-to-right */
33 u32 imm4; /* 4th value in predicate condition, left-to-right */
36 /* struct representing self test record - a single test */
54 return (args->val1 == args->imm1); in peq()
59 return (args->val1 != args->imm1); in pneq()
64 return ((args->val1 & args->imm1) != args->imm2); in pand_neq()
69 return (((args->val1 & args->imm1) != args->imm2) && in pand_neq_x2()
70 ((args->val1 & args->imm3) != args->imm4)); in pand_neq_x2()
75 return ((args->val1 != args->imm1) && (idle_chk_errors > args->imm2)); in pneq_err()
80 return (args->val1 > args->imm1); in pgt()
85 return (args->val1 != args->val2); in pneq_r2()
90 return (args->val1 < (args->val2 - args->imm1)); in plt_sub_r2()
95 return (args->val1 != (args->val2 - args->imm1)); in pne_sub_r2()
100 return (((args->val1 >> args->imm1) & args->imm2) != args->imm3); in prsh_and_neq()
105 return ((args->val1 == args->imm1) && (args->val2 != args->imm2)); in peq_neq_r2()
110 return ((args->val1 == args->imm1) && (args->val2 != args->imm2) && in peq_neq_neq_r2()
111 (args->val2 != args->imm3)); in peq_neq_neq_r2()
127 "PCIE: ucorr_err_status - Unsupported request error",
175 "PCIE: ucorr_err_status - Unsupported request error",
181 "PCIE: ucorr_err_status - Flow Control Protocol Error",
193 "PCIE: TTX_BRIDGE_FORWARD_ERR - Received master request while BME was 0",
223 …"PXP2: There are outstanding read requests for tags 0-31. Not all completios have arrived for read…
241 "PGLUE_B: was_error for VFs 0-31 is not 0",
247 "PGLUE_B: was_error for VFs 32-63 is not 0",
253 "PGLUE_B: was_error for VFs 64-95 is not 0",
259 "PGLUE_B: was_error for VFs 96-127 is not 0",
265 "PGLUE_B: was_error for PFs 0-7 is not 0",
271 …. (2:0) - PFID. (3) - VF_VALID. (9:4) - VFID. (11:10) - Error code : 0 - Completion Timeout; 1 - U…
277- PFID. (3) - VF_VALID. (9:4) - VFID. (11:10) - Error code : 0 - Completion Timeout ; 1 - Unsuppor…
295 …rite. Error details register is not 0. (4:0) VQID. (23:21) - PFID. (24) - VF_VALID. (30:25) - VFID…
301 …rror details 2nd register is not 0. (21) - was_error set; (22) - BME cleared; (23) - FID_enable cl…
319 … read Error details register is not 0. (4:0) VQID. (23:21) - PFID. (24) - VF_VALID. (30:25) - VFID…
325 …rror details 2nd register is not 0. (21) - was_error set; (22) - BME cleared; (23) - FID_enable cl…
343 …"PGLUE_B: There are outstanding read requests for tags 32-63. Not all completios have arrived for …
367 …"PXP2: Completion received with error. Error details register is not 0. (15:0) - ECHO. (28:16) - S…
373 …ived with error. Error details 2nd register is not 0. (4:0) - VQ ID. (8:5) - client ID. (9) - vali…
2251 "MISC: pcie_rst_b was asserted without perst assertion",
2281 "NIG: Got packets w/o Outer-VLAN in MF mode",
2479 "PGL: FLR request is set for VF addresses 31-0",
2485 "PGL: FLR request is set for VF addresses 63-32",
2491 "PGL: FLR request is set for VF addresses 95-64",
2497 "PGL: FLR request is set for VF addresses 127-96",
2503 "PGL: FLR request is set for PF addresses 7-0",
2509 "PGL: SR-IOV disable request is set",
2515 "PGL: Cfg-Space A request is set",
2521 "PGL: Cfg-Space B request is set",
2719 "QM: FwVoq0 is mapped to HwVoq7 (non-TX HwVoq)",
2725 "QM: FwVoq1 is mapped to HwVoq7 (non-TX HwVoq)",
2731 "QM: FwVoq2 is mapped to HwVoq7 (non-TX HwVoq)",
2737 "QM: FwVoq3 is mapped to HwVoq7 (non-TX HwVoq)",
2743 "QM: FwVoq4 is mapped to HwVoq7 (non-TX HwVoq)",
2749 "QM: FwVoq5 is mapped to HwVoq7 (non-TX HwVoq)",
2755 "QM: FwVoq6 is mapped to HwVoq7 (non-TX HwVoq)",
2761 "QM: FwVoq7 is mapped to HwVoq7 (non-TX HwVoq)",
2952 for (i = 0; i < rec->loop; i++) { in bnx2x_idle_chk6()
2953 /* read regs */ in bnx2x_idle_chk6()
2954 rec->pred_args.val1 = in bnx2x_idle_chk6()
2955 REG_RD(bp, rec->reg1 + i * rec->incr); in bnx2x_idle_chk6()
2956 rec->pred_args.val2 = in bnx2x_idle_chk6()
2957 REG_RD(bp, rec->reg1 + i * rec->incr + 4); in bnx2x_idle_chk6()
2960 rd_ptr = ((rec->pred_args.val1 & 0x3FFFFFC0) >> 6); in bnx2x_idle_chk6()
2961 wr_ptr = ((((rec->pred_args.val1 & 0xC0000000) >> 30) & 0x3) | in bnx2x_idle_chk6()
2962 ((rec->pred_args.val2 & 0x3FFFFF) << 2)); in bnx2x_idle_chk6()
2967 "QM: PTRTBL entry %d- rd_ptr is not equal to wr_ptr. Values are 0x%x and 0x%x\n", in bnx2x_idle_chk6()
2969 bnx2x_self_test_log(bp, rec->severity, message); in bnx2x_idle_chk6()
2973 rd_bank = ((rec->pred_args.val1 & 0x30) >> 4); in bnx2x_idle_chk6()
2974 wr_bank = (rec->pred_args.val1 & 0x03); in bnx2x_idle_chk6()
2979 "QM: PTRTBL entry %d - rd_bank is not equal to wr_bank. Values are 0x%x 0x%x\n", in bnx2x_idle_chk6()
2981 bnx2x_self_test_log(bp, rec->severity, message); in bnx2x_idle_chk6()
2993 for (i = 0; i < rec->loop; i++) { in bnx2x_idle_chk7()
2995 if ((REG_RD(bp, (rec->reg2 + i * 4)) & 0x1) != 0x1) in bnx2x_idle_chk7()
2999 REG_RD(bp, (rec->reg1 + i * rec->incr)); in bnx2x_idle_chk7()
3000 REG_RD(bp, (rec->reg1 + i * rec->incr + 4)); in bnx2x_idle_chk7()
3001 rec->pred_args.val1 = in bnx2x_idle_chk7()
3002 REG_RD(bp, (rec->reg1 + i * rec->incr + 8)); in bnx2x_idle_chk7()
3003 REG_RD(bp, (rec->reg1 + i * rec->incr + 12)); in bnx2x_idle_chk7()
3008 rec->pred_args.val1 &= 0x78; in bnx2x_idle_chk7()
3009 rec->pred_args.val1 >>= 3; in bnx2x_idle_chk7()
3012 rec->pred_args.val1 &= 0x1E000000; in bnx2x_idle_chk7()
3013 rec->pred_args.val1 >>= 25; in bnx2x_idle_chk7()
3017 rec->pred_args.val2 = REG_RD(bp, rec->reg3 + i * 4); in bnx2x_idle_chk7()
3020 if (rec->bnx2x_predicate(&rec->pred_args)) { in bnx2x_idle_chk7()
3022 "%s. Values are 0x%x 0x%x\n", rec->fail_msg, in bnx2x_idle_chk7()
3023 rec->pred_args.val1, rec->pred_args.val2); in bnx2x_idle_chk7()
3024 bnx2x_self_test_log(bp, rec->severity, message); in bnx2x_idle_chk7()
3030 * scan auto-generated database
3100 /* read two regs and call predicate */ in bnx2x_idle_chk()
3114 /*unused to-date*/ in bnx2x_idle_chk()
3133 /* compare two regs, pending in bnx2x_idle_chk()
3170 if (!netif_running(bp->dev)) in bnx2x_idle_chk()