Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
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()
Dhinic_hw_io.h76 void __iomem **sq_db; member
/drivers/scsi/bnx2fc/
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()
Dbnx2fc_hwi.c1433 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()
Dbnx2fc.h319 struct b577xx_doorbell_set_prod sq_db; member
/drivers/infiniband/hw/ocrdma/
Docrdma.h391 u8 __iomem *sq_db; member
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()
2084 iowrite32(val, qp->sq_db); in ocrdma_ring_sq_db()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c72 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()
Dhns_roce_hw_v2.c626 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/
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()