Searched refs:sq_db (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_io.c | 306 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()
|
D | hinic_hw_io.h | 76 void __iomem **sq_db; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 358 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()
|
D | bnx2fc_hwi.c | 1433 struct b577xx_doorbell_set_prod *sq_db = &tgt->sq_db; in bnx2fc_ring_doorbell() local 1437 sq_db->prod = tgt->sq_prod_idx | in bnx2fc_ring_doorbell() 1439 msg = *((u32 *)sq_db); in bnx2fc_ring_doorbell()
|
D | bnx2fc.h | 319 struct b577xx_doorbell_set_prod sq_db; member
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 391 u8 __iomem *sq_db; member
|
D | ocrdma_verbs.c | 1232 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() 2084 iowrite32(val, qp->sq_db); in ocrdma_ring_sq_db()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 72 struct hns_roce_sq_db sq_db = {}; in hns_roce_v1_post_send() local 320 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SQ_HEAD_M, in hns_roce_v1_post_send() 323 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SL_M, in hns_roce_v1_post_send() 325 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_PORT_M, in hns_roce_v1_post_send() 327 roce_set_field(sq_db.u32_8, SQ_DOORBELL_U32_8_QPN_M, in hns_roce_v1_post_send() 329 roce_set_bit(sq_db.u32_8, SQ_DOORBELL_HW_SYNC_S, 1); in hns_roce_v1_post_send() 331 doorbell[0] = sq_db.u32_4; in hns_roce_v1_post_send() 332 doorbell[1] = sq_db.u32_8; in hns_roce_v1_post_send()
|
D | hns_roce_hw_v2.c | 626 struct hns_roce_v2_db sq_db = {}; in update_sq_db() local 628 roce_set_field(sq_db.byte_4, V2_DB_BYTE_4_TAG_M, in update_sq_db() 630 roce_set_field(sq_db.byte_4, V2_DB_BYTE_4_CMD_M, in update_sq_db() 632 roce_set_field(sq_db.parameter, V2_DB_PARAMETER_IDX_M, in update_sq_db() 634 roce_set_field(sq_db.parameter, V2_DB_PARAMETER_SL_M, in update_sq_db() 637 hns_roce_write64(hr_dev, (__le32 *)&sq_db, qp->sq.db_reg_l); in update_sq_db()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 270 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()
|