Home
last modified time | relevance | path

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

12

/Linux-v5.15/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.h287 __aligned_u64 db_addr; member
311 __aligned_u64 db_addr; member
330 __aligned_u64 db_addr; member
416 __aligned_u64 db_addr; member
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_dev_api.h469 void __iomem *db_addr,
484 void __iomem *db_addr, void *db_data);
Dqed.h77 u32 db_addr = FIELD_VALUE(DB_LEGACY_ADDR_DEMS, DEMS) | in qed_db_addr() local
80 return db_addr; in qed_db_addr()
85 u32 db_addr = FIELD_VALUE(DB_LEGACY_ADDR_DEMS, DEMS) | in qed_db_addr_vf() local
88 return db_addr; in qed_db_addr_vf()
961 #define DOORBELL(cdev, db_addr, val) \ argument
963 (cdev->doorbells) + (db_addr)))
Dqed_spq.c474 void __iomem *db_addr; in qed_spq_setup() local
526 db_addr = (void __iomem *)((u8 __iomem *)p_hwfn->doorbells + in qed_spq_setup()
528 rc = qed_db_recovery_add(p_hwfn->cdev, db_addr, &p_spq->db_data, in qed_spq_setup()
589 void __iomem *db_addr; in qed_spq_free() local
596 db_addr = (void __iomem *)((u8 __iomem *)p_hwfn->doorbells + in qed_spq_free()
598 qed_db_recovery_del(p_hwfn->cdev, db_addr, &p_spq->db_data); in qed_spq_free()
Dqed_dev.c54 void __iomem *db_addr; member
71 db_entry->db_addr, in qed_db_recovery_dp_entry()
80 void __iomem *db_addr, in qed_db_rec_sanity() argument
87 if (db_addr < cdev->doorbells || in qed_db_rec_sanity()
88 (u8 __iomem *)db_addr + width > in qed_db_rec_sanity()
92 db_addr, in qed_db_rec_sanity()
109 void __iomem *db_addr) in qed_db_rec_find_hwfn() argument
115 p_hwfn = db_addr < cdev->hwfns[1].doorbells ? in qed_db_rec_find_hwfn()
125 void __iomem *db_addr, in qed_db_recovery_add() argument
141 if (!qed_db_rec_sanity(cdev, db_addr, db_width, db_data)) in qed_db_recovery_add()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c199 void kfd_release_kernel_doorbell(struct kfd_dev *kfd, u32 __iomem *db_addr) in kfd_release_kernel_doorbell() argument
203 inx = (unsigned int)(db_addr - kfd->doorbell_kernel_ptr) in kfd_release_kernel_doorbell()
/Linux-v5.15/drivers/bus/mhi/core/
Dmain.c84 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr, in mhi_write_db() argument
87 mhi_write_reg(mhi_cntrl, db_addr, 4, upper_32_bits(db_val)); in mhi_write_db()
88 mhi_write_reg(mhi_cntrl, db_addr, 0, lower_32_bits(db_val)); in mhi_write_db()
93 void __iomem *db_addr, in mhi_db_brstmode() argument
98 mhi_write_db(mhi_cntrl, db_addr, db_val); in mhi_db_brstmode()
105 void __iomem *db_addr, in mhi_db_brstmode_disable() argument
109 mhi_write_db(mhi_cntrl, db_addr, db_val); in mhi_db_brstmode_disable()
117 ring->db_addr, *ring->ctxt_wp); in mhi_ring_er_db()
127 mhi_write_db(mhi_cntrl, ring->db_addr, db); in mhi_ring_cmd_db()
146 ring->db_addr, db); in mhi_ring_chan_db()
Dinternal.h511 void __iomem *db_addr; member
652 void __iomem *db_addr, dma_addr_t db_val);
654 struct db_cfg *db_mode, void __iomem *db_addr,
669 void mhi_write_db(struct mhi_controller *mhi_cntrl, void __iomem *db_addr,
Dinit.c306 mhi_chan->tre_ring.db_addr = (void __iomem *)&chan_ctxt->wp; in mhi_init_dev_ctxt()
524 mhi_chan->tre_ring.db_addr = base + val; in mhi_init_mmio()
540 mhi_event->ring.db_addr = base + val; in mhi_init_mmio()
544 mhi_cntrl->mhi_cmd[PRIMARY_CMD_RING].ring.db_addr = base + CRDB_LOWER; in mhi_init_mmio()
/Linux-v5.15/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-v5.15/drivers/infiniband/hw/qedr/
Dqedr.h145 void __iomem *db_addr; member
273 void __iomem *db_addr; member
293 void __iomem *db_addr; member
Dverbs.c672 void __iomem *db_addr, in qedr_db_recovery_add() argument
682 return dev->ops->common->db_recovery_add(dev->cdev, db_addr, db_data, in qedr_db_recovery_add()
687 void __iomem *db_addr, in qedr_db_recovery_del() argument
698 dev->ops->common->db_recovery_del(dev->cdev, db_addr, db_data); in qedr_db_recovery_del()
862 writeq(cq->db.raw, cq->db_addr); in doorbell_cq()
975 cq->q.db_addr = ctx->dpi_addr + db_offset; in qedr_create_cq()
1005 rc = qedr_db_recovery_add(dev, cq->q.db_addr, in qedr_create_cq()
1015 cq->db_addr = dev->db_addr + db_offset; in qedr_create_cq()
1026 rc = qedr_db_recovery_add(dev, cq->db_addr, &cq->db.data, in qedr_create_cq()
1082 qedr_db_recovery_del(dev, cq->db_addr, &cq->db.data); in qedr_destroy_cq()
[all …]
/Linux-v5.15/drivers/infiniband/hw/efa/
Defa_com.h38 u32 __iomem *db_addr; member
Defa_com.c136 sq->db_addr = (u32 __iomem *)(edev->reg_bar + EFA_REGS_AQ_PROD_DB_OFF); in efa_com_admin_init_sq()
342 writel(aq->sq.pc, aq->sq.db_addr); in __efa_com_submit_admin_cmd()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_com.h160 u32 __iomem *db_addr; member
200 u32 __iomem *db_addr; member
Dena_eth_com.h159 writel(tail, io_sq->db_addr); in ena_com_write_sq_doorbell()
/Linux-v5.15/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-v5.15/drivers/infiniband/hw/mlx4/
Dsrq.c132 err = mlx4_ib_db_map_user(udata, ucmd.db_addr, &srq->db); in mlx4_ib_create_srq()
/Linux-v5.15/include/linux/qed/
Dqed_if.h1050 void __iomem *db_addr,
1065 void __iomem *db_addr, void *db_data);
/Linux-v5.15/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c686 phys_addr_t *db_addr, in switchtec_ntb_peer_db_addr() argument
702 if (db_addr) in switchtec_ntb_peer_db_addr()
703 *db_addr = pci_resource_start(ntb->pdev, 0) + offset; in switchtec_ntb_peer_db_addr()

12