Searched refs:db_index (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_user.h85 __u32 db_index; member in struct:mthca_create_srq
H A Dmthca_provider.h233 int db_index; /* Arbel only */ member in struct:mthca_srq
257 int db_index; /* Arbel only */ member in struct:mthca_wq
H A Dmthca_srq.c63 __be32 db_index; member in struct:mthca_arbel_srq_context
128 context->db_index = cpu_to_be32(srq->db_index);
230 srq->db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SRQ,
232 if (srq->db_index < 0) {
307 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index);
358 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index);
H A Dmthca_memfree.h179 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);
H A Dmthca_provider.c484 context->db_tab, ucmd.db_index,
491 srq->db_index = ucmd.db_index;
499 context->db_tab, ucmd.db_index);
526 context->db_tab, to_msrq(srq)->db_index);
583 qp->sq.db_index = ucmd.sq_db_index;
584 qp->rq.db_index = ucmd.rq_db_index;
655 to_mqp(qp)->sq.db_index);
659 to_mqp(qp)->rq.db_index);
H A Dmthca_qp.c723 qp_context->snd_db_index = cpu_to_be32(qp->sq.db_index);
761 qp_context->rcv_db_index = cpu_to_be32(qp->rq.db_index);
1144 qp->rq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_RQ,
1146 if (qp->rq.db_index < 0)
1149 qp->sq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SQ,
1151 if (qp->sq.db_index < 0) {
1152 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index);
1164 mthca_free_db(dev, MTHCA_DB_TYPE_SQ, qp->sq.db_index);
1165 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index);
H A Dmthca_memfree.c668 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) argument
674 i = db_index / MTHCA_DB_REC_PER_PAGE;
675 j = db_index % MTHCA_DB_REC_PER_PAGE;

Completed in 102 milliseconds