Lines Matching refs:portn
394 uint8_t portn; in nxge_txc_handle_port_errors() local
399 portn = nxgep->mac.portnum; in nxge_txc_handle_port_errors()
406 if ((rs = npi_txc_ro_states_get(handle, portn, in nxge_txc_handle_port_errors()
413 NXGE_FM_REPORT_ERROR(nxgep, portn, 0, in nxge_txc_handle_port_errors()
421 NXGE_FM_REPORT_ERROR(nxgep, portn, 0, in nxge_txc_handle_port_errors()
429 NXGE_FM_REPORT_ERROR(nxgep, portn, 0, in nxge_txc_handle_port_errors()
441 if ((rs = npi_txc_ro_ecc_state_clr(handle, portn)) in nxge_txc_handle_port_errors()
449 portn, 0); in nxge_txc_handle_port_errors()
455 if ((rs = npi_txc_sf_states_get(handle, portn, in nxge_txc_handle_port_errors()
461 NXGE_FM_REPORT_ERROR(nxgep, portn, 0, in nxge_txc_handle_port_errors()
469 NXGE_FM_REPORT_ERROR(nxgep, portn, 0, in nxge_txc_handle_port_errors()
475 if ((rs = npi_txc_sf_ecc_state_clr(handle, portn)) in nxge_txc_handle_port_errors()
482 TXC_FZC_CNTL_REG_WRITE64(handle, TXC_SFECC_CTL_REG, portn, 0); in nxge_txc_handle_port_errors()
486 switch (portn) { in nxge_txc_handle_port_errors()
509 portn)); in nxge_txc_handle_port_errors()
525 uint8_t portn = nxgep->mac.portnum; in nxge_txc_inject_err() local
541 portn, ro_ecc_ctl.value); in nxge_txc_inject_err()
555 portn, sf_ecc_ctl.value); in nxge_txc_inject_err()
560 nxge_txc_inject_port_err(portn, &txcs, in nxge_txc_inject_err()
574 nxge_txc_inject_port_err(uint8_t portn, txc_int_stat_dbg_t *txcs, in nxge_txc_inject_port_err() argument
577 switch (portn) { in nxge_txc_inject_port_err()