Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 131) sorted by relevance

123456

/drivers/net/wireless/ti/wl12xx/
Devent.c51 u32 vector; in wl12xx_process_mailbox_events() local
54 vector = le32_to_cpu(mbox->events_vector); in wl12xx_process_mailbox_events()
55 vector &= ~(le32_to_cpu(mbox->events_mask)); in wl12xx_process_mailbox_events()
57 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl12xx_process_mailbox_events()
59 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl12xx_process_mailbox_events()
67 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl12xx_process_mailbox_events()
75 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl12xx_process_mailbox_events()
78 if (vector & SOFT_GEMINI_SENSE_EVENT_ID) in wl12xx_process_mailbox_events()
82 if (vector & BSS_LOSE_EVENT_ID) in wl12xx_process_mailbox_events()
85 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl12xx_process_mailbox_events()
[all …]
/drivers/net/wireless/ti/wl18xx/
Devent.c51 u32 vector; in wl18xx_process_mailbox_events() local
53 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events()
54 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl18xx_process_mailbox_events()
56 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl18xx_process_mailbox_events()
64 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl18xx_process_mailbox_events()
72 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl18xx_process_mailbox_events()
75 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl18xx_process_mailbox_events()
78 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) in wl18xx_process_mailbox_events()
83 if (vector & BSS_LOSS_EVENT_ID) in wl18xx_process_mailbox_events()
87 if (vector & CHANNEL_SWITCH_COMPLETE_EVENT_ID) in wl18xx_process_mailbox_events()
[all …]
/drivers/net/wireless/ti/wl1251/
Devent.c59 u32 vector; in wl1251_event_process() local
63 vector = mbox->events_vector & ~(mbox->events_mask); in wl1251_event_process()
64 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector); in wl1251_event_process()
66 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl1251_event_process()
72 if (vector & BSS_LOSE_EVENT_ID) { in wl1251_event_process()
83 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) { in wl1251_event_process()
90 if (vector & REGAINED_BSS_EVENT_ID) { in wl1251_event_process()
99 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) { in wl1251_event_process()
107 if (vector & ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID) { in wl1251_event_process()
/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c97 if (!cq->vector) { in mlx4_en_activate_cq()
102 &cq->vector)) { in mlx4_en_activate_cq()
103 cq->vector = (cq->ring + 1 + priv->port) in mlx4_en_activate_cq()
111 cq->vector = (cq->ring + 1 + priv->port) % in mlx4_en_activate_cq()
121 cq->vector = rx_cq->vector; in mlx4_en_activate_cq()
133 cq->vector, 0, timestamp_en); in mlx4_en_activate_cq()
154 if (priv->mdev->dev->caps.comp_pool && cq->vector) in mlx4_en_destroy_cq()
155 mlx4_release_eq(priv->mdev->dev, cq->vector); in mlx4_en_destroy_cq()
156 cq->vector = 0; in mlx4_en_destroy_cq()
Dcq.c245 struct mlx4_cq *cq, unsigned vector, int collapsed, in mlx4_cq_alloc() argument
255 if (vector > dev->caps.num_comp_vectors + dev->caps.comp_pool) in mlx4_cq_alloc()
258 cq->vector = vector; in mlx4_cq_alloc()
284 cq_context->comp_eqn = priv->eq_table.eq[vector].eqn; in mlx4_cq_alloc()
327 synchronize_irq(priv->eq_table.eq[cq->vector].irq); in mlx4_cq_free()
/drivers/vfio/pci/
Dvfio_pci_intrs.c518 int vector, int fd, bool msix) in vfio_msi_set_vector_signal() argument
521 int irq = msix ? vdev->msix[vector].vector : pdev->irq + vector; in vfio_msi_set_vector_signal()
526 if (vector >= vdev->num_ctx) in vfio_msi_set_vector_signal()
529 if (vdev->ctx[vector].trigger) { in vfio_msi_set_vector_signal()
530 free_irq(irq, vdev->ctx[vector].trigger); in vfio_msi_set_vector_signal()
531 kfree(vdev->ctx[vector].name); in vfio_msi_set_vector_signal()
532 eventfd_ctx_put(vdev->ctx[vector].trigger); in vfio_msi_set_vector_signal()
533 vdev->ctx[vector].trigger = NULL; in vfio_msi_set_vector_signal()
539 vdev->ctx[vector].name = kasprintf(GFP_KERNEL, "%s[%d](%s)", in vfio_msi_set_vector_signal()
540 name, vector, pci_name(pdev)); in vfio_msi_set_vector_signal()
[all …]
/drivers/misc/
Dspear13xx_pcie_gadget.c264 ulong vector; in pcie_gadget_store_int_type() local
270 vector = config->requested_msi; in pcie_gadget_store_int_type()
272 while (vector > 1) { in pcie_gadget_store_int_type()
273 vector /= 2; in pcie_gadget_store_int_type()
296 ulong vector; in pcie_gadget_show_no_of_msi() local
300 vector = 0; in pcie_gadget_show_no_of_msi()
306 vector = 1; in pcie_gadget_show_no_of_msi()
308 vector *= 2; in pcie_gadget_show_no_of_msi()
310 config->configured_msi = vector; in pcie_gadget_show_no_of_msi()
312 return sprintf(buf, "%lu", vector); in pcie_gadget_show_no_of_msi()
[all …]
/drivers/scsi/csiostor/
Dcsio_isr.c405 rv = request_irq(entryp[k].vector, csio_nondata_isr, 0, in csio_request_irqs()
409 entryp[k].vector, rv); in csio_request_irqs()
415 rv = request_irq(entryp[k].vector, csio_fwevt_isr, 0, in csio_request_irqs()
419 entryp[k].vector, rv); in csio_request_irqs()
432 rv = request_irq(entryp[k].vector, csio_scsi_isr, 0, in csio_request_irqs()
437 entryp[k].vector, rv); in csio_request_irqs()
454 free_irq(entryp->vector, entryp->dev_id); in csio_request_irqs()
471 free_irq(entryp->vector, entryp->dev_id); in csio_disable_msix()
544 entryp->vector = entries[i].vector; in csio_enable_msix()
/drivers/net/ethernet/intel/ixgbevf/
Dvf.c192 u32 vector = 0; in ixgbevf_mta_vector() local
196 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbevf_mta_vector()
199 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbevf_mta_vector()
202 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbevf_mta_vector()
205 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbevf_mta_vector()
212 vector &= 0xFFF; in ixgbevf_mta_vector()
213 return vector; in ixgbevf_mta_vector()
Dixgbevf_main.c906 int vector, err; in ixgbevf_request_msix_irqs() local
909 for (vector = 0; vector < q_vectors; vector++) { in ixgbevf_request_msix_irqs()
910 struct ixgbevf_q_vector *q_vector = adapter->q_vector[vector]; in ixgbevf_request_msix_irqs()
911 struct msix_entry *entry = &adapter->msix_entries[vector]; in ixgbevf_request_msix_irqs()
927 err = request_irq(entry->vector, &ixgbevf_msix_clean_rings, 0, in ixgbevf_request_msix_irqs()
937 err = request_irq(adapter->msix_entries[vector].vector, in ixgbevf_request_msix_irqs()
948 while (vector) { in ixgbevf_request_msix_irqs()
949 vector--; in ixgbevf_request_msix_irqs()
950 free_irq(adapter->msix_entries[vector].vector, in ixgbevf_request_msix_irqs()
951 adapter->q_vector[vector]); in ixgbevf_request_msix_irqs()
[all …]
/drivers/xen/xen-pciback/
Dpciback_ops.c210 entries[i].vector = op->msix_entries[i].vector; in xen_pcibk_enable_msix()
218 if (entries[i].vector) in xen_pcibk_enable_msix()
219 op->msix_entries[i].vector = in xen_pcibk_enable_msix()
220 xen_pirq_from_irq(entries[i].vector); in xen_pcibk_enable_msix()
225 op->msix_entries[i].vector); in xen_pcibk_enable_msix()
/drivers/rapidio/devices/
Dtsi721.c625 mbox = (irq - priv->msix[TSI721_VECT_OMB0_DONE].vector) % RIO_MAX_MBOX; in tsi721_omsg_msix()
642 mbox = (irq - priv->msix[TSI721_VECT_IMB0_RCV].vector) % RIO_MAX_MBOX; in tsi721_imsg_msix()
707 err = request_irq(priv->msix[TSI721_VECT_IDB].vector, in tsi721_request_msix()
713 err = request_irq(priv->msix[TSI721_VECT_PWRX].vector, in tsi721_request_msix()
718 priv->msix[TSI721_VECT_IDB].vector, in tsi721_request_msix()
786 priv->msix[TSI721_VECT_IDB].vector = entries[TSI721_VECT_IDB].vector; in tsi721_enable_msix()
789 priv->msix[TSI721_VECT_PWRX].vector = entries[TSI721_VECT_PWRX].vector; in tsi721_enable_msix()
794 priv->msix[TSI721_VECT_IMB0_RCV + i].vector = in tsi721_enable_msix()
795 entries[TSI721_VECT_IMB0_RCV + i].vector; in tsi721_enable_msix()
800 priv->msix[TSI721_VECT_IMB0_INT + i].vector = in tsi721_enable_msix()
[all …]
/drivers/staging/vme/devices/
Dvme_pio2_core.c35 static int vector[PIO2_CARDS_MAX]; variable
77 static void pio2_int(int level, int vector, void *ptr) in pio2_int() argument
83 vec = vector & ~PIO2_VME_VECTOR_MASK; in pio2_int()
232 card->irq_vector = vector[card->id]; in pio2_probe()
493 MODULE_PARM_DESC(vector, "VME IRQ Vector (Lower 4 bits masked)");
494 module_param_array(vector, int, &vector_num, S_IRUGO);
/drivers/net/ethernet/brocade/bna/
Dbnad.c66 ((_bnad)->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector) : \
120 int vector, nvecs; in bnad_tx_buff_unmap() local
134 vector = 0; in bnad_tx_buff_unmap()
136 vector++; in bnad_tx_buff_unmap()
137 if (vector == BFI_TX_MAX_VECTORS_PER_WI) { in bnad_tx_buff_unmap()
138 vector = 0; in bnad_tx_buff_unmap()
144 dma_unmap_addr(&unmap->vectors[vector], dma_addr), in bnad_tx_buff_unmap()
146 dma_unmap_addr_set(&unmap->vectors[vector], dma_addr, 0); in bnad_tx_buff_unmap()
316 dma_unmap_addr(&unmap->vector, dma_addr), in bnad_rxq_cleanup_page()
317 unmap->vector.len, DMA_FROM_DEVICE); in bnad_rxq_cleanup_page()
[all …]
/drivers/iommu/
Dintel_irq_remapping.c869 static void prepare_irte(struct irte *irte, int vector, in prepare_irte() argument
885 irte->vector = vector; in prepare_irte()
892 unsigned int destination, int vector, in intel_setup_ioapic_entry() argument
914 prepare_irte(&irte, vector, destination); in intel_setup_ioapic_entry()
928 irte.avail, irte.vector, irte.dest_id, in intel_setup_ioapic_entry()
941 entry->vector = attr->ioapic_pin; in intel_setup_ioapic_entry()
998 irte.vector = cfg->vector; in intel_ioapic_set_affinity()
1033 prepare_irte(&irte, cfg->vector, dest); in intel_compose_msi_msg()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c1758 int vector = 0; in vmxnet3_request_irqs() local
1765 adapter->netdev->name, vector); in vmxnet3_request_irqs()
1767 intr->msix_entries[vector].vector, in vmxnet3_request_irqs()
1773 adapter->netdev->name, vector); in vmxnet3_request_irqs()
1788 = vector; in vmxnet3_request_irqs()
1789 vector++; in vmxnet3_request_irqs()
1793 = vector++; in vmxnet3_request_irqs()
1797 vector = 0; in vmxnet3_request_irqs()
1802 adapter->netdev->name, vector); in vmxnet3_request_irqs()
1805 adapter->netdev->name, vector); in vmxnet3_request_irqs()
[all …]
/drivers/mfd/
Dtimberdale.c737 msix_entries[timberdale_i2c_board_info[i].irq].vector; in timb_probe()
760 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
766 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
772 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
778 &dev->resource[0], msix_entries[0].vector, NULL); in timb_probe()
795 &dev->resource[1], msix_entries[0].vector, NULL); in timb_probe()
806 &dev->resource[2], msix_entries[0].vector, NULL); in timb_probe()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c997 int vector = 0; in igbvf_configure_msix() local
1001 igbvf_assign_vector(adapter, IGBVF_NO_QUEUE, 0, vector++); in igbvf_configure_msix()
1004 igbvf_assign_vector(adapter, 0, IGBVF_NO_QUEUE, vector++); in igbvf_configure_msix()
1010 tmp = (vector++ | E1000_IVAR_VALID); in igbvf_configure_msix()
1014 adapter->eims_enable_mask = (1 << (vector)) - 1; in igbvf_configure_msix()
1015 adapter->eims_other = 1 << (vector - 1); in igbvf_configure_msix()
1067 int err = 0, vector = 0; in igbvf_request_msix() local
1077 err = request_irq(adapter->msix_entries[vector].vector, in igbvf_request_msix()
1083 adapter->tx_ring->itr_register = E1000_EITR(vector); in igbvf_request_msix()
1085 vector++; in igbvf_request_msix()
[all …]
/drivers/pci/
Dxen-pcifront.c247 int vector[], int nvec) in pci_frontend_enable_msix() argument
272 op.msix_entries[i].vector = -1; in pci_frontend_enable_msix()
282 if (op.msix_entries[i].vector <= 0) { in pci_frontend_enable_msix()
284 i, op.msix_entries[i].vector); in pci_frontend_enable_msix()
286 vector[i] = -1; in pci_frontend_enable_msix()
289 vector[i] = op.msix_entries[i].vector; in pci_frontend_enable_msix()
321 static int pci_frontend_enable_msi(struct pci_dev *dev, int vector[]) in pci_frontend_enable_msi() argument
335 vector[0] = op.value; in pci_frontend_enable_msi()
340 vector[0] = -1; in pci_frontend_enable_msi()
/drivers/md/
Ddm-verity-fec.h79 u8 *dest, unsigned vector, unsigned offset);
110 unsigned vector, unsigned offset) in verity_fec_decode() argument
Ddm-verity-target.c353 unsigned *vector, unsigned *offset, in verity_for_bv_block() argument
366 BUG_ON(*vector >= io->io_vec_size); in verity_for_bv_block()
367 bv = &io->io_vec[*vector]; in verity_for_bv_block()
384 (*vector)++; in verity_for_bv_block()
414 unsigned vector = 0, offset = 0; in verity_verify_io() local
432 r = verity_for_bv_block(v, io, &vector, &offset, in verity_verify_io()
444 start_vector = vector; in verity_verify_io()
447 r = verity_for_bv_block(v, io, &vector, &offset, in verity_verify_io()
466 BUG_ON(vector != io->io_vec_size); in verity_verify_io()
/drivers/virtio/
Dvirtio_pci.c184 synchronize_irq(vp_dev->msix_entries[i].vector); in vp_synchronize_vectors()
277 free_irq(vp_dev->msix_entries[i].vector, vp_dev); in vp_free_vectors()
346 err = request_irq(vp_dev->msix_entries[v].vector, in vp_request_msix_vectors()
366 err = request_irq(vp_dev->msix_entries[v].vector, in vp_request_msix_vectors()
511 free_irq(vp_dev->msix_entries[info->msix_vector].vector, in vp_del_vqs()
579 err = request_irq(vp_dev->msix_entries[msix_vec].vector, in vp_try_to_find_vqs()
644 irq = vp_dev->msix_entries[info->msix_vector].vector; in vp_set_vq_affinity()
/drivers/misc/vmw_vmci/
Dvmci_guest.c381 vmci_dev->msix_entries[i].vector = i; in vmci_enable_msix()
591 vmci_dev->irq = vmci_dev->msix_entries[0].vector; in vmci_guest_probe_device()
619 error = request_irq(vmci_dev->msix_entries[1].vector, in vmci_guest_probe_device()
625 vmci_dev->msix_entries[1].vector, error); in vmci_guest_probe_device()
715 free_irq(vmci_dev->msix_entries[1].vector, vmci_dev); in vmci_guest_remove_device()
/drivers/ntb/
Dntb_hw.c810 WARN_ON(!msix->vector); in ntb_setup_msix()
814 rc = request_irq(msix->vector, bwd_callback_msix_irq, 0, in ntb_setup_msix()
820 rc = request_irq(msix->vector, in ntb_setup_msix()
826 rc = request_irq(msix->vector, in ntb_setup_msix()
848 free_irq(msix->vector, ndev); in ntb_setup_msix()
850 free_irq(msix->vector, &ndev->db_cb[i]); in ntb_setup_msix()
949 free_irq(msix->vector, ndev); in ntb_free_interrupts()
951 free_irq(msix->vector, &ndev->db_cb[i]); in ntb_free_interrupts()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c1953 int vector = 0; in e1000_configure_msix() local
1973 ivar = E1000_IVAR_INT_ALLOC_VALID | vector; in e1000_configure_msix()
1977 vector++; in e1000_configure_msix()
1984 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 8); in e1000_configure_msix()
1987 vector++; in e1000_configure_msix()
1988 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 16); in e1000_configure_msix()
1991 hw->hw_addr + E1000_EITR_82574(vector)); in e1000_configure_msix()
1993 writel(1, hw->hw_addr + E1000_EITR_82574(vector)); in e1000_configure_msix()
2084 int err = 0, vector = 0; in e1000_request_msix() local
2092 err = request_irq(adapter->msix_entries[vector].vector, in e1000_request_msix()
[all …]

123456