Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/fc4/
Dsoc.c110 soc_cq *sw_cq; in soc_solicited() local
115 sw_cq = &s->rsp[SOC_SOLICITED_RSP_Q]; in soc_solicited()
117 if (sw_cq->pool == NULL) in soc_solicited()
118 sw_cq->pool = (soc_req *) in soc_solicited()
119 (s->xram + xram_get_32low ((xram_p)&sw_cq->hw_cq->address)); in soc_solicited()
120 sw_cq->in = xram_get_8 ((xram_p)&sw_cq->hw_cq->in); in soc_solicited()
121 SOD (("soc_solicited, %d pkts arrived\n", (sw_cq->in-sw_cq->out) & sw_cq->last)) in soc_solicited()
123 hwrsp = (soc_rsp *)sw_cq->pool + sw_cq->out; in soc_solicited()
143 if (++sw_cq->out > sw_cq->last) { in soc_solicited()
144 sw_cq->seqno++; in soc_solicited()
[all …]
Dsocal.c138 socal_cq *sw_cq; in socal_solicited() local
143 sw_cq = &s->rsp[qno]; in socal_solicited()
146 sw_cq->in = sbus_readb(s->regs + RESP + qno); in socal_solicited()
148 (sw_cq->in - sw_cq->out) & sw_cq->last)) in socal_solicited()
150 hwrsp = (socal_rsp *)sw_cq->pool + sw_cq->out; in socal_solicited()
151 SOD(("hwrsp %p out %d\n", hwrsp, sw_cq->out)) in socal_solicited()
203 if (++sw_cq->out > sw_cq->last) { in socal_solicited()
204 sw_cq->seqno++; in socal_solicited()
205 sw_cq->out = 0; in socal_solicited()
208 if (sw_cq->out == sw_cq->in) { in socal_solicited()
[all …]