Home
last modified time | relevance | path

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

/linux-6.1.9/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()
400 func_to_io->sq_db = devm_kcalloc(&pdev->dev, num_qps, in hinic_io_create_qps()
401 sizeof(*func_to_io->sq_db), GFP_KERNEL); in hinic_io_create_qps()
402 if (!func_to_io->sq_db) { in hinic_io_create_qps()
450 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_create_qps()
483 devm_kfree(&pdev->dev, func_to_io->sq_db); in hinic_io_destroy_qps()
Dhinic_hw_io.h76 void __iomem **sq_db; member
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_queue.h33 u32 __iomem *sq_db; member
100 writel(tail, funq->sq_db); in funq_sq_post_tail()
Dfun_queue.c474 funq->sq_db = fun_sq_db_addr(fdev, 0); in fun_alloc_queue()
515 0, &funq->sqid, &funq->sq_db); in fun_create_sq()
Dfun_dev.c404 writel(funq->sq_tail, funq->sq_db); in fun_submit_admin_cmd()
/linux-6.1.9/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.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()
Dbnx2fc.h316 struct b577xx_doorbell_set_prod sq_db; member
/linux-6.1.9/drivers/nvme/host/
Dapple.c142 u32 __iomem *sq_db; member
314 writel(tag, q->sq_db); in apple_nvme_submit_cmd()
1421 anv->adminq.sq_db = anv->mmio_nvme + APPLE_ANS_LINEAR_ASQ_DB; in apple_nvme_probe()
1423 anv->ioq.sq_db = anv->mmio_nvme + APPLE_ANS_LINEAR_IOSQ_DB; in apple_nvme_probe()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma.h391 u8 __iomem *sq_db; member
Docrdma_verbs.c1234 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
1241 qp->sq_db = dev->nic_info.db + in ocrdma_set_qp_db()
2084 iowrite32(val, qp->sq_db); in ocrdma_ring_sq_db()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c632 struct hns_roce_v2_db sq_db = {}; in update_sq_db() local
634 hr_reg_write(&sq_db, DB_TAG, qp->qpn); in update_sq_db()
635 hr_reg_write(&sq_db, DB_CMD, HNS_ROCE_V2_SQ_DB); in update_sq_db()
636 hr_reg_write(&sq_db, DB_PI, qp->sq.head); in update_sq_db()
637 hr_reg_write(&sq_db, DB_SL, qp->sl); in update_sq_db()
639 hns_roce_write64(hr_dev, (__le32 *)&sq_db, qp->sq.db_reg); in update_sq_db()