Home
last modified time | relevance | path

Searched refs:intr_idx (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/usb/misc/
Diowarrior.c92 atomic_t intr_idx; member
159 int intr_idx; in iowarrior_callback() local
179 intr_idx = atomic_read(&dev->intr_idx); in iowarrior_callback()
181 aux_idx = (intr_idx == 0) ? (MAX_INTERRUPT_BUFFER - 1) : (intr_idx - 1); in iowarrior_callback()
185 if ((intr_idx != read_idx) in iowarrior_callback()
199 aux_idx = (intr_idx == (MAX_INTERRUPT_BUFFER - 1)) ? 0 : (intr_idx + 1); in iowarrior_callback()
208 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback()
213 atomic_set(&dev->intr_idx, aux_idx); in iowarrior_callback()
268 int intr_idx, read_idx; in read_index() local
271 intr_idx = atomic_read(&dev->intr_idx); in read_index()
[all …]
/linux-3.4.99/drivers/net/vmxnet3/
Dvmxnet3_drv.c59 vmxnet3_enable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_enable_intr() argument
61 VMXNET3_WRITE_BAR0_REG(adapter, VMXNET3_REG_IMR + intr_idx * 8, 0); in vmxnet3_enable_intr()
66 vmxnet3_disable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_disable_intr() argument
68 VMXNET3_WRITE_BAR0_REG(adapter, VMXNET3_REG_IMR + intr_idx * 8, 1); in vmxnet3_disable_intr()
1609 vmxnet3_enable_intr(adapter, rq->comp_ring.intr_idx); in vmxnet3_poll_rx_only()
1629 vmxnet3_disable_intr(adapter, tq->comp_ring.intr_idx); in vmxnet3_msix_tx()
1641 vmxnet3_enable_intr(adapter, tq->comp_ring.intr_idx); in vmxnet3_msix_tx()
1660 vmxnet3_disable_intr(adapter, rq->comp_ring.intr_idx); in vmxnet3_msix_rx()
1784 adapter->tx_queue[i].comp_ring.intr_idx in vmxnet3_request_irqs()
1789 adapter->tx_queue[i].comp_ring.intr_idx in vmxnet3_request_irqs()
[all …]
Dvmxnet3_int.h163 u8 intr_idx; member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1976 struct net_device *dev, int intr_idx, in t4_sge_alloc_rxq() argument
1999 FW_IQ_CMD_IQANDST(intr_idx < 0) | FW_IQ_CMD_IQANUD(1) | in t4_sge_alloc_rxq()
2000 FW_IQ_CMD_IQANDSTINDEX(intr_idx >= 0 ? intr_idx : in t4_sge_alloc_rxq()
2001 -intr_idx - 1)); in t4_sge_alloc_rxq()
Dcxgb4.h594 struct net_device *dev, int intr_idx,
/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c2459 int vp_idx = 0, intr_idx = 0, intr_cnt = 0, msix_idx = 0, irq_req = 0; in vxge_add_isr() local
2474 for (intr_idx = 0; in vxge_add_isr()
2475 intr_idx < (vdev->no_of_vpath * in vxge_add_isr()
2476 VXGE_HW_VPATH_MSIX_ACTIVE); intr_idx++) { in vxge_add_isr()
2478 msix_idx = intr_idx % VXGE_HW_VPATH_MSIX_ACTIVE; in vxge_add_isr()
2539 if (((intr_idx + 1) % VXGE_HW_VPATH_MSIX_ACTIVE == 0) && in vxge_add_isr()