Home
last modified time | relevance | path

Searched refs:rq_prod_idx (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/bnx2i/
Dbnx2i_hwi.c234 u16 hi_bit = (bnx2i_conn->ep->qp.rq_prod_idx & 0x8000); in bnx2i_put_rq_buf()
238 ep->qp.rq_prod_idx &= 0x7FFF; in bnx2i_put_rq_buf()
239 ep->qp.rq_prod_idx += count; in bnx2i_put_rq_buf()
241 if (ep->qp.rq_prod_idx > bnx2i_conn->hba->max_rqes) { in bnx2i_put_rq_buf()
242 ep->qp.rq_prod_idx %= bnx2i_conn->hba->max_rqes; in bnx2i_put_rq_buf()
244 ep->qp.rq_prod_idx |= 0x8000; in bnx2i_put_rq_buf()
246 ep->qp.rq_prod_idx |= hi_bit; in bnx2i_put_rq_buf()
250 rq_db->prod_idx = ep->qp.rq_prod_idx; in bnx2i_put_rq_buf()
253 writew(ep->qp.rq_prod_idx, in bnx2i_put_rq_buf()
1160 ep->qp.rq_prod_idx = 0x8000; in bnx2i_alloc_qp_resc()
Dbnx2i.h676 u16 rq_prod_idx; member
/drivers/scsi/bnx2fc/
Dbnx2fc.h336 u32 rq_prod_idx; member
Dbnx2fc_hwi.c1441 u32 next_prod_idx = tgt->rq_prod_idx + num_items; in bnx2fc_return_rqe()
1446 tgt->rq_prod_idx = next_prod_idx; in bnx2fc_return_rqe()
1447 tgt->conn_db->rq_prod = tgt->rq_prod_idx; in bnx2fc_return_rqe()
Dbnx2fc_tgt.c387 tgt->rq_prod_idx = 0x8000; in bnx2fc_init_tgt()