Home
last modified time | relevance | path

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

1234

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_elm.c39 val = syndrome[0] | (syndrome[1] << 8) | (syndrome[2] << 16) | in elm_load_syndromes()
44 val = syndrome[4] | (syndrome[5] << 8) | (syndrome[6] << 16) | in elm_load_syndromes()
51 val = syndrome[8] | (syndrome[9] << 8) | (syndrome[10] << 16) | in elm_load_syndromes()
56 val = syndrome[12] | (syndrome[13] << 8) | in elm_load_syndromes()
57 (syndrome[14] << 16) | (syndrome[15] << 24); in elm_load_syndromes()
64 val = syndrome[16] | (syndrome[17] << 8) | in elm_load_syndromes()
65 (syndrome[18] << 16) | (syndrome[19] << 24); in elm_load_syndromes()
70 val = syndrome[20] | (syndrome[21] << 8) | in elm_load_syndromes()
71 (syndrome[22] << 16) | (syndrome[23] << 24); in elm_load_syndromes()
76 val = syndrome[24] | (syndrome[25] << 8) | in elm_load_syndromes()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H 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 …]
/openbmc/linux/arch/arm64/lib/
H 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 …]
H 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
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H 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,
/openbmc/qemu/target/arm/tcg/
H A Dhelper-a64.c1253 int rd = mops_destreg(syndrome); in do_setp()
1254 int rs = mops_srcreg(syndrome); in do_setp()
1255 int rn = mops_sizereg(syndrome); in do_setp()
1313 int rd = mops_destreg(syndrome); in do_setm()
1314 int rs = mops_srcreg(syndrome); in do_setm()
1315 int rn = mops_sizereg(syndrome); in do_setm()
1376 int rd = mops_destreg(syndrome); in do_sete()
1377 int rs = mops_srcreg(syndrome); in do_sete()
1605 int rs = mops_srcreg(syndrome); in do_cpyp()
1716 int rs = mops_srcreg(syndrome); in do_cpym()
[all …]
H A Dop_helper.c48 uint32_t syndrome, uint32_t target_el) in raise_exception() argument
61 syndrome = syn_uncategorized(); in raise_exception()
67 env->exception.syndrome = syndrome; in raise_exception()
83 raise_exception(env, excp, syndrome, target_el); in raise_exception_ra()
509 raise_exception(env, excp, syndrome, target_el); in HELPER()
859 syndrome = syn_uncategorized(); in HELPER()
1227 uint32_t syndrome; in HELPER() local
1236 syndrome = arm_fi_to_lfsc(&fi); in HELPER()
1238 syndrome = arm_fi_to_sfsc(&fi); in HELPER()
1241 syndrome |= env->cp15.vsesr_el2 & 0xd000; in HELPER()
[all …]
/openbmc/linux/drivers/edac/
H A Dfsl_ddr_edac.c223 u8 syndrome = 0; in syndrome_from_bit() local
233 return syndrome; in syndrome_from_bit()
244 u8 syndrome; in sbe_ecc_decode() local
257 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
265 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
280 u32 syndrome; in fsl_mc_check() local
308 syndrome &= 0xff; in fsl_mc_check()
310 syndrome &= 0xffff; in fsl_mc_check()
331 sbe_ecc_decode(cap_high, cap_low, syndrome, in fsl_mc_check()
345 syndrome ^ (1 << bad_ecc_bit)); in fsl_mc_check()
[all …]
H 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()
H 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()
H A Dhighbank_mc_edac.c72 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); in highbank_mc_err_handler() local
73 syndrome = (syndrome >> 8) & 0xff; in highbank_mc_err_handler()
77 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
H 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()
H 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()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h1144 u8 syndrome[0x20]; member
1168 u8 syndrome[0x20]; member
3114 u8 syndrome[0x8]; member
4572 u8 syndrome[0x20]; member
4602 u8 syndrome[0x20]; member
4632 u8 syndrome[0x20]; member
4662 u8 syndrome[0x20]; member
4687 u8 syndrome[0x20]; member
4715 u8 syndrome[0x20]; member
5455 u8 syndrome[0x8]; member
[all …]
H 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
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H 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()
/openbmc/u-boot/include/linux/mtd/
H A Domap_elm.h39 struct syndrome { struct
68 struct syndrome syndrome_fragments[ELM_MAX_CHANNELS]; /* 0x400,0x420 */
73 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count,
/openbmc/linux/drivers/infiniband/hw/erdma/
H 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()
/openbmc/linux/Documentation/core-api/
H 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 */
/openbmc/linux/lib/raid6/
H A Dvpermxor.uc17 * syndrome calculations.
53 q = dptr[z0+2]; /* RS syndrome */
60 /* P syndrome */
63 /* Q syndrome */
/openbmc/linux/include/ras/
H A Dras_event.h110 unsigned long syndrome,
115 syndrome, driver_detail),
128 __field( long, syndrome )
143 __entry->syndrome = syndrome;
160 __entry->syndrome,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dmlx5_ifc_vhca_event.h30 u8 syndrome[0x20]; member
61 u8 syndrome[0x20]; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.h46 #define MLX5_IPSEC_METADATA_CREATE(id, syndrome) ((id) | ((syndrome) << 24)) argument
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c1015 env->exception.syndrome = syndrome; in hvf_raise_exception()
1832 uint64_t syndrome = hvf_exit->exception.syndrome; in hvf_vcpu_exec() local
1833 uint32_t ec = syn_get_ec(syndrome); in hvf_vcpu_exec()
1899 bool isv = syndrome & ARM_EL_ISV; in hvf_vcpu_exec()
1900 bool iswrite = (syndrome >> 6) & 1; in hvf_vcpu_exec()
1901 bool s1ptw = (syndrome >> 7) & 1; in hvf_vcpu_exec()
1902 uint32_t sas = (syndrome >> 22) & 3; in hvf_vcpu_exec()
1905 uint32_t cm = (syndrome >> 8) & 0x1; in hvf_vcpu_exec()
1936 bool isread = (syndrome >> 0) & 1; in hvf_vcpu_exec()
1937 uint32_t rt = (syndrome >> 5) & 0x1f; in hvf_vcpu_exec()
[all …]
/openbmc/qemu/bsd-user/aarch64/
H A Dtarget_arch_cpu.h114 ec = syn_get_ec(env->exception.syndrome); in target_cpu_loop()
118 fsc = extract32(env->exception.syndrome, 0, 6); in target_cpu_loop()

1234