Home
last modified time | relevance | path

Searched refs:sq_db (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_io.c306 func_to_io->sq_db[q_id] = db_base; in init_qp()
355 return_db_area(func_to_io, func_to_io->sq_db[q_id]); in destroy_qp()
401 db_size = num_qps * sizeof(*func_to_io->sq_db); in hinic_io_create_qps()
402 func_to_io->sq_db = devm_kzalloc(&pdev->dev, db_size, GFP_KERNEL); in hinic_io_create_qps()
403 if (!func_to_io->sq_db) { in hinic_io_create_qps()
451 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_create_qps()
484 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_destroy_qps()
A Dhinic_hw_io.h76 void __iomem **sq_db; member
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c358 struct b577xx_doorbell_set_prod *sq_db = &tgt->sq_db; in bnx2fc_init_tgt() local
403 sq_db->header.header = B577XX_DOORBELL_HDR_DB_TYPE; in bnx2fc_init_tgt()
404 sq_db->header.header |= B577XX_FCOE_CONNECTION_TYPE << in bnx2fc_init_tgt()
A Dbnx2fc_hwi.c1432 struct b577xx_doorbell_set_prod *sq_db = &tgt->sq_db; in bnx2fc_ring_doorbell() local
1436 sq_db->prod = tgt->sq_prod_idx | in bnx2fc_ring_doorbell()
1438 msg = *((u32 *)sq_db); in bnx2fc_ring_doorbell()
A Dbnx2fc.h318 struct b577xx_doorbell_set_prod sq_db; member
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma.h391 u8 __iomem *sq_db; member
A Docrdma_verbs.c1232 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
1239 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
2086 iowrite32(val, qp->sq_db); in ocrdma_ring_sq_db()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v1.c88 struct hns_roce_sq_db sq_db = {}; in hns_roce_v1_post_send() local
334 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SQ_HEAD_M, in hns_roce_v1_post_send()
337 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SL_M, in hns_roce_v1_post_send()
339 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_PORT_M, in hns_roce_v1_post_send()
341 roce_set_field(sq_db.u32_8, SQ_DOORBELL_U32_8_QPN_M, in hns_roce_v1_post_send()
343 roce_set_bit(sq_db.u32_8, SQ_DOORBELL_HW_SYNC_S, 1); in hns_roce_v1_post_send()
345 doorbell[0] = sq_db.u32_4; in hns_roce_v1_post_send()
346 doorbell[1] = sq_db.u32_8; in hns_roce_v1_post_send()
A Dhns_roce_hw_v2.c631 struct hns_roce_v2_db sq_db = {}; in update_sq_db() local
633 hr_reg_write(&sq_db, DB_TAG, qp->doorbell_qpn); in update_sq_db()
634 hr_reg_write(&sq_db, DB_CMD, HNS_ROCE_V2_SQ_DB); in update_sq_db()
635 hr_reg_write(&sq_db, DB_PI, qp->sq.head); in update_sq_db()
636 hr_reg_write(&sq_db, DB_SL, qp->sl); in update_sq_db()
638 hns_roce_write64(hr_dev, (__le32 *)&sq_db, qp->sq.db_reg); in update_sq_db()
/linux/drivers/scsi/bnx2i/
A Dbnx2i_hwi.c270 struct bnx2i_5771x_sq_rq_db *sq_db; in bnx2i_ring_sq_dbell() local
276 sq_db = (struct bnx2i_5771x_sq_rq_db *) ep->qp.sq_pgtbl_virt; in bnx2i_ring_sq_dbell()
277 sq_db->prod_idx = ep->qp.sq_prod_idx; in bnx2i_ring_sq_dbell()

Completed in 46 milliseconds