Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c258 func_to_io->sq_db[q_id] = db_base; in init_qp()
305 return_db_area(func_to_io, func_to_io->sq_db[q_id]); in destroy_qp()
351 db_size = num_qps * sizeof(*func_to_io->sq_db); in hinic_io_create_qps()
352 func_to_io->sq_db = devm_kzalloc(&pdev->dev, db_size, GFP_KERNEL); in hinic_io_create_qps()
353 if (!func_to_io->sq_db) { in hinic_io_create_qps()
395 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_create_qps()
428 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_destroy_qps()
Dhinic_hw_io.h70 void __iomem **sq_db; member
/Linux-v4.19/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.h318 struct b577xx_doorbell_set_prod sq_db; member
Dbnx2fc_hwi.c1404 struct b577xx_doorbell_set_prod *sq_db = &tgt->sq_db; in bnx2fc_ring_doorbell() local
1408 sq_db->prod = tgt->sq_prod_idx | in bnx2fc_ring_doorbell()
1410 msg = *((u32 *)sq_db); in bnx2fc_ring_doorbell()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma.h393 u8 __iomem *sq_db; member
Docrdma_verbs.c1307 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
1314 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
2166 iowrite32(val, qp->sq_db); in ocrdma_ring_sq_db()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c72 struct hns_roce_sq_db sq_db; in hns_roce_v1_post_send() local
325 sq_db.u32_4 = 0; in hns_roce_v1_post_send()
326 sq_db.u32_8 = 0; in hns_roce_v1_post_send()
327 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SQ_HEAD_M, in hns_roce_v1_post_send()
330 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_SL_M, in hns_roce_v1_post_send()
332 roce_set_field(sq_db.u32_4, SQ_DOORBELL_U32_4_PORT_M, in hns_roce_v1_post_send()
334 roce_set_field(sq_db.u32_8, SQ_DOORBELL_U32_8_QPN_M, in hns_roce_v1_post_send()
336 roce_set_bit(sq_db.u32_8, SQ_DOORBELL_HW_SYNC_S, 1); in hns_roce_v1_post_send()
338 doorbell[0] = le32_to_cpu(sq_db.u32_4); in hns_roce_v1_post_send()
339 doorbell[1] = le32_to_cpu(sq_db.u32_8); in hns_roce_v1_post_send()
Dhns_roce_hw_v2.c183 struct hns_roce_v2_db sq_db; in hns_roce_v2_post_send() local
517 sq_db.byte_4 = 0; in hns_roce_v2_post_send()
518 sq_db.parameter = 0; in hns_roce_v2_post_send()
520 roce_set_field(sq_db.byte_4, V2_DB_BYTE_4_TAG_M, in hns_roce_v2_post_send()
522 roce_set_field(sq_db.byte_4, V2_DB_BYTE_4_CMD_M, in hns_roce_v2_post_send()
524 roce_set_field(sq_db.parameter, V2_DB_PARAMETER_IDX_M, in hns_roce_v2_post_send()
527 roce_set_field(sq_db.parameter, V2_DB_PARAMETER_SL_M, in hns_roce_v2_post_send()
530 hns_roce_write64_k((__le32 *)&sq_db, qp->sq.db_reg_l); in hns_roce_v2_post_send()
/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i_hwi.c271 struct bnx2i_5771x_sq_rq_db *sq_db; in bnx2i_ring_sq_dbell() local
277 sq_db = (struct bnx2i_5771x_sq_rq_db *) ep->qp.sq_pgtbl_virt; in bnx2i_ring_sq_dbell()
278 sq_db->prod_idx = ep->qp.sq_prod_idx; in bnx2i_ring_sq_dbell()