Home
last modified time | relevance | path

Searched refs:db_addr (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.6.21/include/uapi/rdma/
Dmlx4-abi.h81 __aligned_u64 db_addr; member
95 __aligned_u64 db_addr; member
114 __aligned_u64 db_addr; member
124 __aligned_u64 db_addr; member
Dhns-abi.h41 __aligned_u64 db_addr; member
57 __aligned_u64 db_addr; member
68 __aligned_u64 db_addr; member
Dmlx5-abi.h288 __aligned_u64 db_addr; member
312 __aligned_u64 db_addr; member
331 __aligned_u64 db_addr; member
417 __aligned_u64 db_addr; member
/linux-6.6.21/drivers/bus/mhi/host/
Dinternal.h172 void __iomem *db_addr; member
313 void __iomem *db_addr, dma_addr_t db_val);
315 struct db_cfg *db_mode, void __iomem *db_addr,
331 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr,
Dmain.c86 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db() argument
89 mhi_write_reg(mhi_cntrl, db_addr, 4, upper_32_bits(db_val)); in mhi_write_db()
90 mhi_write_reg(mhi_cntrl, db_addr, 0, lower_32_bits(db_val)); in mhi_write_db()
95 void __iomem *db_addr, in mhi_db_brstmode() argument
100 mhi_write_db(mhi_cntrl, db_addr, db_val); in mhi_db_brstmode()
107 void __iomem *db_addr, in mhi_db_brstmode_disable() argument
111 mhi_write_db(mhi_cntrl, db_addr, db_val); in mhi_db_brstmode_disable()
119 ring->db_addr, le64_to_cpu(*ring->ctxt_wp)); in mhi_ring_er_db()
129 mhi_write_db(mhi_cntrl, ring->db_addr, db); in mhi_ring_cmd_db()
148 ring->db_addr, db); in mhi_ring_chan_db()
Dinit.c319 mhi_chan->tre_ring.db_addr = (void __iomem *)&chan_ctxt->wp; in mhi_init_dev_ctxt()
532 mhi_chan->tre_ring.db_addr = base + val; in mhi_init_mmio()
553 mhi_event->ring.db_addr = base + val; in mhi_init_mmio()
557 mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING].ring.db_addr = base + CRDB_LOWER; in mhi_init_mmio()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_dev_api.h509 void __iomem *db_addr,
526 void __iomem *db_addr, void *db_data);
Dqed.h79 u32 db_addr = FIELD_VALUE(DB_LEGACY_ADDR_DEMS, DEMS) | in qed_db_addr() local
82 return db_addr; in qed_db_addr()
87 u32 db_addr = FIELD_VALUE(DB_LEGACY_ADDR_DEMS, DEMS) | in qed_db_addr_vf() local
90 return db_addr; in qed_db_addr_vf()
965 #define DOORBELL(cdev, db_addr, val) \ argument
967 ((cdev)->doorbells) + (db_addr)))
Dqed_spq.c488 void __iomem *db_addr; in qed_spq_setup() local
540 db_addr = (void __iomem *)((u8 __iomem *)p_hwfn->doorbells + in qed_spq_setup()
542 rc = qed_db_recovery_add(p_hwfn->cdev, db_addr, &p_spq->db_data, in qed_spq_setup()
603 void __iomem *db_addr; in qed_spq_free() local
610 db_addr = (void __iomem *)((u8 __iomem *)p_hwfn->doorbells + in qed_spq_free()
612 qed_db_recovery_del(p_hwfn->cdev, db_addr, &p_spq->db_data); in qed_spq_free()
Dqed_dev.c55 void __iomem *db_addr; member
72 db_entry->db_addr, in qed_db_recovery_dp_entry()
81 void __iomem *db_addr, in qed_db_rec_sanity() argument
88 if (db_addr < cdev->doorbells || in qed_db_rec_sanity()
89 (u8 __iomem *)db_addr + width > in qed_db_rec_sanity()
93 db_addr, in qed_db_rec_sanity()
110 void __iomem *db_addr) in qed_db_rec_find_hwfn() argument
116 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn()
126 void __iomem *db_addr, in qed_db_recovery_add() argument
142 if (!qed_db_rec_sanity(cdev, db_addr, db_width, db_data)) in qed_db_recovery_add()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c178 void kfd_release_kernel_doorbell(struct kfd_dev *kfd, u32 __iomem *db_addr) in kfd_release_kernel_doorbell() argument
182 inx = (unsigned int)(db_addr - kfd->doorbell_kernel_ptr); in kfd_release_kernel_doorbell()
/linux-6.6.21/drivers/ntb/hw/intel/
Dntb_hw_gen3.c534 int intel_ntb3_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr, in intel_ntb3_peer_db_addr() argument
550 if (db_addr) { in intel_ntb3_peer_db_addr()
551 *db_addr = db_addr_base + (db_bit * 4); in intel_ntb3_peer_db_addr()
553 *db_addr, db_bit); in intel_ntb3_peer_db_addr()
Dntb_hw_gen3.h112 int intel_ntb3_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr,
Dntb_hw_gen1.h153 phys_addr_t *db_addr, resource_size_t *db_size,
Dntb_hw_gen1.c185 phys_addr_t *db_addr, resource_size_t *db_size, in ndev_db_addr() argument
191 if (db_addr) { in ndev_db_addr()
192 *db_addr = reg_addr + reg; in ndev_db_addr()
193 dev_dbg(&ndev->ntb.pdev->dev, "Peer db addr %llx\n", *db_addr); in ndev_db_addr()
1115 static int intel_ntb_peer_db_addr(struct ntb_dev *ntb, phys_addr_t *db_addr, in intel_ntb_peer_db_addr() argument
1129 ndev_db_addr(ndev, db_addr, db_size, ndev->peer_addr, in intel_ntb_peer_db_addr()
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr.h145 void __iomem *db_addr; member
273 void __iomem *db_addr; member
293 void __iomem *db_addr; member
Dverbs.c673 void __iomem *db_addr, in qedr_db_recovery_add() argument
683 return dev->ops->common->db_recovery_add(dev->cdev, db_addr, db_data, in qedr_db_recovery_add()
688 void __iomem *db_addr, in qedr_db_recovery_del() argument
699 dev->ops->common->db_recovery_del(dev->cdev, db_addr, db_data); in qedr_db_recovery_del()
863 writeq(cq->db.raw, cq->db_addr); in doorbell_cq()
976 cq->q.db_addr = ctx->dpi_addr + db_offset; in qedr_create_cq()
1006 rc = qedr_db_recovery_add(dev, cq->q.db_addr, in qedr_create_cq()
1016 cq->db_addr = dev->db_addr + db_offset; in qedr_create_cq()
1027 rc = qedr_db_recovery_add(dev, cq->db_addr, &cq->db.data, in qedr_create_cq()
1073 qedr_db_recovery_del(dev, cq->db_addr, &cq->db.data); in qedr_destroy_cq()
[all …]
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa_com.h38 u32 __iomem *db_addr; member
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_com.h160 u32 __iomem *db_addr; member
200 u32 __iomem *db_addr; member
Dena_eth_com.h163 writel(tail, io_sq->db_addr); in ena_com_write_sq_doorbell()
/linux-6.6.21/include/uapi/drm/
Dqaic_accel.h233 __u64 db_addr; member
/linux-6.6.21/include/linux/
Dntb.h301 phys_addr_t *db_addr, resource_size_t *db_size,
1153 phys_addr_t *db_addr, in ntb_peer_db_addr() argument
1160 return ntb->ops->peer_db_addr(ntb, db_addr, db_size, db_data, db_bit); in ntb_peer_db_addr()
/linux-6.6.21/drivers/accel/qaic/
Dqaic_data.c98 __le64 db_addr; member
248 __le64 db_addr = cpu_to_le64(req->db_addr); in encode_reqs() local
260 if (req->db_len && !IS_ALIGNED(req->db_addr, req->db_len / 8)) in encode_reqs()
345 slice->reqs[i].db_addr = db_addr; in encode_reqs()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dsrq.c132 err = mlx4_ib_db_map_user(udata, ucmd.db_addr, &srq->db); in mlx4_ib_create_srq()
/linux-6.6.21/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c688 phys_addr_t *db_addr, in switchtec_ntb_peer_db_addr() argument
704 if (db_addr) in switchtec_ntb_peer_db_addr()
705 *db_addr = pci_resource_start(ntb->pdev, 0) + offset; in switchtec_ntb_peer_db_addr()

12