Searched refs:syndrome (Results 1 - 92 of 92) sorted by relevance

/linux-4.1.27/arch/arm64/lib/
H A Dstrcmp.S56 syndrome .req x6 label
84 orr syndrome, diff, has_nul
85 cbz syndrome, .Lloop_aligned
152 orr syndrome, diff, has_nul
153 cbnz syndrome, .Lcal_cmpresult
174 orr syndrome, diff, has_nul
175 cbnz syndrome, .Lcal_cmpresult
184 orr syndrome, diff, has_nul
185 cbz syndrome, .Lloopcmp_proc
192 CPU_LE( rev syndrome, syndrome )
197 * For big-endian we cannot use the trick with the syndrome value
216 CPU_BE( orr syndrome, diff, has_nul )
218 clz pos, syndrome
220 * The MS-non-zero bit of the syndrome marks either the first bit
H A Dstrncmp.S57 syndrome .req x7 label
115 /* Make sure that the NUL byte is marked in the syndrome. */
119 orr syndrome, diff, has_nul
244 orr syndrome, diff, has_nul
245 cbz syndrome, .Lremain8
251 CPU_LE( rev syndrome, syndrome )
255 * For big-endian we cannot use the trick with the syndrome value
274 CPU_BE( orr syndrome, diff, has_nul )
276 * The MS-non-zero bit of the syndrome marks either the first bit
281 clz pos, syndrome
H A Dstrlen.S89 CPU_BE( mov data2, data1 ) /*prepare data to re-calculate the syndrome*/
97 * and calculate the syndrome a second time.
H A Dstrnlen.S106 CPU_BE( mov data2, data1 ) /*perpare data to re-calculate the syndrome*/
115 * and calculate the syndrome a second time.
/linux-4.1.27/drivers/mtd/nand/
H A Domap_elm.c53 /* ELM syndrome */
125 /* ELM support 8 error syndrome process */ elm_config()
144 * @index: index number of syndrome fragment vector
147 * Enable page mode for syndrome fragment index
164 * elm_load_syndrome - Load ELM syndrome reg
169 * Load syndrome fragment registers with calculated ecc in reverse order.
186 /* syndrome fragment 0 = ecc[9-12B] */ elm_load_syndrome()
190 /* syndrome fragment 1 = ecc[5-8B] */ elm_load_syndrome()
195 /* syndrome fragment 2 = ecc[1-4B] */ elm_load_syndrome()
200 /* syndrome fragment 3 = ecc[0B] */ elm_load_syndrome()
206 /* syndrome fragment 0 = ecc[20-52b] bits */ elm_load_syndrome()
211 /* syndrome fragment 1 = ecc[0-20b] bits */ elm_load_syndrome()
249 * elm_start_processing - start elm syndrome processing
253 * Set syndrome valid bit for syndrome fragment registers for which
254 * elm syndrome fragment registers are loaded. This enables elm module
255 * to start processing syndrome vectors.
264 * Set syndrome vector valid, so that ELM module elm_start_processing()
357 /* Load valid ecc byte to syndrome fragment register */ elm_decode_bch_error_page()
360 /* Enable syndrome processing for which syndrome fragment is updated */ elm_decode_bch_error_page()
H A Dbf5xx_nand.c229 u32 syndrome[5]; bf5xx_nand_correct_data_256() local
238 syndrome[0] = (calced ^ stored); bf5xx_nand_correct_data_256()
241 * syndrome 0: all zero bf5xx_nand_correct_data_256()
245 if (!syndrome[0] || !calced || !stored) bf5xx_nand_correct_data_256()
253 if (hweight32(syndrome[0]) == 1) { bf5xx_nand_correct_data_256()
258 syndrome[1] = (calced & 0x7FF) ^ (stored & 0x7FF); bf5xx_nand_correct_data_256()
259 syndrome[2] = (calced & 0x7FF) ^ ((calced >> 11) & 0x7FF); bf5xx_nand_correct_data_256()
260 syndrome[3] = (stored & 0x7FF) ^ ((stored >> 11) & 0x7FF); bf5xx_nand_correct_data_256()
261 syndrome[4] = syndrome[2] ^ syndrome[3]; bf5xx_nand_correct_data_256()
264 dev_info(info->device, "syndrome[%d] 0x%08x\n", i, syndrome[i]); bf5xx_nand_correct_data_256()
276 if (hweight32(syndrome[0]) == 11 && syndrome[4] == 0x7FF) { bf5xx_nand_correct_data_256()
280 "syndrome[1] 0x%08x\n", syndrome[1]); bf5xx_nand_correct_data_256()
282 failing_bit = syndrome[1] & 0x7; bf5xx_nand_correct_data_256()
283 failing_byte = syndrome[1] >> 0x3; bf5xx_nand_correct_data_256()
H A Ddavinci_nand.c229 * This is a syndrome engine, but we avoid NAND_ECC_HW_SYNDROME
314 u32 syndrome[4]; nand_davinci_correct_4bit() local
347 /* Allow time for syndrome calculation ... then read it. nand_davinci_correct_4bit()
348 * A syndrome of all zeroes 0 means no detected errors. nand_davinci_correct_4bit()
351 nand_davinci_readecc_4bit(info, syndrome); nand_davinci_correct_4bit()
352 if (!(syndrome[0] | syndrome[1] | syndrome[2] | syndrome[3])) nand_davinci_correct_4bit()
H A Dr852.h96 /* ECC syndrome format - read from reg #0 will return two copies of these for
H A Ddiskonchip.c74 /* This is the syndrome computed by the HW ecc generator upon reading an empty
133 * The HW decoder in the DoC ASIC's provides us a error syndrome,
134 * which we must convert to a standard syndrome usable by the generic
155 /* Initialize the syndrome buffer */ doc_ecc_decode()
939 /* If emptymatch=1, the read syndrome is consistent with an doc200x_correct_data()
H A Dcafe_nand.c368 * cafe_nand_read_page_syndrome - [REPLACEABLE] hardware ecc syndrome based page read
374 * The hw generator calculates the error syndrome automatically. Therefore
H A Dnand_base.c1112 * Not for syndrome calculating ECC controllers, which use a special oob layout.
1313 * Not for syndrome calculating ECC controllers which need a special oob layout.
1407 * nand_read_page_syndrome - [REPLACEABLE] hardware ECC syndrome based page read
1414 * The hw generator calculates the error syndrome automatically. Therefore we
1824 * with syndrome - only for large page flash
2032 * Not for syndrome calculating ECC controllers, which use a special oob layout.
2207 * nand_write_page_syndrome - [REPLACEABLE] hardware ECC syndrome based page write
2213 * The hw generator calculates the error syndrome automatically. Therefore we
4002 /* Use standard syndrome read/write page function? */ nand_scan_tail()
H A Datmel_nand.c562 /* si[] is a table that holds the current syndrome value, pmecc_substitute()
577 /* Even syndrome = (Odd syndrome) ** 2 */ pmecc_substitute()
H A Domap2.c1250 /* ECC scheme specific syndrome customizations */ omap_calculate_ecc_bch()
1538 * For BCH ecc scheme, GPMC used for syndrome calculation and ELM module
H A Dlpc32xx_slc.c328 * ECC is calculated automatically in hardware during syndrome read lpc32xx_nand_ecc_calculate()
/linux-4.1.27/lib/raid6/
H A Drecov.c18 * the syndrome.)
36 /* Compute syndrome with zero for the missing data pages raid6_2data_recov_intx1()
78 /* Compute syndrome with zero for the missing data page raid6_datap_recov_intx1()
123 /* P+Q failure. Just rebuild the syndrome. */ raid6_dual_recov()
127 then rebuild syndrome. */ raid6_dual_recov()
H A Dmmx.c16 * MMX implementation of RAID-6 syndrome functions
48 q = dptr[z0+2]; /* RS syndrome */ raid6_mmx1_gen_syndrome()
96 q = dptr[z0+2]; /* RS syndrome */ raid6_mmx2_gen_syndrome()
H A Dsse1.c16 * SSE-1/MMXEXT implementation of RAID-6 syndrome functions
53 q = dptr[z0+2]; /* RS syndrome */ raid6_sse11_gen_syndrome()
112 q = dptr[z0+2]; /* RS syndrome */ raid6_sse12_gen_syndrome()
H A Davx2.c18 * AVX2 implementation of RAID-6 syndrome functions
50 q = dptr[z0+2]; /* RS syndrome */ raid6_avx21_gen_syndrome()
109 q = dptr[z0+2]; /* RS syndrome */ raid6_avx22_gen_syndrome()
173 q = dptr[z0+2]; /* RS syndrome */ raid6_avx24_gen_syndrome()
H A Dneon.c2 * linux/lib/raid6/neon.c - RAID6 syndrome calculation using ARM NEON intrinsics
H A Dsse2.c16 * SSE-2 implementation of RAID-6 syndrome functions
49 q = dptr[z0+2]; /* RS syndrome */ raid6_sse21_gen_syndrome()
101 q = dptr[disks-1]; /* RS syndrome */ raid6_sse21_xor_syndrome()
159 q = dptr[z0+2]; /* RS syndrome */ raid6_sse22_gen_syndrome()
212 q = dptr[disks-1]; /* RS syndrome */ raid6_sse22_xor_syndrome()
291 q = dptr[z0+2]; /* RS syndrome */ raid6_sse24_gen_syndrome()
378 q = dptr[disks-1]; /* RS syndrome */ raid6_sse24_xor_syndrome()
H A Drecov_avx2.c33 /* Compute syndrome with zero for the missing data pages raid6_2data_recov_avx2()
202 /* Compute syndrome with zero for the missing data page raid6_datap_recov_avx2()
H A Dalgos.c250 MODULE_DESCRIPTION("RAID6 Q-syndrome calculations");
H A Drecov_ssse3.c35 /* Compute syndrome with zero for the missing data pages raid6_2data_recov_ssse3()
209 /* Compute syndrome with zero for the missing data page raid6_datap_recov_ssse3()
/linux-4.1.27/include/ras/
H A Dras_event.h108 unsigned long syndrome,
113 syndrome, driver_detail),
126 __field( long, syndrome )
141 __entry->syndrome = syndrome;
145 TP_printk("%d %s error%s:%s%s on %s (mc:%d location:%d:%d:%d address:0x%08lx grain:%d syndrome:0x%08lx%s%s)",
158 __entry->syndrome,
/linux-4.1.27/arch/mips/include/asm/dec/
H A Decc.h37 #define KN0X_ESR_SYNHI (0x7f<<16) /* syndrome from ECC logic */
41 #define KN0X_ESR_SYNLO (0x7f<<0) /* syndrome from ECC logic */
H A Dkn02.h24 #define KN02_CHKSYN (2*KN02_SLOT_SIZE) /* ECC syndrome */
H A Dioasic_addrs.h37 #define IOASIC_CHKSYN (10*IOASIC_SLOT_SIZE) /* ECC syndrome (3max+) */
/linux-4.1.27/lib/reed_solomon/
H A Dreed_solomon.c31 * The encoding puts the calculated syndrome into a given syndrome
34 * the syndrome over the received (data + syndrome) and calls the
36 * Many hw encoders provide a syndrome calculation over the received
37 * data + syndrome and can call the second stage directly.
296 * syndrome result for storage itself.
313 * @s: syndrome data field (if NULL, syndrome is calculated)
319 * The syndrome and parity uses a uint16_t data type to enable
321 * syndrome result and the received parity before calling this code.
359 * @s: syndrome data field (if NULL, syndrome is calculated)
H A Ddecode_rs.c30 /* Err+Eras Locator poly and syndrome poly The maximum value
44 /* Does the caller provide the syndrome ? */
88 /* if syndrome is zero, data[] is a codeword and there are no
/linux-4.1.27/drivers/edac/
H A De7xxx_edac.c119 /* error syndrome register (16b) */
167 static inline int e7xxx_find_channel(u16 syndrome) e7xxx_find_channel() argument
171 if ((syndrome & 0xff00) == 0) e7xxx_find_channel()
174 if ((syndrome & 0x00ff) == 0) e7xxx_find_channel()
177 if ((syndrome & 0xf000) == 0 || (syndrome & 0x0f00) == 0) e7xxx_find_channel()
207 u16 syndrome; process_ce() local
216 /* read the syndrome */ process_ce()
217 syndrome = info->dram_celog_syndrome; process_ce()
220 /* convert syndrome to channel */ process_ce()
221 channel = e7xxx_find_channel(syndrome); process_ce()
222 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, page, 0, syndrome, process_ce()
H A Dmpc85xx_edac.c711 * MPC8572 User's Manual. Each line represents a syndrome bit column as a
759 * Create the syndrome code which is generated if the data line specified by
765 u8 syndrome = 0; syndrome_from_bit() local
773 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); syndrome_from_bit()
775 return syndrome; syndrome_from_bit()
779 * Decode data and ecc syndrome to determine what went wrong
786 u8 syndrome; sbe_ecc_decode() local
793 * ECC to find an ECC syndrome value we can search for sbe_ecc_decode()
795 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; sbe_ecc_decode()
799 if (syndrome == syndrome_from_bit(i)) { sbe_ecc_decode()
807 if ((syndrome >> i) & 0x1) { sbe_ecc_decode()
820 u32 syndrome; mpc85xx_mc_check() local
842 syndrome = in_be32(pdata->mc_vbase + MPC85XX_MC_CAPTURE_ECC); mpc85xx_mc_check()
844 /* Mask off appropriate bits of syndrome based on bus width */ mpc85xx_mc_check()
848 syndrome &= 0xff; mpc85xx_mc_check()
850 syndrome &= 0xffff; mpc85xx_mc_check()
869 sbe_ecc_decode(cap_high, cap_low, syndrome, mpc85xx_mc_check()
883 syndrome ^ (1 << bad_ecc_bit)); mpc85xx_mc_check()
888 cap_high, cap_low, syndrome); mpc85xx_mc_check()
898 pfn, err_addr & ~PAGE_MASK, syndrome, mpc85xx_mc_check()
904 pfn, err_addr & ~PAGE_MASK, syndrome, mpc85xx_mc_check()
H A Dhighbank_mc_edac.c83 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); highbank_mc_err_handler() local
84 syndrome = (syndrome >> 8) & 0xff; highbank_mc_err_handler()
88 err_addr & ~PAGE_MASK, syndrome, highbank_mc_err_handler()
H A Dcell_edac.c38 unsigned long address, pfn, offset, syndrome; cell_edac_count_ce() local
49 syndrome = (ar & 0x000000001fe00000ul) >> 21; cell_edac_count_ce()
53 csrow->first_page + pfn, offset, syndrome, cell_edac_count_ce()
H A Dcpc925_edac.c517 static int cpc925_mc_find_channel(struct mem_ctl_info *mci, u16 syndrome) cpc925_mc_find_channel() argument
519 if ((syndrome & MESR_ECC_SYN_H_MASK) == 0) cpc925_mc_find_channel()
522 if ((syndrome & MESR_ECC_SYN_L_MASK) == 0) cpc925_mc_find_channel()
525 cpc925_mc_printk(mci, KERN_INFO, "Unexpected syndrome value: 0x%x\n", cpc925_mc_find_channel()
526 syndrome); cpc925_mc_find_channel()
537 u16 syndrome; cpc925_mc_check() local
547 syndrome = mesr | (MESR_ECC_SYN_H_MASK | MESR_ECC_SYN_L_MASK); cpc925_mc_check()
556 channel = cpc925_mc_find_channel(mci, syndrome); cpc925_mc_check()
558 pfn, offset, syndrome, cpc925_mc_check()
591 syndrome); cpc925_mc_check()
H A Dr82600_edac.c165 u32 syndrome; r82600_process_error_info() local
172 syndrome = (info->eapr >> 4) & 0xFF; r82600_process_error_info()
183 page, 0, syndrome, r82600_process_error_info()
H A Dedac_mc.c1095 "page:0x%lx offset:0x%lx grain:%ld syndrome:0x%lx", edac_raw_mc_handle_error()
1097 e->grain, e->syndrome); edac_raw_mc_handle_error()
1122 * @syndrome: ECC syndrome
1137 const unsigned long syndrome, edac_mc_handle_error()
1161 e->syndrome = syndrome; edac_mc_handle_error()
1293 grain_bits, e->syndrome, e->other_detail); edac_mc_handle_error()
1132 edac_mc_handle_error(const enum hw_event_mc_err_type type, struct mem_ctl_info *mci, const u16 error_count, const unsigned long page_frame_number, const unsigned long offset_in_page, const unsigned long syndrome, const int top_layer, const int mid_layer, const int low_layer, const char *msg, const char *other_detail) edac_mc_handle_error() argument
H A Di5100_edac.c439 unsigned long syndrome, i5100_handle_ce()
452 0, 0, syndrome, i5100_handle_ce()
461 unsigned long syndrome, i5100_handle_ue()
474 0, 0, syndrome, i5100_handle_ue()
486 unsigned syndrome = 0; i5100_read_log() local
498 syndrome = dw2; i5100_read_log()
522 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); i5100_read_log()
544 i5100_handle_ue(mci, chan, bank, rank, syndrome, cas, ras, msg); i5100_read_log()
435 i5100_handle_ce(struct mem_ctl_info *mci, int chan, unsigned bank, unsigned rank, unsigned long syndrome, unsigned cas, unsigned ras, const char *msg) i5100_handle_ce() argument
457 i5100_handle_ue(struct mem_ctl_info *mci, int chan, unsigned bank, unsigned rank, unsigned long syndrome, unsigned cas, unsigned ras, const char *msg) i5100_handle_ue() argument
H A Damd64_edac.c1066 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); k8_map_sysaddr_to_csrow()
1073 amd64_mc_warn(err->src_mci, "unknown syndrome 0x%04x - " k8_map_sysaddr_to_csrow()
1075 err->syndrome); k8_map_sysaddr_to_csrow()
1840 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); f1x_map_sysaddr_to_csrow()
1977 * construction of the syndrome tables. The modified syndrome search algorithm
2043 static int decode_syndrome(u16 syndrome, const u16 *vectors, unsigned num_vecs, decode_syndrome() argument
2049 u16 s = syndrome; decode_syndrome()
2053 /* walk over all 16 bits of the syndrome */ decode_syndrome()
2060 /* ... and bit set in the modified syndrome, */ decode_syndrome()
2075 edac_dbg(0, "syndrome(%x) not found\n", syndrome); decode_syndrome()
2118 static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome) get_channel_from_ecc_syndrome() argument
2124 err_sym = decode_syndrome(syndrome, x8_vectors, get_channel_from_ecc_syndrome()
2128 err_sym = decode_syndrome(syndrome, x4_vectors, get_channel_from_ecc_syndrome()
2132 amd64_warn("Illegal syndrome type: %u\n", pvt->ecc_sym_sz); get_channel_from_ecc_syndrome()
2165 string = "unknown syndrome - possible error reporting race"; __log_bus_error()
2173 err->page, err->offset, err->syndrome, __log_bus_error()
2207 err.syndrome = extract_syndrome(m->status); decode_bus_error()
H A Dmv64x60_edac.c601 u32 syndrome; mv64x60_mc_check() local
610 syndrome = sdram_ecc ^ comp_ecc; mv64x60_mc_check()
616 err_addr & PAGE_MASK, syndrome, mv64x60_mc_check()
H A Di7300_edac.c415 u32 syndrome; i7300_process_fbd_error() local
470 REDMEMA, &syndrome); i7300_process_fbd_error()
499 syndrome, i7300_process_fbd_error()
H A Damd64_edac.h404 u16 syndrome; member in struct:err_info
H A Dedac_core.h468 const unsigned long syndrome,
H A Dghes_edac.c421 grain_bits, e->syndrome, pvt->detail_location); ghes_edac_report_mem_error()
H A De752x_edac.c169 /* error syndrome register (16b) */
171 /* error syndrome register (16b) */
H A Di7core_edac.c1712 u32 syndrome = m->misc >> 32; i7core_mce_output_error() local
1786 syndrome, i7core_mce_output_error()
/linux-4.1.27/include/linux/platform_data/
H A Delm.h27 /* ELM support 8 error syndrome process */
H A Dmtd-davinci.h37 /* 4-bit ECC syndrome registers */
/linux-4.1.27/lib/raid6/test/
H A Dtest.c117 /* Generate assumed good syndrome */ main()
/linux-4.1.27/include/linux/
H A Dbch.h44 * @syn: syndrome buffer
H A Dasync_tx.h63 * @ASYNC_TX_PQ_XOR_DST: do not overwrite the syndrome but XOR it with the
H A Dedac.h625 * @syndrome: syndrome of the error (or 0 if unknown or if
626 * the syndrome is not applicable)
650 unsigned long syndrome; member in struct:edac_raw_error_desc
/linux-4.1.27/crypto/async_tx/
H A Draid6test.c80 /* P+Q failure. Just rebuild the syndrome. */ raid6_dual_recov()
90 * then rebuild syndrome raid6_dual_recov()
173 /* Generate assumed good syndrome */ test()
H A Dasync_pq.c119 * do_sync_gen_syndrome - synchronously calculate a raid6 syndrome
157 * async_gen_syndrome - asynchronously calculate a raid6 syndrome
281 * async_syndrome_val - asynchronously validate a raid6 syndrome
453 MODULE_DESCRIPTION("asynchronous raid6 syndrome generation/validation");
H A Dasync_raid6_recov.c228 /* Compute syndrome with zero for the missing data pages __2data_recov_5()
288 /* Compute syndrome with zero for the missing data pages __2data_recov_n()
477 /* Compute syndrome with zero for the missing data page async_raid6_datap_recov()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dcq.c251 switch (cqe->syndrome) { mlx5_handle_error_cqe()
373 u16 syndrome = be16_to_cpu(cqe->syndrome); get_sig_err_item() local
379 if (syndrome & GUARD_ERR) { get_sig_err_item()
384 if (syndrome & REFTAG_ERR) { get_sig_err_item()
389 if (syndrome & APPTAG_ERR) { get_sig_err_item()
394 pr_err("Got signature completion error with bad syndrome %04x\n", get_sig_err_item()
395 syndrome); get_sig_err_item()
491 mlx5_ib_dbg(dev, "syndrome 0x%x, vendor syndrome 0x%x\n", mlx5_poll_one()
492 err_cqe->syndrome, err_cqe->vendor_err_synd); mlx5_poll_one()
H A Dmr.c106 be32_to_cpu(mr->out.hdr.syndrome)); reg_mr_callback()
/linux-4.1.27/include/linux/mlx5/
H A Ddevice.h331 __be32 syndrome; member in struct:mlx5_outbox_hdr
450 u8 syndrome; member in struct:mlx5_eqe_cq_err
549 u8 syndrome; member in struct:mlx5_err_cqe
580 __be16 syndrome; member in struct:mlx5_sig_err_cqe
H A Dmlx5_ifc.h333 u8 syndrome[0x20]; member in struct:mlx5_ifc_query_hca_cap_out_bits
344 u8 syndrome[0x20]; member in struct:mlx5_ifc_set_hca_cap_out_bits
H A Dqp.h266 __be16 syndrome; member in struct:mlx5_seg_set_psv
H A Ddriver.h364 u16 syndrome; member in struct:mlx5_core_psv::psv_layout
/linux-4.1.27/arch/mips/dec/
H A Decc-berr.c136 * check the syndrome explicitly. dec_ecc_be_backend()
192 printk(fmt, " ECC syndrome ", syn, status, xbit, i); dec_ecc_be_backend()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_85xx_cache_ctlr.h80 u32 captecc; /* 0xE28 - Error syndrome */
/linux-4.1.27/arch/arm/kvm/
H A Dmmio.c173 * Prepare MMIO operation. First decode the syndrome data we get io_mem_abort()
H A Dinterrupts.S361 @ Check syndrome register
/linux-4.1.27/include/linux/mlx4/
H A Dcq.h68 u8 syndrome; member in struct:mlx4_err_cqe
H A Ddevice.h860 u8 syndrome; member in struct:mlx4_eqe::__anon12048::__anon12053
/linux-4.1.27/arch/sparc/include/asm/
H A Dchafsr.h202 /* System bus MTAG ECC syndrome. This field captures the status of the
215 /* System bus or E-cache data ECC syndrome. This field captures the status
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c1565 pr_warn("command failed, status %s(0x%x), syndrome 0x%x\n", mlx5_cmd_status_to_err()
1567 be32_to_cpu(hdr->syndrome)); mlx5_cmd_status_to_err()
1574 u32 syndrome; mlx5_cmd_status_to_err_v2() local
1581 syndrome = be32_to_cpu(*(__be32 *)(ptr + 4)); mlx5_cmd_status_to_err_v2()
1583 pr_warn("command failed, status %s(0x%x), syndrome 0x%x\n", mlx5_cmd_status_to_err_v2()
1584 cmd_status_str(status), status, syndrome); mlx5_cmd_status_to_err_v2()
H A Deq.c269 cqn, eqe->data.cq_err.syndrome); mlx5_eq_int()
/linux-4.1.27/arch/sparc/kernel/
H A Dtraps_64.c1045 /* Conversion tables used to frob Cheetah AFSR syndrome values into
1175 int syndrome; cheetah_log_errors() local
1178 syndrome = (afsr & CHAFSR_E_SYNDROME) >> CHAFSR_E_SYNDROME_SHIFT; cheetah_log_errors()
1179 syndrome = cheetah_ecc_syntab[syndrome]; cheetah_log_errors()
1180 ret = sprintf_dimm(syndrome, afar, unum, sizeof(unum)); cheetah_log_errors()
1182 printk("%s" "ERROR(%d): AFAR E-syndrome [%s]\n", cheetah_log_errors()
1186 int syndrome; cheetah_log_errors() local
1189 syndrome = (afsr & CHAFSR_M_SYNDROME) >> CHAFSR_M_SYNDROME_SHIFT; cheetah_log_errors()
1190 syndrome = cheetah_mtag_syntab[syndrome]; cheetah_log_errors()
1191 ret = sprintf_dimm(syndrome, afar, unum, sizeof(unum)); cheetah_log_errors()
1193 printk("%s" "ERROR(%d): AFAR M-syndrome [%s]\n", cheetah_log_errors()
H A Dpci_psycho.c241 /* XXX Use syndrome and afar to print out module string just like psycho_ce_intr()
244 printk("%s: syndrome[%02lx] bytemask[%04lx] dword_offset[%lx] " psycho_ce_intr()
H A Dpci_sabre.c284 /* XXX Use syndrome and afar to print out module string just like sabre_ce_intr()
287 printk("%s: syndrome[%02lx] bytemask[%04lx] dword_offset[%lx] " sabre_ce_intr()
H A Dchmc.c200 /* Covert syndrome code into the way the bits are positioned
H A Dsbus.c376 /* XXX Use syndrome and afar to print out module string just like sysio_ce_handler()
H A Dpci_schizo.c497 /* XXX Use syndrome and afar to print out module string just like schizo_ce_intr()
/linux-4.1.27/arch/arm64/kernel/
H A Dentry.S291 mrs x1, esr_el1 // read the syndrome register
397 mrs x25, esr_el1 // read the syndrome register
425 mrs x25, esr_el1 // read the syndrome register
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c136 u8 syndrome; member in struct:mthca_err_cqe
385 if (cqe->syndrome == SYNDROME_LOCAL_QP_OP_ERR) { handle_error_cqe()
397 switch (cqe->syndrome) { handle_error_cqe()
478 cqe->syndrome = SYNDROME_WR_FLUSH_ERR; handle_error_cqe()
H A Dmthca_eq.c152 u8 syndrome; member in struct:mthca_eqe::__anon4926::__anon4931
341 eqe->event.cq_err.syndrome == 1 ? mthca_eq_int()
/linux-4.1.27/arch/mips/include/asm/sn/sn0/
H A Dhubmd.h549 bad_syn: 7, /* 38-32: bad dir syndrome */
567 bad_syn: 8, /* 39-32: bad mem ecc syndrome */
/linux-4.1.27/arch/parisc/include/asm/
H A Dpdc_chassis.h247 #define PDC_CHASSIS_DT_SYNDROME (7ULL << 59) /* syndrome */
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c434 en_err(priv, "CQE error - vendor syndrome: 0x%x syndrome: 0x%x\n", mlx4_en_process_tx_cq()
436 cqe_err->syndrome); mlx4_en_process_tx_cq()
H A Den_rx.c797 ((struct mlx4_err_cqe *)cqe)->syndrome); mlx4_en_process_rx_cq()
H A Deq.c631 eqe->event.cq_err.syndrome == 1 ? mlx4_eq_int()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dcq.c498 if (cqe->syndrome == MLX4_CQE_SYNDROME_LOCAL_QP_OP_ERR) { mlx4_ib_handle_error_cqe()
500 "(QPN %06x, WQE index %x, vendor syndrome %02x, " mlx4_ib_handle_error_cqe()
508 switch (cqe->syndrome) { mlx4_ib_handle_error_cqe()
/linux-4.1.27/drivers/block/
H A Dumem.c572 unsigned char stat, count, syndrome, check; mm_interrupt() local
585 syndrome = readb(card->csr_remap + ERROR_SYNDROME); mm_interrupt()
603 check, syndrome); mm_interrupt()
/linux-4.1.27/include/linux/mtd/
H A Dnand.h127 /* Enable Hardware ECC before syndrome is read back from flash */
450 * @prepad: padding information for syndrome based ECC generators
451 * @postpad: padding information for syndrome based ECC generators
/linux-4.1.27/arch/alpha/kernel/
H A Dcore_cia.c1041 fmt = KERN_CRIT " ECC syndrome %#x -- check bit %d\n"; cia_decode_ecc_error()
1068 fmt = KERN_CRIT " ECC syndrome %#x -- data bit %d\n"; cia_decode_ecc_error()
1070 fmt = KERN_CRIT " ECC syndrome %#x -- unknown bit\n"; cia_decode_ecc_error()
/linux-4.1.27/lib/
H A Dbch.c951 * @syn: hw computed syndrome data (if NULL, syndrome is calculated)
971 * by providing syndrome results @syn:
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_qp.c672 * ipath_compute_aeth - compute the AETH (syndrome + MSN)
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_qp.c906 * qib_compute_aeth - compute the AETH (syndrome + MSN)
/linux-4.1.27/drivers/md/
H A Draid5.h565 * Secondly, or order of datablocks over which the Q syndrome is computed
/linux-4.1.27/fs/btrfs/
H A Dvolumes.c4878 /* Bubble-sort the stripe set to put the parity/syndrome stripes last */ sort_parity_stripes()

Completed in 2998 milliseconds