Lines Matching refs:bar_reg
1024 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()
1110 resource_size_t bar_reg; in bnxt_qplib_map_creq_db() local
1124 bar_reg = creq_db->reg.bar_base + reg_offt; in bnxt_qplib_map_creq_db()
1127 creq_db->reg.bar_reg = ioremap(bar_reg, creq_db->reg.len); in bnxt_qplib_map_creq_db()
1128 if (!creq_db->reg.bar_reg) { in bnxt_qplib_map_creq_db()
1134 creq_db->dbinfo.db = creq_db->reg.bar_reg; in bnxt_qplib_map_creq_db()
1161 __iowrite32_copy(mbox->reg.bar_reg, &init, sizeof(init) / 4); in bnxt_qplib_start_rcfw()