Home
last modified time | relevance | path

Searched refs:intr_count (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c476 sc->intr_count = iaq.nirq; in t4_devo_attach()
511 sc->intr_handle = kmem_zalloc(sc->intr_count * in t4_devo_attach()
573 sc->intr_count, &i, DDI_INTR_ALLOC_STRICT); in t4_devo_attach()
577 sc->intr_count, sc->intr_type, rc, i); in t4_devo_attach()
580 ASSERT(sc->intr_count == i); /* allocation was STRICT */ in t4_devo_attach()
583 if (sc->intr_count == 1) { in t4_devo_attach()
654 n10g, n1g, rqidx, tqidx, sc->intr_count, in t4_devo_attach()
665 sc->intr_count, in t4_devo_attach()
741 for (i = 0; i < sc->intr_count; i++) { in t4_devo_detach()
750 sc->intr_count * sizeof (*sc->intr_handle)); in t4_devo_detach()
[all …]
H A Dadapter.h451 int intr_count; member
562 #define NFIQ(sc) ((sc)->intr_count > 1 ? (sc)->intr_count - 1 : 1)
H A Dt4_sge.c351 if (sc->intr_count == 1) in first_vector()
390 if (sc->intr_count == 1) in port_intr_iq()
460 (sc->intr_count > 1 && pi->nrxq >= pi->nofldrxq)) in t4_setup_port_queues()
483 (sc->intr_count > 1 && pi->nofldrxq > pi->nrxq)) { in t4_setup_port_queues()
1126 ASSERT(intr_idx < sc->intr_count); in alloc_iq_fl()
1293 intr_idx = sc->intr_count > 1 ? 1 : 0; in alloc_fwq()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h288 uint32_t intr_count; member
H A Demlxs_extern.h418 uint32_t intr_count);
421 uint32_t intr_count);
H A Demlxs_fc.h1973 uint32_t intr_count; member
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c410 hba->intr_count = count; in emlxs_msi_init()
421 hba->chan_count = hba->intr_count * cfg[CFG_NUM_WQ].current; in emlxs_msi_init()
467 hba->intr_count = 0; in emlxs_msi_init()
531 count = hba->intr_count; in emlxs_msi_uninit()
536 hba->intr_count = 0; in emlxs_msi_uninit()
616 count = hba->intr_count; in emlxs_msi_add()
722 count = hba->intr_count; in emlxs_msi_remove()
824 hba->intr_count = 1; in emlxs_intx_init()
H A Demlxs_mbox.c1069 uint32_t intr_count) in emlxs_mb_config_msi() argument
1083 for (i = 1; i < intr_count; i++) { in emlxs_mb_config_msi()
1150 uint32_t intr_count) in emlxs_mb_config_msix() argument
1164 for (i = 1; i < intr_count; i++) { in emlxs_mb_config_msix()
H A Demlxs_sli4.c325 hba->chan_count = hba->intr_count * cfg[CFG_NUM_WQ].current; in emlxs_sli4_online()
331 hba->chan_count = hba->intr_count * cfg[CFG_NUM_WQ].current; in emlxs_sli4_online()
4941 for (i = 0; i < hba->intr_count; i++) { in emlxs_sli4_poll_intr()
7038 if (msgid >= hba->intr_count) { in emlxs_sli4_msi_intr()
7170 num_cq = (hba->intr_count * cfg[CFG_NUM_WQ].current) + in emlxs_sli4_enable_intr()
7179 for (i = 0; i < hba->intr_count; i++) { in emlxs_sli4_enable_intr()
7242 for (i = 0; i < hba->intr_count; i++) { in emlxs_sli4_resource_free()
7328 num_eq = hba->intr_count; in emlxs_sli4_resource_alloc()
7691 for (i = 0; i < hba->intr_count; i++) { in emlxs_sli4_zero_queue_stat()
7696 num_wq = cfg[CFG_NUM_WQ].current * hba->intr_count; in emlxs_sli4_zero_queue_stat()
[all …]
H A Demlxs_sli3.c1328 if (hba->intr_count > 1) { in emlxs_sli3_online()
1338 emlxs_mb_config_msix(hba, mbq, hba->intr_map, hba->intr_count); in emlxs_sli3_online()
1352 emlxs_mb_config_msi(hba, mbq, hba->intr_map, hba->intr_count); in emlxs_sli3_online()
1396 if ((hba->intr_count >= 1) && in emlxs_sli3_online()
1400 for (i = 0; i < hba->intr_count; i ++) { in emlxs_sli3_online()
4293 if (msgid >= hba->intr_count) { in emlxs_sli3_msi_intr()
H A Demlxs_solaris.c5521 qp->intr_count = hba->intr_count; in emlxs_fca_port_manage()
6885 hba->intr_count); in emlxs_drv_banner()
6890 hba->intr_count); in emlxs_drv_banner()
8772 if (hba->last_msiid >= hba->intr_count) { in emlxs_select_msiid()
8781 if (hba->intr_count > hba->chan_count) { in emlxs_select_msiid()
8786 if (hba->last_msiid >= hba->intr_count) { in emlxs_select_msiid()
/titanic_41/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c2428 count, &acb->intr_count, DDI_INTR_ALLOC_NORMAL); in arcmsr_add_intr()
2429 if ((rc != DDI_SUCCESS) || (acb->intr_count == 0)) { in arcmsr_add_intr()
2434 if (acb->intr_count < count) { in arcmsr_add_intr()
2436 acb->intr_count, count); in arcmsr_add_intr()
2450 for (int x = 0; x < acb->intr_count; x++) { in arcmsr_add_intr()
2461 (void) ddi_intr_block_enable(acb->phandle, acb->intr_count); in arcmsr_add_intr()
2464 for (int x = 0; x < acb->intr_count; x++) { in arcmsr_add_intr()
2482 (void) ddi_intr_block_disable(acb->phandle, acb->intr_count); in arcmsr_remove_intr()
2484 for (x = 0; x < acb->intr_count; x++) { in arcmsr_remove_intr()
2489 for (x = 0; x < acb->intr_count; x++) { in arcmsr_remove_intr()
H A Darcmsr.h765 int intr_count; member
/titanic_41/usr/src/uts/common/sys/audio/
H A Daudio_oss.h425 int intr_count; member
/titanic_41/usr/src/uts/common/io/rwd/
H A Drt2661.c2811 int intr_type, intr_count, intr_actual; in rt2661_attach() local
2907 err = ddi_intr_get_nintrs(devinfo, DDI_INTR_TYPE_FIXED, &intr_count); in rt2661_attach()
2908 if ((err != DDI_SUCCESS) || (intr_count != 1)) { in rt2661_attach()
2917 DDI_INTR_TYPE_FIXED, 0, intr_count, &intr_actual, 0); in rt2661_attach()
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge.h619 uint64_t intr_count; member
H A Dnge_chip.c1742 ngep->statistics.sw_statistics.intr_count++; in nge_intr_handle()
/titanic_41/usr/src/uts/common/io/
H A Dbofi.c4293 int intr_count = 1; in bofi_intercept_intr() local
4339 intr_count = 0; in bofi_intercept_intr()
4342 intr_count += ep->errdef.operand; in bofi_intercept_intr()
4354 for (i = 0; i < intr_count; i++) { in bofi_intercept_intr()
4368 if (intr_count > 1000 && !jabber_detected) in bofi_intercept_intr()
/titanic_41/usr/src/uts/common/io/mwl/
H A Dmwl.c3802 int intr_type, intr_count, intr_actual; in mwl_attach() local
4089 err = ddi_intr_get_nintrs(devinfo, DDI_INTR_TYPE_FIXED, &intr_count); in mwl_attach()
4090 if ((err != DDI_SUCCESS) || (intr_count != 1)) { in mwl_attach()
4099 DDI_INTR_TYPE_FIXED, 0, intr_count, &intr_actual, 0); in mwl_attach()
/titanic_41/usr/src/uts/common/io/iwp/
H A Diwp.c478 int intr_count; in iwp_attach() local
590 err = ddi_intr_get_nintrs(dip, DDI_INTR_TYPE_FIXED, &intr_count); in iwp_attach()
591 if ((err != DDI_SUCCESS) || (intr_count != 1)) { in iwp_attach()
600 intr_count, &intr_actual, 0); in iwp_attach()
/titanic_41/usr/src/uts/common/io/iwh/
H A Diwh.c516 int intr_count; in iwh_attach() local
633 err = ddi_intr_get_nintrs(dip, DDI_INTR_TYPE_FIXED, &intr_count); in iwh_attach()
634 if ((err != DDI_SUCCESS) || (intr_count != 1)) { in iwh_attach()
643 intr_count, &intr_actual, 0); in iwh_attach()
/titanic_41/usr/src/uts/common/io/iwk/
H A Diwk2.c482 int intr_count; in iwk_attach() local
558 err = ddi_intr_get_nintrs(dip, DDI_INTR_TYPE_FIXED, &intr_count); in iwk_attach()
559 if ((err != DDI_SUCCESS) || (intr_count != 1)) { in iwk_attach()
568 intr_count, &intr_actual, 0); in iwk_attach()