Home
last modified time | relevance | path

Searched refs:syndrome (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.c319 static const char *mlx5_fpga_syndrome_to_string(u8 syndrome) in mlx5_fpga_syndrome_to_string() argument
321 if (syndrome < ARRAY_SIZE(mlx5_fpga_error_strings)) in mlx5_fpga_syndrome_to_string()
322 return mlx5_fpga_error_strings[syndrome]; in mlx5_fpga_syndrome_to_string()
326 static const char *mlx5_fpga_qp_syndrome_to_string(u8 syndrome) in mlx5_fpga_qp_syndrome_to_string() argument
328 if (syndrome < ARRAY_SIZE(mlx5_fpga_qp_error_strings)) in mlx5_fpga_qp_syndrome_to_string()
329 return mlx5_fpga_qp_error_strings[syndrome]; in mlx5_fpga_qp_syndrome_to_string()
340 u8 syndrome; in mlx5_fpga_event() local
344 syndrome = MLX5_GET(fpga_error_event, data, syndrome); in mlx5_fpga_event()
345 event_name = mlx5_fpga_syndrome_to_string(syndrome); in mlx5_fpga_event()
348 syndrome = MLX5_GET(fpga_qp_error_event, data, syndrome); in mlx5_fpga_event()
[all …]
/linux-6.1.9/arch/arm64/lib/
Dstrncmp.S36 #define syndrome x7 macro
90 orr syndrome, diff, has_nul
95 rev syndrome, syndrome
97 clz pos, syndrome
142 orr syndrome, diff, has_nul
143 clz pos, syndrome
279 orr syndrome, diff, has_nul
280 bic syndrome, syndrome, mask /* Ignore later bytes. */
281 csinv tmp3, syndrome, xzr, hi /* If limit, set to all ones. */
289 orr syndrome, diff, has_nul
[all …]
Dstrcmp.S34 #define syndrome x6 macro
85 orr syndrome, diff, has_nul
88 rev syndrome, syndrome
92 clz shift, syndrome
170 orr syndrome, diff, tmp
171 cbnz syndrome, L(end)
182 orr syndrome, diff, has_nul
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcmd_tracepoint.h15 const char *status_str, u8 status, u32 syndrome, int err),
16 TP_ARGS(command_str, opcode, op_mod, status_str, status, syndrome, err),
22 __field(u32, syndrome)
30 __entry->syndrome = syndrome;
35 __get_str(status_str), __entry->status, __entry->syndrome,
/linux-6.1.9/drivers/edac/
Dfsl_ddr_edac.c224 u8 syndrome = 0; in syndrome_from_bit() local
232 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
234 return syndrome; in syndrome_from_bit()
245 u8 syndrome; in sbe_ecc_decode() local
254 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode()
258 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
266 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
281 u32 syndrome; in fsl_mc_check() local
303 syndrome = ddr_in32(pdata->mc_vbase + FSL_MC_CAPTURE_ECC); in fsl_mc_check()
309 syndrome &= 0xff; in fsl_mc_check()
[all …]
Daspeed_edac.c95 u32 page, offset, syndrome; in count_rec() local
106 syndrome = 0; in count_rec()
108 page, offset, syndrome, 0, 0, -1, in count_rec()
117 syndrome = 0; in count_rec()
119 csrow->first_page + page, offset, syndrome, in count_rec()
128 u32 page, offset, syndrome; in count_un_rec() local
138 syndrome = 0; in count_un_rec()
140 csrow->first_page + page, offset, syndrome, in count_un_rec()
149 syndrome = 0; in count_un_rec()
151 page, offset, syndrome, 0, 0, -1, in count_un_rec()
De7xxx_edac.c166 static inline int e7xxx_find_channel(u16 syndrome) in e7xxx_find_channel() argument
170 if ((syndrome & 0xff00) == 0) in e7xxx_find_channel()
173 if ((syndrome & 0x00ff) == 0) in e7xxx_find_channel()
176 if ((syndrome & 0xf000) == 0 || (syndrome & 0x0f00) == 0) in e7xxx_find_channel()
206 u16 syndrome; in process_ce() local
216 syndrome = info->dram_celog_syndrome; in process_ce()
220 channel = e7xxx_find_channel(syndrome); in process_ce()
221 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, page, 0, syndrome, in process_ce()
Dhighbank_mc_edac.c71 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); in highbank_mc_err_handler() local
72 syndrome = (syndrome >> 8) & 0xff; in highbank_mc_err_handler()
76 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
Dcpc925_edac.c504 static int cpc925_mc_find_channel(struct mem_ctl_info *mci, u16 syndrome) in cpc925_mc_find_channel() argument
506 if ((syndrome & MESR_ECC_SYN_H_MASK) == 0) in cpc925_mc_find_channel()
509 if ((syndrome & MESR_ECC_SYN_L_MASK) == 0) in cpc925_mc_find_channel()
513 syndrome); in cpc925_mc_find_channel()
524 u16 syndrome; in cpc925_mc_check() local
534 syndrome = mesr | (MESR_ECC_SYN_H_MASK | MESR_ECC_SYN_L_MASK); in cpc925_mc_check()
543 channel = cpc925_mc_find_channel(mci, syndrome); in cpc925_mc_check()
545 pfn, offset, syndrome, in cpc925_mc_check()
578 syndrome); in cpc925_mc_check()
Dr82600_edac.c164 u32 syndrome; in r82600_process_error_info() local
171 syndrome = (info->eapr >> 4) & 0xFF; in r82600_process_error_info()
182 page, 0, syndrome, in r82600_process_error_info()
Di5100_edac.c431 unsigned long syndrome, in i5100_handle_ce() argument
444 0, 0, syndrome, in i5100_handle_ce()
453 unsigned long syndrome, in i5100_handle_ue() argument
466 0, 0, syndrome, in i5100_handle_ue()
478 unsigned syndrome = 0; in i5100_read_log() local
489 syndrome = dw2; in i5100_read_log()
512 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
534 i5100_handle_ue(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
Dcell_edac.c38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local
49 syndrome = (ar & 0x000000001fe00000ul) >> 21; in cell_edac_count_ce()
53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h1104 u8 syndrome[0x20]; member
3027 u8 syndrome[0x8]; member
4460 u8 syndrome[0x20]; member
4490 u8 syndrome[0x20]; member
4520 u8 syndrome[0x20]; member
4550 u8 syndrome[0x20]; member
4575 u8 syndrome[0x20]; member
4603 u8 syndrome[0x20]; member
4635 u8 syndrome[0x20]; member
4657 u8 syndrome[0x20]; member
[all …]
Dmlx5_ifc_fpga.h148 u8 syndrome[0x8]; member
250 u8 syndrome[0x20]; member
279 u8 syndrome[0x20]; member
301 u8 syndrome[0x20]; member
326 u8 syndrome[0x20]; member
360 u8 syndrome[0x20]; member
374 u8 syndrome[0x8]; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.h10 static inline bool cqe_syndrome_needs_recover(u8 syndrome) in cqe_syndrome_needs_recover() argument
12 return syndrome == MLX5_CQE_SYNDROME_LOCAL_QP_OP_ERR || in cqe_syndrome_needs_recover()
13 syndrome == MLX5_CQE_SYNDROME_LOCAL_PROT_ERR || in cqe_syndrome_needs_recover()
14 syndrome == MLX5_CQE_SYNDROME_WR_FLUSH_ERR; in cqe_syndrome_needs_recover()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_cq.c111 u8 opcode, syndrome, qtype; in erdma_poll_one_cqe() local
140 syndrome = FIELD_GET(ERDMA_CQE_HDR_SYNDROME_MASK, cqe_hdr); in erdma_poll_one_cqe()
169 if (syndrome >= ERDMA_NUM_WC_STATUS) in erdma_poll_one_cqe()
170 syndrome = ERDMA_WC_GENERAL_ERR; in erdma_poll_one_cqe()
172 wc->status = map_cqe_status[syndrome].base; in erdma_poll_one_cqe()
173 wc->vendor_err = map_cqe_status[syndrome].vendor; in erdma_poll_one_cqe()
/linux-6.1.9/Documentation/core-api/
Dlibrs.rst85 The decoder calculates the syndrome over the given data length and the
88 If a syndrome is available from a hardware decoder then the syndrome
102 Decoding with syndrome calculation, direct data correction
119 Decoding with syndrome given by hardware decoder, direct data correction
132 /* Get syndrome from hardware decoder */
138 Decoding with syndrome given by hardware decoder, no direct data correction.
154 /* Get syndrome from hardware decoder */
/linux-6.1.9/lib/raid6/
Dvpermxor.uc17 * syndrome calculations.
53 q = dptr[z0+2]; /* RS syndrome */
60 /* P syndrome */
63 /* Q syndrome */
Dneon.uc3 * neon.uc - RAID-6 syndrome calculation using ARM NEON instructions
67 q = dptr[z0+2]; /* RS syndrome */
98 q = dptr[disks-1]; /* RS syndrome */
Dint.uc92 q = dptr[z0+2]; /* RS syndrome */
121 q = dptr[disks-1]; /* RS syndrome */
/linux-6.1.9/include/ras/
Dras_event.h110 unsigned long syndrome,
115 syndrome, driver_detail),
128 __field( long, syndrome )
143 __entry->syndrome = syndrome;
160 __entry->syndrome,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dmlx5_ifc_vhca_event.h30 u8 syndrome[0x20]; member
61 u8 syndrome[0x20]; member
/linux-6.1.9/drivers/mtd/nand/raw/
Ddavinci_nand.c259 u32 syndrome[4]; in nand_davinci_correct_4bit() local
288 nand_davinci_readecc_4bit(info, syndrome); in nand_davinci_correct_4bit()
289 if (!(syndrome[0] | syndrome[1] | syndrome[2] | syndrome[3])) in nand_davinci_correct_4bit()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_resp.c660 u8 syndrome) in prepare_ack_packet() argument
688 aeth_set_syn(ack, syndrome); in prepare_ack_packet()
1030 static int send_common_ack(struct rxe_qp *qp, u8 syndrome, u32 psn, in send_common_ack() argument
1037 skb = prepare_ack_packet(qp, &ack_pkt, opcode, 0, psn, syndrome); in send_common_ack()
1048 static int send_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_ack() argument
1050 return send_common_ack(qp, syndrome, psn, in send_ack()
1054 static int send_atomic_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_atomic_ack() argument
1056 int ret = send_common_ack(qp, syndrome, psn, in send_atomic_ack()
1200 static void do_class_ac_error(struct rxe_qp *qp, u8 syndrome, in do_class_ac_error() argument
1203 qp->resp.aeth_syndrome = syndrome; in do_class_ac_error()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c760 u8 syndrome[0x20]; member
777 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_out_err() local
783 cmd_status_str(status), status, syndrome, cmd_status_to_err(status)); in mlx5_cmd_out_err()
805 u32 syndrome; in mlx5_cmd_check() local
809 err = mlx5_internal_err_ret_value(dev, opcode, &syndrome, &status); in mlx5_cmd_check()
811 MLX5_SET(mbox_out, out, syndrome, syndrome); in mlx5_cmd_check()
1886 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_err_trace() local
1890 cmd_status_str(status), status, syndrome, in mlx5_cmd_err_trace()
1895 u32 syndrome, int err) in cmd_status_log() argument
1910 stats->last_failed_syndrome = syndrome; in cmd_status_log()
[all …]

123