Home
last modified time | relevance | path

Searched refs:nvecs (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/bfa/
Dbfa_hw_ct.c112 bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs) in bfa_hwct_msix_init() argument
114 WARN_ON((nvecs != 1) && (nvecs != BFI_MSIX_CT_MAX)); in bfa_hwct_msix_init()
115 bfa_trc(bfa, nvecs); in bfa_hwct_msix_init()
117 bfa->msix.nvecs = nvecs; in bfa_hwct_msix_init()
124 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_ctrl_install()
127 if (bfa->msix.nvecs == 1) in bfa_hwct_msix_ctrl_install()
138 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_queue_install()
141 if (bfa->msix.nvecs == 1) { in bfa_hwct_msix_queue_install()
Dbfa_hw_cb.c115 bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs) in bfa_hwcb_msix_init() argument
117 WARN_ON((nvecs != 1) && (nvecs != __HFN_NUMINTS)); in bfa_hwcb_msix_init()
119 bfa->msix.nvecs = nvecs; in bfa_hwcb_msix_init()
128 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_ctrl_install()
131 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_ctrl_install()
146 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_queue_install()
149 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_queue_install()
Dbfa.h177 int nvecs; member
188 void (*hw_msix_init)(struct bfa_s *bfa, int nvecs);
194 u32 *nvecs, u32 *maxvec);
322 void bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs);
327 void bfa_hwcb_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
336 void bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs);
341 void bfa_hwct_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
Dbfa_core.c870 bfa_isr_mode_set(bfa, bfa->msix.nvecs != 0); in bfa_isr_enable()
993 if (bfa->msix.nvecs == 1) in bfa_iocfc_send_cfg()
1089 bfa->msix.nvecs = 0; in bfa_iocfc_init_mem()
/drivers/net/ethernet/brocade/bna/
Dbnad.c120 int vector, nvecs; in bnad_tx_buff_unmap() local
123 nvecs = unmap->nvecs; in bnad_tx_buff_unmap()
127 unmap->nvecs = 0; in bnad_tx_buff_unmap()
132 nvecs--; in bnad_tx_buff_unmap()
135 while (nvecs) { in bnad_tx_buff_unmap()
145 skb_shinfo(skb)->frags[nvecs].size, DMA_TO_DEVICE); in bnad_tx_buff_unmap()
147 nvecs--; in bnad_tx_buff_unmap()
210 unmap_wis = BNA_TXQ_WI_NEEDED(unmap->nvecs); in bnad_txcmpl_process()
2850 head_unmap->nvecs = 0; in bnad_start_xmit()
2859 head_unmap->nvecs++; in bnad_start_xmit()
[all …]
Dbnad.h226 u32 nvecs; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c1508 static void bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) in bnx2x_free_msix_irqs() argument
1512 if (nvecs == offset) in bnx2x_free_msix_irqs()
1524 if (nvecs == offset) in bnx2x_free_msix_irqs()
1530 if (nvecs == offset) in bnx2x_free_msix_irqs()
1543 int nvecs = BNX2X_NUM_ETH_QUEUES(bp) + CNIC_SUPPORT(bp); in bnx2x_free_irq() local
1547 nvecs++; in bnx2x_free_irq()
1549 bnx2x_free_msix_irqs(bp, nvecs); in bnx2x_free_irq()