Lines Matching refs:self_mmio

57 	iowrite16(GEN4_SLOTSTS_DLLSCS, ndev->self_mmio + GEN4_SLOTSTS);  in gen4_poll_link()
59 ndev->self_mmio + in gen4_poll_link()
62 reg_val = ioread16(ndev->self_mmio + GEN4_LINK_STATUS_OFFSET); in gen4_poll_link()
88 iowrite8(i, ndev->self_mmio + GEN4_INTVEC_OFFSET + i); in gen4_init_isr()
105 mmio = ndev->self_mmio; in gen4_setup_b2b_mw()
122 ndev->peer_mmio = ndev->self_mmio; in gen4_setup_b2b_mw()
153 ndev->self_mmio + in gen4_init_ntb()
197 ppd1 = ioread32(ndev->self_mmio + GEN4_PPD1_OFFSET); in gen4_init_dev()
212 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
214 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
230 mmio = ndev->self_mmio; in ndev_ntb4_debugfs_read()
378 mmio = ndev->self_mmio; in intel_ntb4_mw_set_trans()
458 iowrite32(ltr, ndev->self_mmio + GEN4_LTR_ACTIVE_OFFSET); in intel_ntb4_link_enable()
464 iowrite32(ltr, ndev->self_mmio + GEN4_LTR_IDLE_OFFSET); in intel_ntb4_link_enable()
467 iowrite8(NTB_LTR_SWSEL_ACTIVE, ndev->self_mmio + GEN4_LTR_SWSEL_OFFSET); in intel_ntb4_link_enable()
472 iowrite32(ntb_ctl, ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb4_link_enable()
474 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
476 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
479 ppd0 = ioread32(ndev->self_mmio + GEN4_PPD0_OFFSET); in intel_ntb4_link_enable()
481 iowrite32(ppd0, ndev->self_mmio + GEN4_PPD0_OFFSET); in intel_ntb4_link_enable()
484 ppd0 = ioread32(ndev->self_mmio + GEN4_PPD0_OFFSET); in intel_ntb4_link_enable()
506 ntb_cntl = ioread32(ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb4_link_disable()
509 iowrite32(ntb_cntl, ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb4_link_disable()
511 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_disable()
513 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_disable()
517 iowrite8(NTB_LTR_SWSEL_IDLE, ndev->self_mmio + GEN4_LTR_SWSEL_OFFSET); in intel_ntb4_link_disable()