Lines Matching full:mmio

147 	void __iomem *mmio;  in gen3_setup_b2b_mw()  local
151 mmio = ndev->self_mmio; in gen3_setup_b2b_mw()
155 iowrite64(bar_addr, mmio + GEN3_IMBAR1XLMT_OFFSET); in gen3_setup_b2b_mw()
156 bar_addr = ioread64(mmio + GEN3_IMBAR1XLMT_OFFSET); in gen3_setup_b2b_mw()
160 iowrite64(bar_addr, mmio + GEN3_IMBAR2XLMT_OFFSET); in gen3_setup_b2b_mw()
161 bar_addr = ioread64(mmio + GEN3_IMBAR2XLMT_OFFSET); in gen3_setup_b2b_mw()
165 iowrite64(0, mmio + GEN3_IMBAR1XBASE_OFFSET); in gen3_setup_b2b_mw()
166 iowrite64(0, mmio + GEN3_IMBAR2XBASE_OFFSET); in gen3_setup_b2b_mw()
259 void __iomem *mmio; in ndev_ntb3_debugfs_read() local
266 mmio = ndev->self_mmio; in ndev_ntb3_debugfs_read()
320 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb3_debugfs_read()
324 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_bell); in ndev_ntb3_debugfs_read()
331 u.v64 = ioread64(mmio + GEN3_IMBAR1XBASE_OFFSET); in ndev_ntb3_debugfs_read()
335 u.v64 = ioread64(mmio + GEN3_IMBAR2XBASE_OFFSET); in ndev_ntb3_debugfs_read()
339 u.v64 = ioread64(mmio + GEN3_IMBAR1XLMT_OFFSET); in ndev_ntb3_debugfs_read()
343 u.v64 = ioread64(mmio + GEN3_IMBAR2XLMT_OFFSET); in ndev_ntb3_debugfs_read()
351 u.v64 = ioread64(mmio + GEN3_EMBAR1XBASE_OFFSET); in ndev_ntb3_debugfs_read()
355 u.v64 = ioread64(mmio + GEN3_EMBAR2XBASE_OFFSET); in ndev_ntb3_debugfs_read()
359 u.v64 = ioread64(mmio + GEN3_EMBAR1XLMT_OFFSET); in ndev_ntb3_debugfs_read()
363 u.v64 = ioread64(mmio + GEN3_EMBAR2XLMT_OFFSET); in ndev_ntb3_debugfs_read()
370 u.v64 = ioread64(mmio + GEN3_EMBAR0_OFFSET); in ndev_ntb3_debugfs_read()
374 u.v64 = ioread64(mmio + GEN3_EMBAR1_OFFSET); in ndev_ntb3_debugfs_read()
378 u.v64 = ioread64(mmio + GEN3_EMBAR2_OFFSET); in ndev_ntb3_debugfs_read()
386 u.v16 = ioread16(mmio + GEN3_USMEMMISS_OFFSET); in ndev_ntb3_debugfs_read()
449 void __iomem *mmio; in intel_ntb3_mw_set_trans() local
478 mmio = ndev->self_mmio; in intel_ntb3_mw_set_trans()
490 iowrite64(addr, mmio + xlat_reg); in intel_ntb3_mw_set_trans()
491 reg_val = ioread64(mmio + xlat_reg); in intel_ntb3_mw_set_trans()
493 iowrite64(0, mmio + xlat_reg); in intel_ntb3_mw_set_trans()
500 iowrite64(limit, mmio + limit_reg); in intel_ntb3_mw_set_trans()
501 reg_val = ioread64(mmio + limit_reg); in intel_ntb3_mw_set_trans()
503 iowrite64(base, mmio + limit_reg); in intel_ntb3_mw_set_trans()
504 iowrite64(0, mmio + xlat_reg); in intel_ntb3_mw_set_trans()
512 base = ioread64(mmio + GEN3_EMBAR1_OFFSET + (8 * idx)); in intel_ntb3_mw_set_trans()
521 iowrite64(limit, mmio + limit_reg); in intel_ntb3_mw_set_trans()
522 reg_val = ioread64(mmio + limit_reg); in intel_ntb3_mw_set_trans()
524 iowrite64(base, mmio + limit_reg); in intel_ntb3_mw_set_trans()
525 iowrite64(0, mmio + xlat_reg); in intel_ntb3_mw_set_trans()