Home
last modified time | relevance | path

Searched refs:bar_reg (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c1024 iounmap(cmdq->cmdq_mbox.reg.bar_reg); in bnxt_qplib_disable_rcfw_channel()
1025 iounmap(creq->creq_db.reg.bar_reg); in bnxt_qplib_disable_rcfw_channel()
1027 cmdq->cmdq_mbox.reg.bar_reg = NULL; in bnxt_qplib_disable_rcfw_channel()
1028 creq->creq_db.reg.bar_reg = NULL; in bnxt_qplib_disable_rcfw_channel()
1075 resource_size_t bar_reg; in bnxt_qplib_map_cmdq_mbox() local
1091 bar_reg = mbox->reg.bar_base + RCFW_COMM_BASE_OFFSET; in bnxt_qplib_map_cmdq_mbox()
1093 mbox->reg.bar_reg = ioremap(bar_reg, mbox->reg.len); in bnxt_qplib_map_cmdq_mbox()
1094 if (!mbox->reg.bar_reg) { in bnxt_qplib_map_cmdq_mbox()
1101 mbox->prod = (void __iomem *)(mbox->reg.bar_reg + in bnxt_qplib_map_cmdq_mbox()
1103 mbox->db = (void __iomem *)(mbox->reg.bar_reg + RCFW_COMM_TRIG_OFFSET); in bnxt_qplib_map_cmdq_mbox()
[all …]
Dqplib_res.c826 dpit->priv_db = dpit->ucreg.bar_reg + dpit->ucreg.offset; in bnxt_qplib_alloc_dpi_tbl()
911 if (reg->bar_reg) in bnxt_qplib_unmap_db_bar()
912 pci_iounmap(res->pdev, reg->bar_reg); in bnxt_qplib_unmap_db_bar()
913 reg->bar_reg = NULL; in bnxt_qplib_unmap_db_bar()
937 ucreg->bar_reg = ioremap(ucreg->bar_base, ucreg->len); in bnxt_qplib_map_db_bar()
938 if (!ucreg->bar_reg) { in bnxt_qplib_map_db_bar()
Dqplib_res.h143 void __iomem *bar_reg; member
Dqplib_fp.c463 if (nq->nq_db.reg.bar_reg) { in bnxt_qplib_disable_nq()
464 iounmap(nq->nq_db.reg.bar_reg); in bnxt_qplib_disable_nq()
465 nq->nq_db.reg.bar_reg = NULL; in bnxt_qplib_disable_nq()
535 nq_db->reg.bar_reg = ioremap(reg_base, nq_db->reg.len); in bnxt_qplib_map_nq_db()
536 if (!nq_db->reg.bar_reg) { in bnxt_qplib_map_nq_db()
542 nq_db->dbinfo.db = nq_db->reg.bar_reg; in bnxt_qplib_map_nq_db()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c1271 u32 bar_reg = (bar_id == BAR_ID_0 ? in qed_hw_bar_size() local
1278 val = qed_rd(p_hwfn, p_ptt, bar_reg); in qed_hw_bar_size()