/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_fdma.c | 216 db_hw = &rx->dcb_entries[rx->dcb_index].db[rx->db_index]; in sparx5_fdma_rx_get_frame() 219 skb = rx->skb[rx->dcb_index][rx->db_index]; in sparx5_fdma_rx_get_frame() 226 rx->skb[rx->dcb_index][rx->db_index] = new_skb; in sparx5_fdma_rx_get_frame() 267 rx->db_index++; in sparx5_fdma_napi_callback() 270 if (rx->db_index != FDMA_RX_DCB_MAX_DBS) in sparx5_fdma_napi_callback() 275 rx->db_index = 0; in sparx5_fdma_napi_callback() 358 rx->db_index = 0; in sparx5_fdma_rx_alloc()
|
D | sparx5_main.h | 129 int db_index; member
|
/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.c | 409 context->db_tab, ucmd.db_index, in mthca_create_srq() 416 srq->db_index = ucmd.db_index; in mthca_create_srq() 424 context->db_tab, ucmd.db_index); in mthca_create_srq() 447 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq() 496 qp->sq.db_index = ucmd.sq_db_index; in mthca_create_qp() 497 qp->rq.db_index = ucmd.rq_db_index; in mthca_create_qp() 564 to_mqp(qp)->sq.db_index); in mthca_destroy_qp() 568 to_mqp(qp)->rq.db_index); in mthca_destroy_qp()
|
D | mthca_provider.h | 215 int db_index; /* Arbel only */ member 239 int db_index; /* Arbel only */ member
|
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() 1137 qp->rq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_RQ, in mthca_alloc_memfree() 1139 if (qp->rq.db_index < 0) in mthca_alloc_memfree() 1142 qp->sq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SQ, in mthca_alloc_memfree() 1144 if (qp->sq.db_index < 0) { in mthca_alloc_memfree() 1145 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_alloc_memfree() 1157 mthca_free_db(dev, MTHCA_DB_TYPE_SQ, qp->sq.db_index); in mthca_free_memfree() 1158 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_free_memfree()
|
D | mthca_memfree.c | 667 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) in mthca_free_db() argument 672 i = db_index / MTHCA_DB_REC_PER_PAGE; in mthca_free_db() 673 j = db_index % MTHCA_DB_REC_PER_PAGE; in mthca_free_db()
|
D | mthca_memfree.h | 177 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);
|
/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_fdma.c | 43 page = rx->page[rx->dcb_index][rx->db_index]; in lan966x_fdma_rx_free_page() 125 rx->db_index = 0; in lan966x_fdma_rx_alloc() 457 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_more_frames() 471 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_check_frame() 472 page = rx->page[rx->dcb_index][rx->db_index]; in lan966x_fdma_rx_check_frame() 503 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_get_frame() 504 page = rx->page[rx->dcb_index][rx->db_index]; in lan966x_fdma_rx_get_frame() 598 db = &rx->dcbs[dcb_reload].db[rx->db_index]; in lan966x_fdma_napi_poll() 602 rx->page[dcb_reload][rx->db_index] = page; in lan966x_fdma_napi_poll()
|
D | lan966x_main.h | 235 int db_index; member
|
/drivers/net/ethernet/fungible/funcore/ |
D | fun_dev.h | 104 unsigned int db_index) in fun_db_addr() argument 106 return &fdev->dbs[db_index * fdev->db_stride]; in fun_db_addr()
|
/drivers/net/ethernet/google/gve/ |
D | gve_dqo.h | 53 index = be32_to_cpu(q_resources->db_index); in gve_tx_put_doorbell_dqo()
|
D | gve_adminq.h | 271 __be32 db_index; /* Device -> Guest */ member
|
D | gve_rx_dqo.c | 335 u64 index = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell_dqo()
|
D | gve_rx.c | 349 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
|
D | gve_tx.c | 20 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
|
/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 270 static void mana_gd_ring_doorbell(struct gdma_context *gc, u32 db_index, in mana_gd_ring_doorbell() argument 274 void __iomem *addr = gc->db_page_base + gc->db_page_size * db_index; in mana_gd_ring_doorbell()
|