/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_zcp.c | 35 zcp_iconfig_t istatus; in nxge_zcp_init() local 96 if ((rs = npi_zcp_get_istatus(handle, &istatus)) != NPI_SUCCESS) in nxge_zcp_init() 117 zcp_iconfig_t istatus; in nxge_zcp_handle_sys_errors() local 125 if ((rs = npi_zcp_get_istatus(handle, &istatus)) != NPI_SUCCESS) in nxge_zcp_handle_sys_errors() 128 if (istatus & ICFG_ZCP_RRFIFO_UNDERRUN) { in nxge_zcp_handle_sys_errors() 136 if (istatus & ICFG_ZCP_RRFIFO_OVERRUN) { in nxge_zcp_handle_sys_errors() 144 if (istatus & ICFG_ZCP_RSPFIFO_UNCORR_ERR) { in nxge_zcp_handle_sys_errors() 152 if (istatus & ICFG_ZCP_BUFFER_OVERFLOW) { in nxge_zcp_handle_sys_errors() 161 if (istatus & ICFG_ZCP_STAT_TBL_PERR) { in nxge_zcp_handle_sys_errors() 169 if (istatus & ICFG_ZCP_DYN_TBL_PERR) { in nxge_zcp_handle_sys_errors() [all …]
|
H A D | nxge_txc.c | 336 txc_int_stat_t istatus; in nxge_txc_handle_sys_errors() local 343 npi_txc_global_istatus_get(handle, (txc_int_stat_t *)&istatus.value); in nxge_txc_handle_sys_errors() 346 if (istatus.bits.ldw.port0_int_status) { in nxge_txc_handle_sys_errors() 349 err_status = istatus.bits.ldw.port0_int_status; in nxge_txc_handle_sys_errors() 353 if (istatus.bits.ldw.port1_int_status) { in nxge_txc_handle_sys_errors() 356 err_status = istatus.bits.ldw.port1_int_status; in nxge_txc_handle_sys_errors() 360 if (istatus.bits.ldw.port2_int_status) { in nxge_txc_handle_sys_errors() 363 err_status = istatus.bits.ldw.port2_int_status; in nxge_txc_handle_sys_errors() 367 if (istatus.bits.ldw.port3_int_status) { in nxge_txc_handle_sys_errors() 370 err_status = istatus.bits.ldw.port3_int_status; in nxge_txc_handle_sys_errors() [all …]
|
H A D | nxge_ipp.c | 39 ipp_status_t istatus; in nxge_ipp_init() local 73 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) in nxge_ipp_init() 75 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) in nxge_ipp_init() 90 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) in nxge_ipp_init() 334 ipp_status_t istatus; in nxge_ipp_handle_sys_errors() local 348 if ((rs = npi_ipp_get_status(handle, portn, &istatus)) != NPI_SUCCESS) in nxge_ipp_handle_sys_errors() 351 if (istatus.value == 0) { in nxge_ipp_handle_sys_errors() 358 if (istatus.bits.w0.dfifo_missed_sop) { in nxge_ipp_handle_sys_errors() 373 if (istatus.bits.w0.dfifo_missed_eop) { in nxge_ipp_handle_sys_errors() 387 if (istatus.bits.w0.dfifo_uncorr_ecc_err) { in nxge_ipp_handle_sys_errors() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 381 ipadm_status_t istatus; in main() local 434 if ((istatus = ipadm_open(&iph, IPH_LEGACY)) != IPADM_SUCCESS) in main() 435 ipadmerr_exit(istatus, "unable to open handle to libipadm"); in main() 529 ipadm_status_t istatus; in foreachinterface() local 541 istatus = ipadm_addr_info(iph, NULL, &ainfo, IPADM_OPT_ZEROADDR, in foreachinterface() 543 if (istatus != IPADM_SUCCESS) in foreachinterface() 544 ipadmerr_exit(istatus, "could not get addresses from kernel"); in foreachinterface() 616 ipadm_status_t istatus; in ifconfig() local 746 istatus = ipadm_set_dst_addr(ipaddr, *argv, in ifconfig() 748 if (istatus != IPADM_SUCCESS) { in ifconfig() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_txc.c | 1012 npi_txc_global_istatus_get(npi_handle_t handle, txc_int_stat_t *istatus) in npi_txc_global_istatus_get() argument 1018 istatus->value = status.value; in npi_txc_global_istatus_get() 1032 npi_txc_global_istatus_clear(npi_handle_t handle, uint64_t istatus) in npi_txc_global_istatus_clear() argument 1034 NXGE_REG_WR64(handle, TXC_INT_STAT_REG, istatus); in npi_txc_global_istatus_clear() 1038 npi_txc_global_imask_set(npi_handle_t handle, uint8_t portn, uint8_t istatus) in npi_txc_global_imask_set() argument 1046 val |= istatus & 0x3F; in npi_txc_global_imask_set() 1050 val |= (istatus << 8) & 0x3F00; in npi_txc_global_imask_set() 1054 val |= (istatus << 16) & 0x3F0000; in npi_txc_global_imask_set() 1058 val |= (istatus << 24) & 0x3F000000; in npi_txc_global_imask_set()
|
H A D | npi_mac.c | 2313 xmac_tx_iconfig_t *istatus) in npi_xmac_tx_get_istatus() argument 2320 *istatus = (uint32_t)val; in npi_xmac_tx_get_istatus() 2327 xmac_rx_iconfig_t *istatus) in npi_xmac_rx_get_istatus() argument 2334 *istatus = (uint32_t)val; in npi_xmac_rx_get_istatus() 2341 xmac_ctl_iconfig_t *istatus) in npi_xmac_ctl_get_istatus() argument 2348 *istatus = (uint32_t)val; in npi_xmac_ctl_get_istatus() 3049 bmac_tx_iconfig_t *istatus) in npi_bmac_tx_get_istatus() argument 3056 *istatus = (uint32_t)val; in npi_bmac_tx_get_istatus() 3063 bmac_rx_iconfig_t *istatus) in npi_bmac_rx_get_istatus() argument 3070 *istatus = (uint32_t)val; in npi_bmac_rx_get_istatus() [all …]
|
H A D | npi_zcp.c | 162 npi_zcp_get_istatus(npi_handle_t handle, zcp_iconfig_t *istatus) in npi_zcp_get_istatus() argument 167 *istatus = (uint32_t)val; in npi_zcp_get_istatus()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_gen.c | 2464 ldc_status_t istatus; in vgen_ldc_attach() local 2519 (void) ldc_status(ldcp->ldc_handle, &istatus); in vgen_ldc_attach() 2520 ASSERT(istatus == LDC_INIT); in vgen_ldc_attach() 2521 ldcp->ldc_status = istatus; in vgen_ldc_attach() 2611 ldc_status_t istatus; in vgen_ldc_init() local 2629 (void) ldc_status(ldcp->ldc_handle, &istatus); in vgen_ldc_init() 2630 if (istatus != LDC_OPEN && istatus != LDC_READY) { in vgen_ldc_init() 2631 DWARN(vgenp, ldcp, "status(%d) is not OPEN/READY\n", istatus); in vgen_ldc_init() 2634 ldcp->ldc_status = istatus; in vgen_ldc_init() 2646 (void) ldc_status(ldcp->ldc_handle, &istatus); in vgen_ldc_init() [all …]
|
H A D | vsw_ldc.c | 568 ldc_status_t istatus; in vsw_ldc_attach() local 657 if (ldc_status(ldcp->ldc_handle, &istatus) != 0) { in vsw_ldc_attach() 663 ldcp->ldc_status = istatus; in vsw_ldc_attach() 804 ldc_status_t istatus = 0; in vsw_ldc_init() local 822 if (ldc_status(ldcp->ldc_handle, &istatus) != 0) { in vsw_ldc_init() 827 } else if (istatus != LDC_OPEN && istatus != LDC_READY) { in vsw_ldc_init() 829 __func__, ldcp->ldc_id, istatus); in vsw_ldc_init() 835 ldcp->ldc_status = istatus; in vsw_ldc_init() 866 ldcp->ldc_id, istatus); in vsw_ldc_init()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | oplkmdrv.c | 425 sckm_ioctl_status_t istatus; in okm_ioctl() local 443 if (ddi_copyin((caddr_t)data, &istatus, in okm_ioctl() 447 ret = okm_process_status(okmsp, &istatus); in okm_ioctl()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 541 uint16_t istatus; /* Interrupt status */ member 2210 RD16_IO_REG(ha, istatus) & RISC_INT)
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_isr.c | 323 if (RD16_IO_REG(ha, istatus) & RISC_INT) { in ql_isr_aif()
|
H A D | ql_api.c | 4545 RD16_IO_REG(ha, istatus)); in ql_port_manage()
|