/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | core.c | 319 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 …]
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | cmd_tracepoint.h | 15 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,
|
/drivers/edac/ |
D | fsl_ddr_edac.c | 223 u8 syndrome = 0; in syndrome_from_bit() local 231 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit() 233 return syndrome; in syndrome_from_bit() 244 u8 syndrome; in sbe_ecc_decode() local 253 syndrome = calculate_ecc(cap_high, cap_low) ^ cap_ecc; in sbe_ecc_decode() 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 302 syndrome = ddr_in32(pdata->mc_vbase + FSL_MC_CAPTURE_ECC); in fsl_mc_check() 308 syndrome &= 0xff; in fsl_mc_check() [all …]
|
D | aspeed_edac.c | 95 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()
|
D | e7xxx_edac.c | 166 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()
|
D | cpc925_edac.c | 504 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()
|
D | highbank_mc_edac.c | 72 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()
|
D | i5100_edac.c | 431 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()
|
D | r82600_edac.c | 164 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()
|
D | cell_edac.c | 38 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()
|
D | edac_mc.c | 842 e->grain, e->syndrome, in edac_ce_error() 934 grain_bits, e->syndrome, e->other_detail); in edac_raw_mc_handle_error() 948 const unsigned long syndrome, in edac_mc_handle_error() argument 975 e->syndrome = syndrome; in edac_mc_handle_error()
|
D | npcm_edac.c | 205 u32 val, syndrome; in force_ecc_error() local 244 syndrome = priv->location ? 1 << priv->bit in force_ecc_error() 248 val | (syndrome << pdata->xor_check_bits_shift) | in force_ecc_error()
|
D | edac_mc.h | 246 const unsigned long syndrome,
|
D | amd64_edac.c | 2073 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); in k8_map_sysaddr_to_csrow() 2082 err->syndrome); in k8_map_sysaddr_to_csrow() 2806 err->channel = get_channel_from_ecc_syndrome(mci, err->syndrome); in f1x_map_sysaddr_to_csrow() 2877 static int decode_syndrome(u16 syndrome, const u16 *vectors, unsigned num_vecs, in decode_syndrome() argument 2883 u16 s = syndrome; in decode_syndrome() 2909 edac_dbg(0, "syndrome(%x) not found\n", syndrome); in decode_syndrome() 2944 static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome) in get_channel_from_ecc_syndrome() argument 2950 err_sym = decode_syndrome(syndrome, x8_vectors, in get_channel_from_ecc_syndrome() 2954 err_sym = decode_syndrome(syndrome, x4_vectors, in get_channel_from_ecc_syndrome() 3007 err->page, err->offset, err->syndrome, in __log_ecc_error() [all …]
|
D | i7300_edac.c | 412 u32 syndrome; in i7300_process_fbd_error() local 467 REDMEMA, &syndrome); in i7300_process_fbd_error() 497 syndrome, in i7300_process_fbd_error()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | health.h | 10 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()
|
/drivers/infiniband/hw/erdma/ |
D | erdma_cq.c | 113 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | mlx5_ifc_vhca_event.h | 30 u8 syndrome[0x20]; member 61 u8 syndrome[0x20]; member
|
/drivers/mtd/nand/raw/ |
D | davinci_nand.c | 258 u32 syndrome[4]; in nand_davinci_correct_4bit() local 287 nand_davinci_readecc_4bit(info, syndrome); in nand_davinci_correct_4bit() 288 if (!(syndrome[0] | syndrome[1] | syndrome[2] | syndrome[3])) in nand_davinci_correct_4bit()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_rxtx.h | 46 #define MLX5_IPSEC_METADATA_CREATE(id, syndrome) ((id) | ((syndrome) << 24)) argument
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 54 u8 syndrome[0x20]; member 803 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_out_err() local 809 cmd_status_str(status), status, syndrome, cmd_status_to_err(status)); in mlx5_cmd_out_err() 832 u32 syndrome; in mlx5_cmd_check() local 836 err = mlx5_internal_err_ret_value(dev, opcode, &syndrome, &status); in mlx5_cmd_check() 838 MLX5_SET(mbox_out, out, syndrome, syndrome); in mlx5_cmd_check() 1937 u32 syndrome = MLX5_GET(mbox_out, out, syndrome); in mlx5_cmd_err_trace() local 1941 cmd_status_str(status), status, syndrome, in mlx5_cmd_err_trace() 1946 u32 syndrome, int err) in cmd_status_log() argument 1965 stats->last_failed_syndrome = syndrome; in cmd_status_log() [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_resp.c | 778 u8 syndrome) in prepare_ack_packet() argument 806 aeth_set_syn(ack, syndrome); in prepare_ack_packet() 1179 static int send_common_ack(struct rxe_qp *qp, u8 syndrome, u32 psn, in send_common_ack() argument 1186 skb = prepare_ack_packet(qp, &ack_pkt, opcode, 0, psn, syndrome); in send_common_ack() 1197 static int send_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_ack() argument 1199 return send_common_ack(qp, syndrome, psn, in send_ack() 1203 static int send_atomic_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_atomic_ack() argument 1205 int ret = send_common_ack(qp, syndrome, psn, in send_atomic_ack() 1215 static int send_read_response_ack(struct rxe_qp *qp, u8 syndrome, u32 psn) in send_read_response_ack() argument 1217 int ret = send_common_ack(qp, syndrome, psn, in send_read_response_ack() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 285 switch (cqe->syndrome) { in mlx5_handle_error_cqe() 365 u16 syndrome = be16_to_cpu(cqe->syndrome); in get_sig_err_item() local 371 if (syndrome & GUARD_ERR) { in get_sig_err_item() 376 if (syndrome & REFTAG_ERR) { in get_sig_err_item() 381 if (syndrome & APPTAG_ERR) { in get_sig_err_item() 387 syndrome); in get_sig_err_item() 528 err_cqe->syndrome, err_cqe->vendor_err_synd); in mlx5_poll_one()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 136 u8 syndrome; member 380 if (cqe->syndrome == SYNDROME_LOCAL_QP_OP_ERR) { in handle_error_cqe() 392 switch (cqe->syndrome) { in handle_error_cqe() 473 cqe->syndrome = SYNDROME_WR_FLUSH_ERR; in handle_error_cqe()
|
/drivers/infiniband/hw/hfi1/ |
D | trace.c | 104 static const char *parse_syndrome(u8 syndrome) in parse_syndrome() argument 106 switch (syndrome >> 5) { in parse_syndrome()
|