Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/virtio/
H A Dvirtio_pci_common.c234 int v = vp_dev->vqs[vq->index]->msix_vector; in vp_del_vqs()
434 mask = vp_dev->msix_affinity_masks[info->msix_vector]; in vp_set_vq_affinity()
435 irq = pci_irq_vector(vp_dev->pci_dev, info->msix_vector); in vp_set_vq_affinity()
451 vp_dev->vqs[index]->msix_vector == VIRTIO_MSI_NO_VECTOR) in vp_get_vq_affinity()
455 vp_dev->vqs[index]->msix_vector); in vp_get_vq_affinity()
H A Dvirtio_pci_common.h39 unsigned msix_vector; member
H A Dvirtio_pci_legacy.c134 info->msix_vector = msix_vec; in setup_vq()
H A Dvirtio_pci_modern.c339 info->msix_vector = msix_vec; in setup_vq()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.h198 int bnxt_qplib_rcfw_start_irq(struct bnxt_qplib_rcfw *rcfw, int msix_vector,
201 int msix_vector,
H A Dqplib_rcfw.c675 int bnxt_qplib_rcfw_start_irq(struct bnxt_qplib_rcfw *rcfw, int msix_vector, in bnxt_qplib_rcfw_start_irq() argument
686 creq->msix_vec = msix_vector; in bnxt_qplib_rcfw_start_irq()
797 int msix_vector, in bnxt_qplib_enable_rcfw_channel() argument
826 rc = bnxt_qplib_rcfw_start_irq(rcfw, msix_vector, true); in bnxt_qplib_enable_rcfw_channel()
H A Dqplib_fp.h496 int msix_vector, bool need_init);
498 int nq_idx, int msix_vector, int bar_reg_offset,
H A Dqplib_fp.c442 int msix_vector, bool need_init) in bnxt_qplib_nq_start_irq() argument
449 nq->msix_vec = msix_vector; in bnxt_qplib_nq_start_irq()
512 int nq_idx, int msix_vector, int bar_reg_offset, in bnxt_qplib_enable_nq() argument
531 rc = bnxt_qplib_nq_start_irq(nq, nq_idx, msix_vector, true); in bnxt_qplib_enable_nq()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amazon/ena/
H A Dena_com.h121 u32 msix_vector; member
168 u32 msix_vector; member
349 u32 msix_vector; member
H A Dena_netdev.c2275 u32 msix_vector; in ena_create_io_tx_queue() local
2282 msix_vector = ENA_IO_IRQ_IDX(qid); in ena_create_io_tx_queue()
2290 ctx.msix_vector = msix_vector; in ena_create_io_tx_queue()
2343 u32 msix_vector; in ena_create_io_rx_queue() local
2350 msix_vector = ENA_IO_IRQ_IDX(qid); in ena_create_io_rx_queue()
2358 ctx.msix_vector = msix_vector; in ena_create_io_rx_queue()
H A Dena_admin_defs.h298 u32 msix_vector; member
H A Dena_com.c1361 create_cmd.msix_vector = io_cq->msix_vector; in ena_com_create_io_cq()
1842 io_cq->msix_vector = ctx->msix_vector; in ena_com_create_io_queue()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igbvf/
H A 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()
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_ethdev.c231 uint8_t queue, uint8_t msix_vector);
232 static void eth_igb_write_ivar(struct e1000_hw *hw, uint8_t msix_vector,
561 igbvf_set_ivar_map(struct e1000_hw *hw, uint8_t msix_vector) in igbvf_set_ivar_map() argument
566 tmp |= (msix_vector & E1000_VTIVAR_MISC_INTR_MASK); in igbvf_set_ivar_map()
5398 eth_igb_write_ivar(struct e1000_hw *hw, uint8_t msix_vector, in eth_igb_write_ivar() argument
5407 val |= (msix_vector | E1000_IVAR_VALID) << offset; in eth_igb_write_ivar()
5414 uint8_t queue, uint8_t msix_vector) in eth_igb_assign_msix_vector() argument
5423 E1000_WRITE_REG(hw, E1000_MSIXBM(msix_vector), tmp); in eth_igb_assign_msix_vector()
5426 eth_igb_write_ivar(hw, msix_vector, queue & 0x7, in eth_igb_assign_msix_vector()
5435 eth_igb_write_ivar(hw, msix_vector, in eth_igb_assign_msix_vector()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_pcie.c228 t_u32 msix_vector; in wlan_init_adma() local
239 msix_vector = ADMA_VECTOR_CHAN0_Q0; in wlan_init_adma()
245 msix_vector = AMDA_VECTOR_CHAN1_Q0; in wlan_init_adma()
251 msix_vector = AMDA_VECTOR_CHAN1_Q1; in wlan_init_adma()
257 msix_vector = AMDA_VECTOR_CHAN2_Q0; in wlan_init_adma()
263 msix_vector = AMDA_VECTOR_CHAN2_Q1; in wlan_init_adma()
357 msix_data |= msix_vector; in wlan_init_adma()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_main.c766 static void igb_write_ivar(struct e1000_hw *hw, int msix_vector, in igb_write_ivar() argument
775 ivar |= (msix_vector | E1000_IVAR_VALID) << offset; in igb_write_ivar()
781 static void igb_assign_vector(struct igb_q_vector *q_vector, int msix_vector) in igb_assign_vector() argument
805 if (!(adapter->flags & IGB_FLAG_HAS_MSIX) && msix_vector == 0) in igb_assign_vector()
807 array_wr32(E1000_MSIXBM(0), msix_vector, msixbm); in igb_assign_vector()
817 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
821 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
824 q_vector->eims_value = BIT(msix_vector); in igb_assign_vector()
838 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
842 igb_write_ivar(hw, msix_vector, in igb_assign_vector()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_main.c2695 static void igc_write_ivar(struct igc_hw *hw, int msix_vector, in igc_write_ivar() argument
2704 ivar |= (msix_vector | IGC_IVAR_VALID) << offset; in igc_write_ivar()
2709 static void igc_assign_vector(struct igc_q_vector *q_vector, int msix_vector) in igc_assign_vector() argument
2724 igc_write_ivar(hw, msix_vector, in igc_assign_vector()
2728 igc_write_ivar(hw, msix_vector, in igc_assign_vector()
2731 q_vector->eims_value = BIT(msix_vector); in igc_assign_vector()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbevf/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c1328 u32 msix_vector; in qlcnic_83xx_create_tx_ctx() local
1345 msix_vector = adapter->drv_sds_rings + ring; in qlcnic_83xx_create_tx_ctx()
1347 msix_vector = adapter->drv_sds_rings - 1; in qlcnic_83xx_create_tx_ctx()
1348 msix_id = ahw->intr_tbl[msix_vector].id; in qlcnic_83xx_create_tx_ctx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c855 u8 queue, u8 msix_vector) in ixgbe_set_ivar() argument
861 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
867 ivar |= (msix_vector << (8 * (queue & 0x3))); in ixgbe_set_ivar()
877 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
881 ivar |= (msix_vector << index); in ixgbe_set_ivar()
886 msix_vector |= IXGBE_IVAR_ALLOC_VAL; in ixgbe_set_ivar()
890 ivar |= (msix_vector << index); in ixgbe_set_ivar()