Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.c240 static const char *mlx5_fpga_syndrome_to_string(u8 syndrome) in mlx5_fpga_syndrome_to_string() argument
242 if (syndrome < ARRAY_SIZE(mlx5_fpga_error_strings)) in mlx5_fpga_syndrome_to_string()
243 return mlx5_fpga_error_strings[syndrome]; in mlx5_fpga_syndrome_to_string()
253 u8 syndrome; in mlx5_fpga_event() local
261 syndrome = MLX5_GET(fpga_error_event, data, syndrome); in mlx5_fpga_event()
262 event_name = mlx5_fpga_syndrome_to_string(syndrome); in mlx5_fpga_event()
267 mlx5_fpga_warn(fdev, "Error %u: %s\n", syndrome, event_name); in mlx5_fpga_event()
272 syndrome, event_name); in mlx5_fpga_event()
Dipsec.c67 __be32 syndrome; member
112 static inline int syndrome_to_errno(enum mlx5_ipsec_response_syndrome syndrome) in syndrome_to_errno() argument
114 switch (syndrome) { in syndrome_to_errno()
131 enum mlx5_ipsec_response_syndrome syndrome; in mlx5_fpga_ipsec_recv() local
142 ntohl(resp->syndrome), ntohl(resp->sw_sa_handle)); in mlx5_fpga_ipsec_recv()
165 syndrome = ntohl(resp->syndrome); in mlx5_fpga_ipsec_recv()
166 context->status_code = syndrome_to_errno(syndrome); in mlx5_fpga_ipsec_recv()
171 syndrome); in mlx5_fpga_ipsec_recv()
/drivers/edac/
Dfsl_ddr_edac.c222 u8 syndrome = 0; in syndrome_from_bit() local
230 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
232 return syndrome; in syndrome_from_bit()
243 u8 syndrome; in sbe_ecc_decode() local
252 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode()
256 if (syndrome == syndrome_from_bit(i)) { in sbe_ecc_decode()
264 if ((syndrome >> i) & 0x1) { in sbe_ecc_decode()
279 u32 syndrome; in fsl_mc_check() local
301 syndrome = ddr_in32(pdata->mc_vbase + FSL_MC_CAPTURE_ECC); in fsl_mc_check()
307 syndrome &= 0xff; in fsl_mc_check()
[all …]
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.c82 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); in highbank_mc_err_handler() local
83 syndrome = (syndrome >> 8) & 0xff; in highbank_mc_err_handler()
87 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
Dcpc925_edac.c516 static int cpc925_mc_find_channel(struct mem_ctl_info *mci, u16 syndrome) in cpc925_mc_find_channel() argument
518 if ((syndrome & MESR_ECC_SYN_H_MASK) == 0) in cpc925_mc_find_channel()
521 if ((syndrome & MESR_ECC_SYN_L_MASK) == 0) in cpc925_mc_find_channel()
525 syndrome); in cpc925_mc_find_channel()
536 u16 syndrome; in cpc925_mc_check() local
546 syndrome = mesr | (MESR_ECC_SYN_H_MASK | MESR_ECC_SYN_L_MASK); in cpc925_mc_check()
555 channel = cpc925_mc_find_channel(mci, syndrome); in cpc925_mc_check()
557 pfn, offset, syndrome, in cpc925_mc_check()
590 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.c439 unsigned long syndrome, in i5100_handle_ce() argument
452 0, 0, syndrome, in i5100_handle_ce()
461 unsigned long syndrome, in i5100_handle_ue() argument
474 0, 0, syndrome, in i5100_handle_ue()
486 unsigned syndrome = 0; in i5100_read_log() local
498 syndrome = dw2; in i5100_read_log()
522 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
544 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()
Damd64_edac.c1247 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); in k8_map_sysaddr_to_csrow()
1256 err->syndrome); in k8_map_sysaddr_to_csrow()
2060 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); in f1x_map_sysaddr_to_csrow()
2282 static int decode_syndrome(u16 syndrome, const u16 *vectors, unsigned num_vecs, in decode_syndrome() argument
2288 u16 s = syndrome; in decode_syndrome()
2314 edac_dbg(0, "syndrome(%x) not found\n", syndrome); in decode_syndrome()
2357 static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome) in get_channel_from_ecc_syndrome() argument
2363 err_sym = decode_syndrome(syndrome, x8_vectors, in get_channel_from_ecc_syndrome()
2367 err_sym = decode_syndrome(syndrome, x4_vectors, in get_channel_from_ecc_syndrome()
2420 err->page, err->offset, err->syndrome, in __log_ecc_error()
[all …]
Dedac_mc.c1066 e->grain, e->syndrome); in edac_raw_mc_handle_error()
1088 const unsigned long syndrome, in edac_mc_handle_error() argument
1112 e->syndrome = syndrome; in edac_mc_handle_error()
1251 grain_bits, e->syndrome, e->other_detail); in edac_mc_handle_error()
Dedac_mc.h242 const unsigned long syndrome,
Dmv64x60_edac.c597 u32 syndrome; in mv64x60_mc_check() local
606 syndrome = sdram_ecc ^ comp_ecc; in mv64x60_mc_check()
612 err_addr & PAGE_MASK, syndrome, in mv64x60_mc_check()
Di7300_edac.c414 u32 syndrome; in i7300_process_fbd_error() local
469 REDMEMA, &syndrome); in i7300_process_fbd_error()
499 syndrome, in i7300_process_fbd_error()
Damd64_edac.h392 u16 syndrome; member
/drivers/mtd/nand/
Dbf5xx_nand.c234 u32 syndrome[5]; in bf5xx_nand_correct_data_256() local
243 syndrome[0] = (calced ^ stored); in bf5xx_nand_correct_data_256()
250 if (!syndrome[0] || !calced || !stored) in bf5xx_nand_correct_data_256()
258 if (hweight32(syndrome[0]) == 1) { in bf5xx_nand_correct_data_256()
263 syndrome[1] = (calced & 0x7FF) ^ (stored & 0x7FF); in bf5xx_nand_correct_data_256()
264 syndrome[2] = (calced & 0x7FF) ^ ((calced >> 11) & 0x7FF); in bf5xx_nand_correct_data_256()
265 syndrome[3] = (stored & 0x7FF) ^ ((stored >> 11) & 0x7FF); in bf5xx_nand_correct_data_256()
266 syndrome[4] = syndrome[2] ^ syndrome[3]; in bf5xx_nand_correct_data_256()
269 dev_info(info->device, "syndrome[%d] 0x%08x\n", i, syndrome[i]); in bf5xx_nand_correct_data_256()
281 if (hweight32(syndrome[0]) == 11 && syndrome[4] == 0x7FF) { in bf5xx_nand_correct_data_256()
[all …]
Ddavinci_nand.c316 u32 syndrome[4]; in nand_davinci_correct_4bit() local
345 nand_davinci_readecc_4bit(info, syndrome); in nand_davinci_correct_4bit()
346 if (!(syndrome[0] | syndrome[1] | syndrome[2] | syndrome[3])) in nand_davinci_correct_4bit()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c64 unsigned char syndrome; member
209 mdata->syndrome = MLX5E_IPSEC_TX_SYNDROME_OFFLOAD_WITH_LSO_TCP; in mlx5e_ipsec_set_metadata()
213 mdata->syndrome = MLX5E_IPSEC_TX_SYNDROME_OFFLOAD; in mlx5e_ipsec_set_metadata()
218 mdata->syndrome, mdata->content.tx.esp_next_proto, in mlx5e_ipsec_set_metadata()
301 switch (mdata->syndrome) { in mlx5e_ipsec_build_sp()
/drivers/infiniband/sw/rxe/
Drxe_resp.c596 u8 syndrome, in prepare_ack_packet() argument
635 aeth_set_syn(ack, syndrome); in prepare_ack_packet()
960 u8 syndrome, u32 psn) in send_ack() argument
968 0, psn, syndrome, NULL); in send_ack()
983 u8 syndrome) in send_atomic_ack() argument
994 syndrome, NULL); in send_atomic_ack()
1184 static void do_class_ac_error(struct rxe_qp *qp, u8 syndrome, in do_class_ac_error() argument
1187 qp->resp.aeth_syndrome = syndrome; in do_class_ac_error()
/drivers/infiniband/hw/mlx5/
Dcq.c289 switch (cqe->syndrome) { in mlx5_handle_error_cqe()
411 u16 syndrome = be16_to_cpu(cqe->syndrome); in get_sig_err_item() local
417 if (syndrome & GUARD_ERR) { in get_sig_err_item()
422 if (syndrome & REFTAG_ERR) { in get_sig_err_item()
427 if (syndrome & APPTAG_ERR) { in get_sig_err_item()
433 syndrome); in get_sig_err_item()
601 err_cqe->syndrome, err_cqe->vendor_err_synd); in mlx5_poll_one()
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c670 u8 syndrome[0x20]; member
685 void mlx5_cmd_mbox_status(void *out, u8 *status, u32 *syndrome) in mlx5_cmd_mbox_status() argument
688 *syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_mbox_status()
693 u32 syndrome; in mlx5_cmd_check() local
698 mlx5_cmd_mbox_status(out, &status, &syndrome); in mlx5_cmd_check()
711 syndrome); in mlx5_cmd_check()
865 MLX5_SET(mbox_out, ent->out, syndrome, drv_synd); in cmd_work_handler()
1586 MLX5_SET(mbox_out, out, syndrome, drv_synd); in cmd_exec()
Dmain.c783 u32 syndrome; in mlx5_core_set_issi() local
786 mlx5_cmd_mbox_status(query_out, &status, &syndrome); in mlx5_core_set_issi()
787 if (!status || syndrome == MLX5_DRIVER_SYND) { in mlx5_core_set_issi()
789 err, status, syndrome); in mlx5_core_set_issi()
/drivers/infiniband/hw/mthca/
Dmthca_cq.c136 u8 syndrome; member
385 if (cqe->syndrome == SYNDROME_LOCAL_QP_OP_ERR) { in handle_error_cqe()
397 switch (cqe->syndrome) { in handle_error_cqe()
478 cqe->syndrome = SYNDROME_WR_FLUSH_ERR; in handle_error_cqe()
/drivers/infiniband/hw/hfi1/
Dtrace.c130 static const char *parse_syndrome(u8 syndrome) in parse_syndrome() argument
132 switch (syndrome >> 5) { in parse_syndrome()
/drivers/block/
Dumem.c572 unsigned char stat, count, syndrome, check; in mm_interrupt() local
585 syndrome = readb(card->csr_remap + ERROR_SYNDROME); in mm_interrupt()
603 check, syndrome); in mm_interrupt()

12