Home
last modified time | relevance | path

Searched refs:qno (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/fc4/
Dsocal.c135 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()
[all …]
Dsoc.c359 int qno; in soc_hw_enque() local
367 qno = 1; in soc_hw_enque()
369 qno = 0; in soc_hw_enque()
370 SOD(("Putting a FCP packet type %d into hw queue %d\n", fcmd->proto, qno)) in soc_hw_enque()
371 if (s->imask & (SOC_IMASK_REQ_Q0 << qno)) { in soc_hw_enque()
375 sw_cq = s->req + qno; in soc_hw_enque()
380 SOD(("%d IN %d OUT %d LAST %d\n", qno, sw_cq->in, sw_cq->out, sw_cq->last)) in soc_hw_enque()
381 SOC_SETIMASK(s, s->imask | (SOC_IMASK_REQ_Q0 << qno)); in soc_hw_enque()
508 SOC_CMD_RSP_QALL | (sw_cq->in << 24) | (SOC_CMD_REQ_Q0 << qno))) in soc_hw_enque()
510 sbus_writel(SOC_CMD_RSP_QALL | (sw_cq->in << 24) | (SOC_CMD_REQ_Q0 << qno), in soc_hw_enque()