Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/amso1100/
Dc2_intr.c38 static void handle_vq(struct c2_dev *c2dev, u32 mq_index);
45 unsigned int mq_index; in c2_rnic_interrupt() local
48 mq_index = readl(c2dev->regs + PCI_BAR0_HOST_HINT); in c2_rnic_interrupt()
49 if (mq_index & 0x80000000) { in c2_rnic_interrupt()
54 handle_mq(c2dev, mq_index); in c2_rnic_interrupt()
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index) in handle_mq() argument
64 if (c2dev->qptr_array[mq_index] == NULL) { in handle_mq()
66 mq_index); in handle_mq()
70 switch (mq_index) { in handle_mq()
83 handle_vq(c2dev, mq_index); in handle_mq()
[all …]
Dc2_cq.c68 void c2_cq_event(struct c2_dev *c2dev, u32 mq_index) in c2_cq_event() argument
72 cq = c2_cq_get(c2dev, mq_index); in c2_cq_event()
74 printk("discarding events on destroyed CQN=%d\n", mq_index); in c2_cq_event()
82 void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index) in c2_cq_clean() argument
87 cq = c2_cq_get(c2dev, mq_index); in c2_cq_clean()
349 cq->mq.index = be32_to_cpu(reply->mq_index); in c2_init_cq()
Dc2_ae.c147 void c2_ae_event(struct c2_dev *c2dev, u32 mq_index) in c2_ae_event() argument
149 struct c2_mq *mq = c2dev->qptr_array[mq_index]; in c2_ae_event()
Dc2.h516 extern void c2_cq_event(struct c2_dev *c2dev, u32 mq_index);
517 extern void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index);
539 extern void c2_ae_event(struct c2_dev *c2dev, u32 mq_index);
Dc2_qp.c724 static inline void c2_activity(struct c2_dev *c2dev, u32 mq_index, u16 shared) in c2_activity() argument
738 __raw_writel(C2_HINT_MAKE(mq_index, shared), in c2_activity()
Dc2_wr.h454 __be32 mq_index; member
548 u32 mq_index; member