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

/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_intr.c38 static void handle_vq(struct c2_dev *c2dev, u32 mq_index);
45 unsigned int mq_index; c2_rnic_interrupt() local
48 mq_index = readl(c2dev->regs + PCI_BAR0_HOST_HINT); c2_rnic_interrupt()
49 if (mq_index & 0x80000000) { c2_rnic_interrupt()
54 handle_mq(c2dev, mq_index); c2_rnic_interrupt()
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index) handle_mq() argument
64 if (c2dev->qptr_array[mq_index] == NULL) { handle_mq()
65 pr_debug("handle_mq: stray activity for mq_index=%d\n", handle_mq()
66 mq_index); handle_mq()
70 switch (mq_index) { handle_mq()
83 handle_vq(c2dev, mq_index); handle_mq()
94 c2_ae_event(c2dev, mq_index); handle_mq()
105 c2_cq_event(c2dev, mq_index); handle_mq()
115 static void handle_vq(struct c2_dev *c2dev, u32 mq_index) handle_vq() argument
125 reply_vq = (struct c2_mq *) c2dev->qptr_array[mq_index]; handle_vq()
128 * get next msg from mq_index into adapter_msg. handle_vq()
H A Dc2_cq.c68 void c2_cq_event(struct c2_dev *c2dev, u32 mq_index) c2_cq_event() argument
72 cq = c2_cq_get(c2dev, mq_index); c2_cq_event()
74 printk("discarding events on destroyed CQN=%d\n", mq_index); c2_cq_event()
82 void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index) c2_cq_clean() argument
87 cq = c2_cq_get(c2dev, mq_index); c2_cq_clean()
352 cq->mq.index = be32_to_cpu(reply->mq_index); c2_init_cq()
H A Dc2_ae.c147 void c2_ae_event(struct c2_dev *c2dev, u32 mq_index) c2_ae_event() argument
149 struct c2_mq *mq = c2dev->qptr_array[mq_index]; c2_ae_event()
H A Dc2.h515 extern void c2_cq_event(struct c2_dev *c2dev, u32 mq_index);
516 extern void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index);
538 extern void c2_ae_event(struct c2_dev *c2dev, u32 mq_index);
H A Dc2_qp.c718 * mq_index - mq index to post
726 static inline void c2_activity(struct c2_dev *c2dev, u32 mq_index, u16 shared) c2_activity() argument
740 __raw_writel(C2_HINT_MAKE(mq_index, shared), c2_activity()
H A Dc2_wr.h454 __be32 mq_index; member in struct:c2wr_cq_create_rep
548 u32 mq_index; member in struct:c2wr_srq_create_rep

Completed in 107 milliseconds