Searched refs:vector (Results 1 - 25 of 104) sorted by relevance

12345

/drivers/net/wireless/wl1251/
H A Devent.c55 u32 vector; local
59 vector = mbox->events_vector & ~(mbox->events_mask);
60 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector);
62 if (vector & SCAN_COMPLETE_EVENT_ID) {
68 if (vector & BSS_LOSE_EVENT_ID) {
79 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID &&
87 if (vector & REGAINED_BSS_EVENT_ID) {
96 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) {
104 if (vector
[all...]
/drivers/net/wireless/wl12xx/
H A Devent.c105 u32 vector; local
112 vector = le32_to_cpu(mbox->events_vector);
113 vector &= ~(le32_to_cpu(mbox->events_mask));
114 wl1271_debug(DEBUG_EVENT, "vector: 0x%x", vector);
116 if (vector & SCAN_COMPLETE_EVENT_ID) {
123 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) {
130 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) {
139 if (vector & SOFT_GEMINI_SENSE_EVENT_ID)
152 if (vector
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c90 if (!cq->vector) {
94 if (mlx4_assign_eq(mdev->dev, name, &cq->vector)) {
95 cq->vector = (cq->ring + 1 + priv->port)
103 cq->vector = (cq->ring + 1 + priv->port) %
113 cq->vector = rx_cq->vector;
120 cq->wqres.db.dma, &cq->mcq, cq->vector, 0);
145 if (priv->mdev->dev->caps.comp_pool && cq->vector)
146 mlx4_release_eq(priv->mdev->dev, cq->vector);
147 cq->vector
[all...]
H A Dcq.c245 unsigned vector, int collapsed)
254 if (vector > dev->caps.num_comp_vectors + dev->caps.comp_pool)
257 cq->vector = vector;
280 cq_context->comp_eqn = priv->eq_table.eq[vector].eqn;
323 synchronize_irq(priv->eq_table.eq[cq->vector].irq);
243 mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, unsigned vector, int collapsed) argument
/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c171 * ixgbevf_mta_vector - Determines bit-vector in multicast table to set
176 * bit-vector to set in the multicast table. The hardware uses 12 bits, from
177 * incoming rx multicast addresses, to determine the bit-vector to check in
184 u32 vector = 0; local
188 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
191 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
194 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
197 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
203 /* vector can only be 12-bits or boundary will be exceeded */
204 vector
[all...]
H A Dixgbevf_main.c123 * @msix_vector: the vector to map to the corresponding queue
741 /* if this is a tx only vector halve the interrupt rate */
827 * @v_idx: vector index into q_vector array
866 * rate for this vector then use that result */
881 * rate for this vector then use that result */
986 * ixgbevf_msix_clean_rx - single unshared vector rx clean (all queues)
988 * @data: pointer to our q_vector struct for this interrupt vector
1013 /* disable interrupts on this vector only */
1055 * one vector per ring/queue, but on a constrained vector budge
1123 int i, vector, q_vectors, err; local
2016 int vector, v_budget; local
[all...]
/drivers/misc/sgi-gru/
H A Dgrukservices.h41 * - gru_create_message_queue() needs interrupt vector info
48 int interrupt_vector; /* interrupt vector */
66 * vector interrupt vector (zero if no interrupts)
75 void *p, unsigned int bytes, int nasid, int vector, int apicid);
/drivers/xen/xen-pciback/
H A Dpciback_ops.c48 * overwritten with the MSI vector.
153 /* The value the guest needs is actually the IDT vector, not the
209 entries[i].vector = op->msix_entries[i].vector;
217 if (entries[i].vector)
218 op->msix_entries[i].vector =
219 xen_pirq_from_irq(entries[i].vector);
224 op->msix_entries[i].vector);
/drivers/misc/
H A Dspear13xx_pcie_gadget.c264 ulong vector; local
270 vector = config->requested_msi;
272 while (vector > 1) {
273 vector /= 2;
296 ulong vector; local
300 vector = 0;
306 vector = 1;
308 vector *= 2;
310 config->configured_msi = vector;
312 return sprintf(buf, "%lu", vector);
352 ulong vector; local
[all...]
/drivers/staging/vme/devices/
H A Dvme_pio2_core.c34 static int vector[PIO2_CARDS_MAX]; variable
76 static void pio2_int(int level, int vector, void *ptr) argument
82 vec = vector & ~PIO2_VME_VECTOR_MASK;
136 /* Clear VME vector */
208 "The IRQ vector used by the card must be specified");
244 card->irq_vector = vector[card->id];
259 * Bottom 4 bits of VME interrupt vector used to determine source,
260 * provided vector should only use upper 4 bits.
264 "Invalid VME IRQ Vector, vector must not use lower 4 bits\n");
354 /* Set VME vector */
[all...]
/drivers/mfd/
H A Dtimberdale.c737 msix_entries[timberdale_i2c_board_info[i].irq].vector;
760 &dev->resource[0], msix_entries[0].vector);
766 &dev->resource[0], msix_entries[0].vector);
772 &dev->resource[0], msix_entries[0].vector);
778 &dev->resource[0], msix_entries[0].vector);
795 &dev->resource[1], msix_entries[0].vector);
806 &dev->resource[2], msix_entries[0].vector);
/drivers/rapidio/devices/
H A Dtsi721.c586 mbox = (irq - priv->msix[TSI721_VECT_OMB0_DONE].vector) % RIO_MAX_MBOX;
603 mbox = (irq - priv->msix[TSI721_VECT_IMB0_RCV].vector) % RIO_MAX_MBOX;
668 err = request_irq(priv->msix[TSI721_VECT_IDB].vector,
674 err = request_irq(priv->msix[TSI721_VECT_PWRX].vector,
679 priv->msix[TSI721_VECT_IDB].vector,
728 * Copy MSI-X vector information into tsi721 private structure
730 priv->msix[TSI721_VECT_IDB].vector = entries[TSI721_VECT_IDB].vector;
733 priv->msix[TSI721_VECT_PWRX].vector = entries[TSI721_VECT_PWRX].vector;
[all...]
/drivers/pci/
H A Dxen-pcifront.c246 int vector[], int nvec)
262 dev_err(&dev->dev, "too much vector for pci frontend: %x."
271 op.msix_entries[i].vector = -1;
281 if (op.msix_entries[i].vector <= 0) {
283 i, op.msix_entries[i].vector);
285 vector[i] = -1;
288 vector[i] = op.msix_entries[i].vector;
320 static int pci_frontend_enable_msi(struct pci_dev *dev, int vector[]) argument
334 vector[
245 pci_frontend_enable_msix(struct pci_dev *dev, int vector[], int nvec) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c496 * vector or fall back to legacy interrupts.
524 * ixgbe_alloc_q_vector - Allocate memory for a single interrupt vector
526 * @v_idx: index of vector in adapter struct
654 * ixgbe_free_q_vector - Free memory allocated for specific interrupt vector
656 * @v_idx: Index of vector to be freed
677 * ixgbe_get_stats64() might access the rings on this vector,
790 int vector, v_budget; local
808 * those rare cases where the cpu count also exceeds our vector limit.
817 for (vector = 0; vector < v_budge
[all...]
/drivers/virtio/
H A Dvirtio_pci.c62 /* Whether we have vector per vq */
67 /* Use first vector for configuration changes, second and the rest for
91 /* MSI-X vector (or none) */
186 synchronize_irq(vp_dev->msix_entries[i].vector);
280 free_irq(vp_dev->msix_entries[i].vector, vp_dev);
283 /* Disable the vector used for configuration */
330 /* Set the vector used for configuration */
334 err = request_irq(vp_dev->msix_entries[v].vector,
342 /* Verify we had enough resources to assign the vector */
350 /* Shared vector fo
[all...]
/drivers/lguest/
H A Dinterrupts_and_traps.c283 /* Normal Linux SYSCALL_VECTOR or reserved vector? */
287 /* The syscall vector it wants must be unused by Host. */
290 u32 vector; local
292 if (get_user(vector, &lg->lguest_data->syscall_vec))
295 return could_be_syscall(vector);
300 /* If they want some strange system call vector, reserve it now */
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h95 int32_t vector; member in struct:ch_qset_params
/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c919 a vector number along with a "valid" bit. Sadly, the layout
925 /* vector goes into third byte of register */
929 /* vector goes into low byte of register */
940 /* vector goes into high byte of register */
944 /* vector goes into second byte of register */
965 int vector = 0; local
969 igbvf_assign_vector(adapter, IGBVF_NO_QUEUE, 0, vector++);
972 igbvf_assign_vector(adapter, 0, IGBVF_NO_QUEUE, vector++);
976 /* set vector for other causes, i.e. link changes */
978 tmp = (vector
1035 int err = 0, vector = 0; local
1125 int vector; local
[all...]
/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c1746 int vector = 0; local
1753 adapter->netdev->name, vector);
1755 intr->msix_entries[vector].vector,
1761 adapter->netdev->name, vector);
1776 = vector;
1777 vector++;
1781 = vector++;
1785 vector = 0;
1790 adapter->netdev->name, vector);
1871 int i, vector = 0; local
2747 int vector, err = 0; local
[all...]
/drivers/scsi/fnic/
H A Dfnic_isr.c145 free_irq(fnic->msix_entry[i].vector,
195 err = request_irq(fnic->msix_entry[i].vector,
/drivers/xen/
H A Devents.c83 * PIRQ - vector, with MSB being "needs EIO", or physical IRQ of the HVM
86 * IPI - IPI vector
103 unsigned char vector; member in struct:irq_info::__anon5987::__anon5988
192 unsigned short vector,
202 info->u.pirq.vector = vector;
660 irq_op.vector = 0;
672 xen_irq_info_pirq_init(irq, 0, pirq, gsi, irq_op.vector, DOMID_SELF,
720 int pirq, int vector, const char *name,
734 xen_irq_info_pirq_init(irq, 0, pirq, 0, vector, domi
188 xen_irq_info_pirq_init(unsigned irq, unsigned short evtchn, unsigned short pirq, unsigned short gsi, unsigned short vector, uint16_t domid, unsigned char flags) argument
719 xen_bind_pirq_msi_to_irq(struct pci_dev *dev, struct msi_desc *msidesc, int pirq, int vector, const char *name, domid_t domid) argument
1151 xen_send_IPI_one(unsigned int cpu, enum ipi_vector vector) argument
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c1853 int vector = 0; local
1866 /* Configure Rx vector */
1874 ivar = E1000_IVAR_INT_ALLOC_VALID | vector;
1876 /* Configure Tx vector */
1878 vector++;
1885 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 8);
1887 /* set vector for Other Causes, e.g. link changes */
1888 vector++;
1889 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 16);
1892 hw->hw_addr + E1000_EITR_82574(vector));
1985 int err = 0, vector = 0; local
2073 int vector = 0; local
5801 int vector, msix_irq; local
[all...]
/drivers/block/
H A Dnvme.c868 int vector = dev->entry[nvmeq->cq_vector].vector; local
870 irq_set_affinity_hint(vector, NULL);
871 free_irq(vector, nvmeq);
887 int depth, int vector)
916 nvmeq->cq_vector = vector;
932 return request_threaded_irq(dev->entry[nvmeq->cq_vector].vector,
936 return request_irq(dev->entry[nvmeq->cq_vector].vector, nvme_irq,
941 int qid, int cq_size, int vector)
944 struct nvme_queue *nvmeq = nvme_alloc_queue(dev, qid, cq_size, vector);
886 nvme_alloc_queue(struct nvme_dev *dev, int qid, int depth, int vector) argument
940 nvme_create_queue(struct nvme_dev *dev, int qid, int cq_size, int vector) argument
[all...]
/drivers/net/can/softing/
H A Dsofting_fw.c31 static int _softing_fct_cmd(struct softing *card, int16_t cmd, uint16_t vector, argument
38 iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]);
39 iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]);
54 if ((ret != vector) || time_after(jiffies, stamp))
/drivers/net/hamradio/
H A Dscc.c609 static void scc_isr_dispatch(struct scc_channel *scc, int vector) argument
612 switch (vector & VECTOR_MASK)
622 /* If the card has a latch for the interrupt vector (like the PA0HZP card)
632 unsigned char vector; local
643 /* Read the vector */
644 if((vector=Inb(Vector_Latch)) >= 16 * Nchips) break;
645 if (vector & 0x01) break;
647 scc=&SCC_Info[vector >> 3 ^ 0x01];
650 scc_isr_dispatch(scc, vector);
677 vector
[all...]

Completed in 982 milliseconds

12345