| /NextBSD/sys/amd64/vmm/io/ |
| HD | ppt.c | 107 } msix; member 265 rid = ppt->msix.startrid + idx; in ppt_teardown_msix_intr() 266 res = ppt->msix.res[idx]; in ppt_teardown_msix_intr() 267 cookie = ppt->msix.cookie[idx]; in ppt_teardown_msix_intr() 275 ppt->msix.res[idx] = NULL; in ppt_teardown_msix_intr() 276 ppt->msix.cookie[idx] = NULL; in ppt_teardown_msix_intr() 284 if (ppt->msix.num_msgs == 0) in ppt_teardown_msix() 287 for (i = 0; i < ppt->msix.num_msgs; i++) in ppt_teardown_msix() 290 if (ppt->msix.msix_table_res) { in ppt_teardown_msix() 292 ppt->msix.msix_table_rid, in ppt_teardown_msix() [all …]
|
| /NextBSD/sys/dev/pci/ |
| HD | pci.c | 785 cfg->msix.msix_location = ptr; in pci_read_cap() 786 cfg->msix.msix_ctrl = REG(ptr + PCIR_MSIX_CTRL, 2); in pci_read_cap() 787 cfg->msix.msix_msgnum = (cfg->msix.msix_ctrl & in pci_read_cap() 790 cfg->msix.msix_table_bar = PCIR_BAR(val & in pci_read_cap() 792 cfg->msix.msix_table_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap() 794 cfg->msix.msix_pba_bar = PCIR_BAR(val & in pci_read_cap() 796 cfg->msix.msix_pba_offset = val & ~PCIM_MSIX_BIR_MASK; in pci_read_cap() 1400 struct pcicfg_msix *msix = &dinfo->cfg.msix; in pci_enable_msix_method() local 1403 KASSERT(msix->msix_table_len > index, ("bogus index")); in pci_enable_msix_method() 1404 offset = msix->msix_table_offset + index * 16; in pci_enable_msix_method() [all …]
|
| HD | pcivar.h | 204 struct pcicfg_msix msix; /* PCI MSI-X */ member
|
| /NextBSD/sys/dev/ixgbe/ |
| HD | if_ixv.c | 833 ixv_enable_queue(adapter, que->msix); in ixv_handle_que() 853 ixv_disable_queue(adapter, que->msix); in ixv_msix_que() 886 IXGBE_VTEITR(que->msix), in ixv_msix_que() 926 ixv_enable_queue(adapter, que->msix); in ixv_msix_que() 1298 que->msix = vector; in ixv_allocate_msix() 1299 adapter->active_queues |= (u64)(1 << que->msix); in ixv_allocate_msix() 1443 adapter->msix = ixv_setup_msix(adapter); in ixv_allocate_pci_resources() 1444 if (adapter->msix == ENXIO) in ixv_allocate_pci_resources() 1474 rid = que->msix + 1; in ixv_free_pci_resources() 1488 (adapter->msix != 0) ? (rid = 1):(rid = 0); in ixv_free_pci_resources() [all …]
|
| HD | if_ix.c | 571 if ((adapter->msix > 1) && (ixgbe_enable_msix)) in ixgbe_attach() 600 if ((hw->mac.type != ixgbe_mac_82598EB) && (adapter->msix > 1)) { in ixgbe_attach() 1321 if (adapter->msix > 1) { in ixgbe_config_gpie() 1446 ixgbe_enable_queue(adapter, que->msix); in ixgbe_handle_que() 1538 ixgbe_disable_queue(adapter, que->msix); in ixgbe_msix_que() 1566 IXGBE_EITR(que->msix), que->eitr_setting); in ixgbe_msix_que() 1608 ixgbe_enable_queue(adapter, que->msix); in ixgbe_msix_que() 2368 if (adapter->msix == 1) in ixgbe_allocate_legacy() 2484 que->msix = vector; in ixgbe_allocate_msix() 2485 adapter->active_queues |= (u64)(1 << que->msix); in ixgbe_allocate_msix() [all …]
|
| HD | ixgbe.h | 417 u32 msix; /* This queue's MSIX vector */ member 479 int msix; member
|
| HD | if_ixgbe.c | 2444 ixgbe_if_msix_intr_assign(if_ctx_t ctx, int msix) in ixgbe_if_msix_intr_assign() argument 2475 que->msix = vector; in ixgbe_if_msix_intr_assign() 2476 adapter->active_queues |= (u64)(1 << que->msix); in ixgbe_if_msix_intr_assign() 2535 ixgbe_disable_queue(adapter, que->msix); in ixgbe_msix_que() 2547 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(que->msix), que->eitr_setting); in ixgbe_msix_que() 2916 reg = IXGBE_READ_REG(&que->adapter->hw, IXGBE_EITR(que->msix)); in ixgbe_sysctl_interrupt_rate_handler() 2933 IXGBE_WRITE_REG(&que->adapter->hw, IXGBE_EITR(que->msix), reg); in ixgbe_sysctl_interrupt_rate_handler() 3608 ixgbe_set_ivar(adapter, rxr->me, que->msix, 0); in ixgbe_configure_ivars() 3610 ixgbe_set_ivar(adapter, txr->me, que->msix, 1); in ixgbe_configure_ivars() 3613 IXGBE_EITR(que->msix), newitr); in ixgbe_configure_ivars() [all …]
|
| /NextBSD/sys/dev/e1000/ |
| HD | if_em.h | 324 u32 msix; member 358 u32 msix; member 408 int msix; member
|
| HD | if_igb.h | 332 u32 msix; /* This queue's MSIX vector */ member 441 int msix; member
|
| HD | if_igb.c | 647 if ((adapter->msix > 1) && (igb_enable_msix)) in igb_attach() 1322 if (adapter->msix > 1) /* Set up queue routing */ in igb_init_locked() 1591 E1000_EITR(que->msix), que->eitr_setting); in igb_msix_que() 2322 adapter->msix = igb_setup_msix(adapter); in igb_allocate_pci_resources() 2347 if (adapter->msix == 1) in igb_allocate_legacy() 2451 que->msix = vector; in igb_allocate_msix() 2585 ivar |= (que->msix | E1000_IVAR_VALID) << 16; in igb_configure_queues() 2588 ivar |= que->msix | E1000_IVAR_VALID; in igb_configure_queues() 2599 ivar |= (que->msix | E1000_IVAR_VALID) << 24; in igb_configure_queues() 2602 ivar |= (que->msix | E1000_IVAR_VALID) << 8; in igb_configure_queues() [all …]
|
| HD | if_lem.h | 308 struct resource *msix; member
|
| HD | if_em.c | 591 adapter->msix = em_setup_msix(adapter); in em_attach() 741 if (adapter->msix > 1) /* Do MSIX */ in em_attach() 2523 if (adapter->msix == 1) /* using MSI */ in em_allocate_legacy() 2606 rxr->msix = vector; in em_allocate_msix() 2626 adapter->ivars |= (8 | rxr->msix) << (i * 4); in em_allocate_msix() 2651 txr->msix = vector; in em_allocate_msix() 2671 adapter->ivars |= (8 | txr->msix) << (8 + (i * 4)); in em_allocate_msix() 2722 rid = txr->msix +1; in em_free_pci_resources() 2735 rid = rxr->msix +1; in em_free_pci_resources() 2748 (adapter->msix != 0) ? (rid = 1):(rid = 0); in em_free_pci_resources() [all …]
|
| /NextBSD/sys/dev/ixl/ |
| HD | ixl_pf.h | 83 int msix; member
|
| HD | ixlv.h | 117 int msix; member
|
| HD | ixlvc.c | 472 q = sc->msix - 1; in ixlv_map_queues() 475 (sc->msix * sizeof(struct i40e_virtchnl_vector_map)); in ixlv_map_queues() 483 vm->num_vectors = sc->msix; in ixlv_map_queues()
|
| HD | ixl.h | 438 u32 msix; /* This queue's MSIX vector */ member
|
| HD | if_ixlv.c | 87 static int ixlv_if_msix_intr_assign(if_ctx_t ctx, int msix); 1199 ixlv_if_msix_intr_assign(if_ctx_t ctx, int msix) in ixlv_if_msix_intr_assign() argument 1234 que->msix = vector; in ixlv_if_msix_intr_assign()
|
| /NextBSD/sys/dev/netmap/ |
| HD | if_em_netmap.h | 46 if (adapter->msix > 1) { /* MSIX */ in em_netmap_block_tasks() 68 if (adapter->msix > 1) { in em_netmap_unblock_tasks()
|
| /NextBSD/sys/compat/linuxkpi/common/include/linux/ |
| HD | pci.h | 188 if (irq >= pdev->dev.msix && irq < pdev->dev.msix_max) in _pci_find_irq_dev() 463 pdev->dev.msix = rle->start; in pci_enable_msix() 466 entries[i].vector = pdev->dev.msix + i; in pci_enable_msix()
|
| HD | interrupt.h | 61 return irq - dev->msix + 1; in linux_irq_rid()
|
| HD | device.h | 72 unsigned int msix; member
|
| /NextBSD/sys/dev/tws/ |
| HD | tws.h | 242 struct tws_msix_info msix; /* msix info */ member
|
| /NextBSD/sys/arm64/arm64/ |
| HD | gic_v3_var.h | 315 cfg->msix.msix_msgnum; \
|
| /NextBSD/sys/net/ |
| HD | iflib.c | 2919 int err, rid, msix, msix_bar; in iflib_device_register() local 2954 msix = scctx->isc_vectors; in iflib_device_register() 2956 msix = iflib_msix_init(ctx); in iflib_device_register() 2961 msix = 0; in iflib_device_register() 2974 if (msix > 1 && (err = IFDI_MSIX_INTR_ASSIGN(ctx, msix)) != 0) { in iflib_device_register() 2978 if (msix <= 1) { in iflib_device_register() 2981 MPASS(msix == 1); in iflib_device_register()
|
| HD | ifdi_if.m | 169 int msix;
|