Searched refs:db_index (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/ps3/ |
D | os-area.c | 389 struct db_index { struct 397 struct db_index *idx; argument 398 struct db_index *last_idx; 569 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 573 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 575 + INDEX_32_COUNT * sizeof(struct db_index) in os_area_db_init() 581 BUILD_BUG_ON(sizeof(struct db_index) != 1); in os_area_db_init() 590 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 592 + INDEX_32_COUNT * sizeof(struct db_index) in os_area_db_init() 594 + INDEX_16_COUNT * sizeof(struct db_index) in os_area_db_init()
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 63 __be32 db_index; member 138 context->db_index = cpu_to_be32(srq->db_index); in mthca_arbel_init_srq_context() 247 srq->db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SRQ, in mthca_alloc_srq() 249 if (srq->db_index < 0) { in mthca_alloc_srq() 316 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index); in mthca_alloc_srq() 364 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index); in mthca_free_srq()
|
D | mthca_provider.h | 215 int db_index; /* Arbel only */ member 239 int db_index; /* Arbel only */ member
|
D | mthca_provider.c | 417 context->db_tab, ucmd.db_index, in mthca_create_srq() 424 srq->db_index = ucmd.db_index; in mthca_create_srq() 432 context->db_tab, ucmd.db_index); in mthca_create_srq() 455 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq() 511 qp->sq.db_index = ucmd.sq_db_index; in mthca_create_qp() 512 qp->rq.db_index = ucmd.rq_db_index; in mthca_create_qp() 589 to_mqp(qp)->sq.db_index); in mthca_destroy_qp() 593 to_mqp(qp)->rq.db_index); in mthca_destroy_qp()
|
D | mthca_memfree.h | 177 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);
|
D | mthca_qp.c | 739 qp_context->snd_db_index = cpu_to_be32(qp->sq.db_index); in __mthca_modify_qp() 777 qp_context->rcv_db_index = cpu_to_be32(qp->rq.db_index); in __mthca_modify_qp() 1134 qp->rq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_RQ, in mthca_alloc_memfree() 1136 if (qp->rq.db_index < 0) in mthca_alloc_memfree() 1139 qp->sq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SQ, in mthca_alloc_memfree() 1141 if (qp->sq.db_index < 0) { in mthca_alloc_memfree() 1142 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_alloc_memfree() 1154 mthca_free_db(dev, MTHCA_DB_TYPE_SQ, qp->sq.db_index); in mthca_free_memfree() 1155 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_free_memfree()
|
D | mthca_memfree.c | 664 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) in mthca_free_db() argument 669 i = db_index / MTHCA_DB_REC_PER_PAGE; in mthca_free_db() 670 j = db_index % MTHCA_DB_REC_PER_PAGE; in mthca_free_db()
|
/Linux-v5.10/include/uapi/rdma/ |
D | mthca-abi.h | 95 __u32 db_index; member
|
/Linux-v5.10/drivers/net/ethernet/google/gve/ |
D | gve_adminq.h | 143 __be32 db_index; /* Device -> Guest */ member
|
D | gve_rx.c | 214 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
|
D | gve_tx.c | 18 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
|