Lines Matching refs:qno
135 static void inline socal_solicited(struct socal *s, unsigned long qno) in socal_solicited() argument
143 sw_cq = &s->rsp[qno]; in socal_solicited()
146 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_solicited()
209 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_solicited()
214 ~(SOCAL_CMD_RSP_Q0 << qno)), in socal_solicited()
219 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_solicited()
244 static void inline socal_unsolicited (struct socal *s, unsigned long qno) in socal_unsolicited() argument
253 sw_cq = &s->rsp[qno]; in socal_unsolicited()
255 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_unsolicited()
297 ~(SOCAL_CMD_RSP_Q0 << qno)), in socal_unsolicited()
302 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_unsolicited()
391 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_unsolicited()
396 ~(SOCAL_CMD_RSP_Q0 << qno)), in socal_unsolicited()
401 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_unsolicited()
439 unsigned long qno; in socal_hw_enque() local
447 qno = 1; in socal_hw_enque()
449 qno = 0; in socal_hw_enque()
450 SOD(("Putting a FCP packet type %d into hw queue %d\n", fcmd->proto, qno)) in socal_hw_enque()
451 if (s->imask & (SOCAL_IMASK_REQ_Q0 << qno)) { in socal_hw_enque()
455 sw_cq = s->req + qno; in socal_hw_enque()
459 cq_next_in == (sw_cq->out = sbus_readb(s->regs + REQP + qno))) { in socal_hw_enque()
461 qno, sw_cq->in, in socal_hw_enque()
463 SOCAL_SETIMASK(s, s->imask | (SOCAL_IMASK_REQ_Q0 << qno)); in socal_hw_enque()
594 …SOD(("Putting %08x into cmd\n", SOCAL_CMD_RSP_QALL | (sw_cq->in << 24) | (SOCAL_CMD_REQ_Q0 << qno)… in socal_hw_enque()
596 sbus_writel(SOCAL_CMD_RSP_QALL | (sw_cq->in << 24) | (SOCAL_CMD_REQ_Q0 << qno), in socal_hw_enque()