Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_eq.c180 eqc->irq.msix_vector = pci_irq_vector(dev->pdev, ceqn + 1); in erdma_set_ceq_irq()
188 err = request_irq(eqc->irq.msix_vector, erdma_intr_ceq_handler, 0, in erdma_set_ceq_irq()
195 irq_set_affinity_hint(eqc->irq.msix_vector, in erdma_set_ceq_irq()
205 irq_set_affinity_hint(eqc->irq.msix_vector, NULL); in erdma_free_ceq_irq()
206 free_irq(eqc->irq.msix_vector, eqc); in erdma_free_ceq_irq()
Derdma_main.c153 dev->comm_irq.msix_vector = in erdma_comm_irq_init()
158 irq_set_affinity_hint(dev->comm_irq.msix_vector, in erdma_comm_irq_init()
161 return request_irq(dev->comm_irq.msix_vector, erdma_comm_irq_handler, 0, in erdma_comm_irq_init()
167 irq_set_affinity_hint(dev->comm_irq.msix_vector, NULL); in erdma_comm_irq_uninit()
168 free_irq(dev->comm_irq.msix_vector, dev); in erdma_comm_irq_uninit()
Derdma.h155 u32 msix_vector; member
/linux-6.6.21/drivers/virtio/
Dvirtio_pci_common.c240 int v = vp_dev->vqs[vq->index]->msix_vector; in vp_del_vqs()
443 mask = vp_dev->msix_affinity_masks[info->msix_vector]; in vp_set_vq_affinity()
444 irq = pci_irq_vector(vp_dev->pci_dev, info->msix_vector); in vp_set_vq_affinity()
460 vp_dev->vqs[index]->msix_vector == VIRTIO_MSI_NO_VECTOR) in vp_get_vq_affinity()
464 vp_dev->vqs[index]->msix_vector); in vp_get_vq_affinity()
Dvirtio_pci_modern.c236 if (vp_dev->per_vq_vectors && info->msix_vector != VIRTIO_MSI_NO_VECTOR) in vp_modern_disable_vq_and_reset()
237 synchronize_irq(pci_irq_vector(vp_dev->pci_dev, info->msix_vector)); in vp_modern_disable_vq_and_reset()
264 err = vp_active_vq(vq, info->msix_vector); in vp_modern_enable_vq_after_reset()
328 info->msix_vector = msix_vec; in setup_vq()
Dvirtio_pci_common.h41 unsigned int msix_vector; member
Dvirtio_pci_legacy.c128 info->msix_vector = msix_vec; in setup_vq()
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.h265 int bnxt_qplib_rcfw_start_irq(struct bnxt_qplib_rcfw *rcfw, int msix_vector,
268 int msix_vector,
Dqplib_fp.h499 int msix_vector, bool need_init);
501 int nq_idx, int msix_vector, int bar_reg_offset,
Dqplib_rcfw.c1033 int bnxt_qplib_rcfw_start_irq(struct bnxt_qplib_rcfw *rcfw, int msix_vector, in bnxt_qplib_rcfw_start_irq() argument
1046 creq->msix_vec = msix_vector; in bnxt_qplib_rcfw_start_irq()
1164 int msix_vector, in bnxt_qplib_enable_rcfw_channel() argument
1193 rc = bnxt_qplib_rcfw_start_irq(rcfw, msix_vector, true); in bnxt_qplib_enable_rcfw_channel()
Dqplib_fp.c459 int msix_vector, bool need_init) in bnxt_qplib_nq_start_irq() argument
467 nq->msix_vec = msix_vector; in bnxt_qplib_nq_start_irq()
534 int nq_idx, int msix_vector, int bar_reg_offset, in bnxt_qplib_enable_nq() argument
553 rc = bnxt_qplib_nq_start_irq(nq, nq_idx, msix_vector, true); in bnxt_qplib_enable_nq()
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_com.h121 u32 msix_vector; member
168 u32 msix_vector; member
351 u32 msix_vector; member
Dena_netdev.c2436 u32 msix_vector; in ena_create_io_tx_queue() local
2443 msix_vector = ENA_IO_IRQ_IDX(qid); in ena_create_io_tx_queue()
2451 ctx.msix_vector = msix_vector; in ena_create_io_tx_queue()
2504 u32 msix_vector; in ena_create_io_rx_queue() local
2511 msix_vector = ENA_IO_IRQ_IDX(qid); in ena_create_io_rx_queue()
2519 ctx.msix_vector = msix_vector; in ena_create_io_rx_queue()
Dena_admin_defs.h303 u32 msix_vector; member
Dena_com.c1406 create_cmd.msix_vector = io_cq->msix_vector; in ena_com_create_io_cq()
1898 io_cq->msix_vector = ctx->msix_vector; in ena_com_create_io_queue()
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dnetdev.c926 int tx_queue, int msix_vector) in igbvf_assign_vector() argument
942 ivar |= (msix_vector | E1000_IVAR_VALID) << 16; in igbvf_assign_vector()
946 ivar |= msix_vector | E1000_IVAR_VALID; in igbvf_assign_vector()
948 adapter->rx_ring[rx_queue].eims_value = BIT(msix_vector); in igbvf_assign_vector()
957 ivar |= (msix_vector | E1000_IVAR_VALID) << 24; in igbvf_assign_vector()
961 ivar |= (msix_vector | E1000_IVAR_VALID) << 8; in igbvf_assign_vector()
963 adapter->tx_ring[tx_queue].eims_value = BIT(msix_vector); in igbvf_assign_vector()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c2047 u16 queue, u16 msix_vector) in wx_set_ivar() argument
2053 msix_vector |= WX_PX_IVAR_ALLOC_VAL; in wx_set_ivar()
2057 ivar |= (msix_vector << index); in wx_set_ivar()
2061 msix_vector |= WX_PX_IVAR_ALLOC_VAL; in wx_set_ivar()
2065 ivar |= (msix_vector << index); in wx_set_ivar()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c764 static void igb_write_ivar(struct e1000_hw *hw, int msix_vector, in igb_write_ivar() argument
773 ivar |= (msix_vector | E1000_IVAR_VALID) << offset; in igb_write_ivar()
779 static void igb_assign_vector(struct igb_q_vector *q_vector, int msix_vector) in igb_assign_vector() argument
803 if (!(adapter->flags & IGB_FLAG_HAS_MSIX) && msix_vector == 0) in igb_assign_vector()
805 array_wr32(E1000_MSIXBM(0), msix_vector, msixbm); in igb_assign_vector()
815 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
819 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
822 q_vector->eims_value = BIT(msix_vector); in igb_assign_vector()
836 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
840 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c167 u8 queue, u8 msix_vector) in ixgbevf_set_ivar() argument
174 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbevf_set_ivar()
177 ivar |= msix_vector; in ixgbevf_set_ivar()
181 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbevf_set_ivar()
185 ivar |= (msix_vector << index); in ixgbevf_set_ivar()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c3969 static void igc_write_ivar(struct igc_hw *hw, int msix_vector, in igc_write_ivar() argument
3978 ivar |= (msix_vector | IGC_IVAR_VALID) << offset; in igc_write_ivar()
3983 static void igc_assign_vector(struct igc_q_vector *q_vector, int msix_vector) in igc_assign_vector() argument
3998 igc_write_ivar(hw, msix_vector, in igc_assign_vector()
4002 igc_write_ivar(hw, msix_vector, in igc_assign_vector()
4005 q_vector->eims_value = BIT(msix_vector); in igc_assign_vector()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1327 u32 msix_vector; in qlcnic_83xx_create_tx_ctx() local
1344 msix_vector = adapter->drv_sds_rings + ring; in qlcnic_83xx_create_tx_ctx()
1346 msix_vector = adapter->drv_sds_rings - 1; in qlcnic_83xx_create_tx_ctx()
1347 msix_id = ahw->intr_tbl[msix_vector].id; in qlcnic_83xx_create_tx_ctx()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c859 u8 queue, u8 msix_vector) in ixgbe_set_ivar() argument
865 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
871 ivar |= (msix_vector << (8 * (queue & 0x3))); in ixgbe_set_ivar()
881 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
885 ivar |= (msix_vector << index); in ixgbe_set_ivar()
890 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
894 ivar |= (msix_vector << index); in ixgbe_set_ivar()