Lines Matching refs:io

331 marvel_print_po7_err_sum(struct ev7_pal_io_subpacket *io)  in marvel_print_po7_err_sum()  argument
371 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE) { in marvel_print_po7_err_sum()
374 (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE2) in marvel_print_po7_err_sum()
376 marvel_print_po7_crrct_sym(io->po7_crrct_sym); in marvel_print_po7_err_sum()
382 if (io->po7_error_sum & IO7__PO7_ERRSUM__HLT_INT) in marvel_print_po7_err_sum()
384 if (io->po7_error_sum & IO7__PO7_ERRSUM__HP_INT) { in marvel_print_po7_err_sum()
389 if (io->po7_error_sum & IO7__PO7_ERRSUM__CRD_INT) in marvel_print_po7_err_sum()
392 if (io->po7_error_sum & IO7__PO7_ERRSUM__STV_INT) { in marvel_print_po7_err_sum()
396 if (io->po7_error_sum & IO7__PO7_ERRSUM__HRD_INT) { in marvel_print_po7_err_sum()
405 if (!(io->po7_error_sum & IO7__PO7_ERRSUM__ERR_VALID)) in marvel_print_po7_err_sum()
416 if (!(io->po7_error_sum & (IO7__PO7_ERRSUM__CR_PIO_WBYTE | in marvel_print_po7_err_sum()
423 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_PIO_WBYTE) in marvel_print_po7_err_sum()
425 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CSR_NXM) in marvel_print_po7_err_sum()
427 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RPID_ACV) in marvel_print_po7_err_sum()
430 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RSP_NXM) in marvel_print_po7_err_sum()
433 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_ERR_RESP) in marvel_print_po7_err_sum()
435 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CLK_DERR) in marvel_print_po7_err_sum()
437 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_DBE) in marvel_print_po7_err_sum()
440 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_GRBG) in marvel_print_po7_err_sum()
443 if (io->po7_error_sum & IO7__PO7_ERRSUM__UGBGE) { in marvel_print_po7_err_sum()
446 marvel_print_po7_ugbge_sym(io->po7_ugbge_sym); in marvel_print_po7_err_sum()
448 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_MAF_LOST) in marvel_print_po7_err_sum()
451 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_PKT_OVF) in marvel_print_po7_err_sum()
453 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_CDT_OVF) in marvel_print_po7_err_sum()
455 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_DEALLOC) in marvel_print_po7_err_sum()
462 if (io->po7_error_sum & IO7__PO7_ERRSUM__MAF_TO) in marvel_print_po7_err_sum()
465 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CDT_TO) in marvel_print_po7_err_sum()
467 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CLK_HDR) in marvel_print_po7_err_sum()
470 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_DBE_HDR) in marvel_print_po7_err_sum()
473 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_GBG_HDR) in marvel_print_po7_err_sum()
476 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_BAD_CMD) in marvel_print_po7_err_sum()
480 if (io->po7_error_sum & IO7__PO7_ERRSUM__ERR_LST) in marvel_print_po7_err_sum()
487 err_print_prefix, io->po7_err_pkt0, in marvel_print_po7_err_sum()
488 err_print_prefix, io->po7_err_pkt1); in marvel_print_po7_err_sum()
495 marvel_print_po7_uncrr_sym(io->po7_uncrr_sym, uncrr_sym_valid); in marvel_print_po7_err_sum()
800 struct ev7_pal_io_subpacket *io = lf_subpackets->io; in marvel_find_io7_with_error() local
807 if (!io) in marvel_find_io7_with_error()
813 memset(io, 0x55, sizeof(*io)); in marvel_find_io7_with_error()
843 io->io_asic_rev = io7->csrs->IO_ASIC_REV.csr; in marvel_find_io7_with_error()
844 io->io_sys_rev = io7->csrs->IO_SYS_REV.csr; in marvel_find_io7_with_error()
845 io->io7_uph = io7->csrs->IO7_UPH.csr; in marvel_find_io7_with_error()
846 io->hpi_ctl = io7->csrs->HPI_CTL.csr; in marvel_find_io7_with_error()
847 io->crd_ctl = io7->csrs->CRD_CTL.csr; in marvel_find_io7_with_error()
848 io->hei_ctl = io7->csrs->HEI_CTL.csr; in marvel_find_io7_with_error()
849 io->po7_error_sum = io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
850 io->po7_uncrr_sym = io7->csrs->PO7_UNCRR_SYM.csr; in marvel_find_io7_with_error()
851 io->po7_crrct_sym = io7->csrs->PO7_CRRCT_SYM.csr; in marvel_find_io7_with_error()
852 io->po7_ugbge_sym = io7->csrs->PO7_UGBGE_SYM.csr; in marvel_find_io7_with_error()
853 io->po7_err_pkt0 = io7->csrs->PO7_ERR_PKT[0].csr; in marvel_find_io7_with_error()
854 io->po7_err_pkt1 = io7->csrs->PO7_ERR_PKT[1].csr; in marvel_find_io7_with_error()
862 io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
863 io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; in marvel_find_io7_with_error()
864 io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; in marvel_find_io7_with_error()
865 io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; in marvel_find_io7_with_error()
866 io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; in marvel_find_io7_with_error()
867 io->ports[i].pox_mult_err = csrs->POx_MULT_ERR.csr; in marvel_find_io7_with_error()
868 io->ports[i].pox_dm_source = csrs->POx_DM_SOURCE.csr; in marvel_find_io7_with_error()
869 io->ports[i].pox_dm_dest = csrs->POx_DM_DEST.csr; in marvel_find_io7_with_error()
870 io->ports[i].pox_dm_size = csrs->POx_DM_SIZE.csr; in marvel_find_io7_with_error()
871 io->ports[i].pox_dm_ctrl = csrs->POx_DM_CTRL.csr; in marvel_find_io7_with_error()
881 csrs->POx_TLB_ERR.csr = io->ports[i].pox_tlb_err; in marvel_find_io7_with_error()
882 csrs->POx_ERR_SUM.csr = io->ports[i].pox_err_sum; in marvel_find_io7_with_error()
890 io7->csrs->PO7_ERROR_SUM.csr = io->po7_error_sum; in marvel_find_io7_with_error()
899 return io; in marvel_find_io7_with_error()
908 struct ev7_pal_io_subpacket *io = lf_subpackets->io; in marvel_process_io_error() local
914 if (!lf_subpackets->logout || !lf_subpackets->io) in marvel_process_io_error()
933 if ((lf_subpackets->io->po7_error_sum & (1UL << 32)) || in marvel_process_io_error()
934 ((lf_subpackets->io->po7_error_sum | in marvel_process_io_error()
935 lf_subpackets->io->ports[0].pox_err_sum | in marvel_process_io_error()
936 lf_subpackets->io->ports[1].pox_err_sum | in marvel_process_io_error()
937 lf_subpackets->io->ports[2].pox_err_sum | in marvel_process_io_error()
938 lf_subpackets->io->ports[3].pox_err_sum) & (1UL << 63))) { in marvel_process_io_error()
964 if (lf_subpackets->io->po7_error_sum & IO7__PO7_ERRSUM__ERR_MASK) { in marvel_process_io_error()
965 marvel_print_po7_err_sum(io); in marvel_process_io_error()
976 err_print_prefix, io->po7_error_sum, in marvel_process_io_error()
977 err_print_prefix, io->po7_uncrr_sym, in marvel_process_io_error()
978 err_print_prefix, io->po7_crrct_sym, in marvel_process_io_error()
979 err_print_prefix, io->po7_ugbge_sym, in marvel_process_io_error()
980 err_print_prefix, io->po7_err_pkt0, in marvel_process_io_error()
981 err_print_prefix, io->po7_err_pkt1); in marvel_process_io_error()
989 if (!MARVEL_IO_ERR_VALID(io->ports[i].pox_err_sum)) in marvel_process_io_error()
994 lf_subpackets->io_pid, i, io->ports[i].pox_err_sum); in marvel_process_io_error()
995 marvel_print_pox_err(io->ports[i].pox_err_sum, &io->ports[i]); in marvel_process_io_error()
998 err_print_prefix, io->ports[i].pox_first_err); in marvel_process_io_error()
999 marvel_print_pox_err(io->ports[i].pox_first_err, in marvel_process_io_error()
1000 &io->ports[i]); in marvel_process_io_error()
1111 if (!lf_subpackets->io) in marvel_machine_check()
1112 lf_subpackets->io = &scratch_io_packet; in marvel_machine_check()