Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/fpga/
A 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()
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()
349 event_name = mlx5_fpga_qp_syndrome_to_string(syndrome); in mlx5_fpga_event()
[all …]
/linux-6.3-rc2/arch/arm64/lib/
A 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. */
289 orr syndrome, diff, has_nul
290 and syndrome, syndrome, mask /* Ignore earlier bytes. */
[all …]
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/diag/
A 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.3-rc2/drivers/edac/
A Dfsl_ddr_edac.c224 u8 syndrome = 0; in syndrome_from_bit() local
234 return syndrome; in syndrome_from_bit()
245 u8 syndrome; in sbe_ecc_decode() local
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
309 syndrome &= 0xff; in fsl_mc_check()
311 syndrome &= 0xffff; in fsl_mc_check()
332 sbe_ecc_decode(cap_high, cap_low, syndrome, in fsl_mc_check()
346 syndrome ^ (1 << bad_ecc_bit)); in fsl_mc_check()
[all …]
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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.3-rc2/include/linux/mlx5/
A Dmlx5_ifc.h1116 u8 syndrome[0x20]; member
1140 u8 syndrome[0x20]; member
3092 u8 syndrome[0x8]; member
4551 u8 syndrome[0x20]; member
4581 u8 syndrome[0x20]; member
4611 u8 syndrome[0x20]; member
4641 u8 syndrome[0x20]; member
4666 u8 syndrome[0x20]; member
4694 u8 syndrome[0x20]; member
5431 u8 syndrome[0x8]; member
[all …]
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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.3-rc2/drivers/infiniband/hw/erdma/
A Derdma_cq.c113 u8 opcode, syndrome, qtype; in erdma_poll_one_cqe() local
142 syndrome = FIELD_GET(ERDMA_CQE_HDR_SYNDROME_MASK, cqe_hdr); in erdma_poll_one_cqe()
171 if (syndrome >= ERDMA_NUM_WC_STATUS) in erdma_poll_one_cqe()
172 syndrome = ERDMA_WC_GENERAL_ERR; in erdma_poll_one_cqe()
174 wc->status = map_cqe_status[syndrome].base; in erdma_poll_one_cqe()
175 wc->vendor_err = map_cqe_status[syndrome].vendor; in erdma_poll_one_cqe()
/linux-6.3-rc2/Documentation/core-api/
A 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.3-rc2/lib/raid6/
A Dvpermxor.uc17 * syndrome calculations.
53 q = dptr[z0+2]; /* RS syndrome */
60 /* P syndrome */
63 /* Q syndrome */
A 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 */
A Ds390vx.uc94 q = dptr[z0 + 2]; /* RS syndrome */
124 q = dptr[disks - 1]; /* RS syndrome */
/linux-6.3-rc2/include/ras/
A Dras_event.h110 unsigned long syndrome,
115 syndrome, driver_detail),
128 __field( long, syndrome )
143 __entry->syndrome = syndrome;
160 __entry->syndrome,
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dmlx5_ifc_vhca_event.h30 u8 syndrome[0x20]; member
61 u8 syndrome[0x20]; member
/linux-6.3-rc2/drivers/mtd/nand/raw/
A 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.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_resp.c786 u8 syndrome) in prepare_ack_packet() argument
814 aeth_set_syn(ack, syndrome); in prepare_ack_packet()
1177 static int send_common_ack(struct rxe_qp *qp, u8 syndrome, u32 psn, in send_common_ack() argument
1184 skb = prepare_ack_packet(qp, &ack_pkt, opcode, 0, psn, syndrome); in send_common_ack()
1195 static int send_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_ack() argument
1197 return send_common_ack(qp, syndrome, psn, in send_ack()
1201 static int send_atomic_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_atomic_ack() argument
1203 int ret = send_common_ack(qp, syndrome, psn, in send_atomic_ack()
1215 int ret = send_common_ack(qp, syndrome, psn, in send_read_response_ack()
1380 static void do_class_ac_error(struct rxe_qp *qp, u8 syndrome, in do_class_ac_error() argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dcmd.c54 u8 syndrome[0x20]; member
800 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_out_err() local
829 u32 syndrome; in mlx5_cmd_check() local
833 err = mlx5_internal_err_ret_value(dev, opcode, &syndrome, &status); in mlx5_cmd_check()
835 MLX5_SET(mbox_out, out, syndrome, syndrome); in mlx5_cmd_check()
1912 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_err_trace() local
1916 cmd_status_str(status), status, syndrome, in mlx5_cmd_err_trace()
1921 u32 syndrome, int err) in cmd_status_log() argument
1936 stats->last_failed_syndrome = syndrome; in cmd_status_log()
1944 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in cmd_status_err() local
[all …]

Completed in 120 milliseconds

123