Searched refs:ntb_ctl (Results 1 – 5 of 5) sorted by relevance
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen3.c | 69 .ntb_ctl = GEN3_NTBCNTL_OFFSET, 284 "NTB CTL -\t\t%#06x\n", ndev->ntb_ctl); in ndev_ntb3_debugfs_read() 422 u32 ntb_ctl; in intel_ntb3_link_enable() local 435 ntb_ctl = ioread32(ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb3_link_enable() 436 ntb_ctl &= ~(NTB_CTL_DISABLE | NTB_CTL_CFG_LOCK); in intel_ntb3_link_enable() 437 ntb_ctl |= NTB_CTL_P2S_BAR2_SNOOP | NTB_CTL_S2P_BAR2_SNOOP; in intel_ntb3_link_enable() 438 ntb_ctl |= NTB_CTL_P2S_BAR4_SNOOP | NTB_CTL_S2P_BAR4_SNOOP; in intel_ntb3_link_enable() 439 iowrite32(ntb_ctl, ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb3_link_enable()
|
D | ntb_hw_gen4.c | 28 .ntb_ctl = GEN4_NTBCNTL_OFFSET, 248 "NTB CTL -\t\t%#06x\n", ndev->ntb_ctl); in ndev_ntb4_debugfs_read() 435 u32 ntb_ctl, ppd0; in intel_ntb4_link_enable() local 470 ntb_ctl = NTB_CTL_E2I_BAR23_SNOOP | NTB_CTL_I2E_BAR23_SNOOP; in intel_ntb4_link_enable() 471 ntb_ctl |= NTB_CTL_E2I_BAR45_SNOOP | NTB_CTL_I2E_BAR45_SNOOP; in intel_ntb4_link_enable() 472 iowrite32(ntb_ctl, ndev->self_mmio + ndev->reg->ntb_ctl); 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()
|
D | ntb_hw_gen1.c | 533 "NTB CTL -\t\t%#06x\n", ndev->ntb_ctl); in ndev_ntb_debugfs_read() 970 u32 ntb_ctl; in intel_ntb_link_enable() local 985 ntb_ctl = ioread32(ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb_link_enable() 986 ntb_ctl &= ~(NTB_CTL_DISABLE | NTB_CTL_CFG_LOCK); in intel_ntb_link_enable() 987 ntb_ctl |= NTB_CTL_P2S_BAR2_SNOOP | NTB_CTL_S2P_BAR2_SNOOP; in intel_ntb_link_enable() 988 ntb_ctl |= NTB_CTL_P2S_BAR4_SNOOP | NTB_CTL_S2P_BAR4_SNOOP; in intel_ntb_link_enable() 990 ntb_ctl |= NTB_CTL_P2S_BAR5_SNOOP | NTB_CTL_S2P_BAR5_SNOOP; in intel_ntb_link_enable() 991 iowrite32(ntb_ctl, ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb_link_enable() 1009 ntb_cntl = ioread32(ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb_link_disable() 1015 iowrite32(ntb_cntl, ndev->self_mmio + ndev->reg->ntb_ctl); in intel_ntb_link_disable() [all …]
|
D | ntb_hw_intel.h | 106 unsigned long ntb_ctl; member 149 u32 ntb_ctl; member
|
/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 1037 u32 ntb_ctl; in amd_init_side_info() local 1041 ntb_ctl = readl(mmio + AMD_CNTL_OFFSET); in amd_init_side_info() 1042 ntb_ctl |= (PMM_REG_CTL | SMM_REG_CTL); in amd_init_side_info() 1043 writel(ntb_ctl, mmio + AMD_CNTL_OFFSET); in amd_init_side_info() 1049 u32 ntb_ctl; in amd_deinit_side_info() local 1053 ntb_ctl = readl(mmio + AMD_CNTL_OFFSET); in amd_deinit_side_info() 1054 ntb_ctl &= ~(PMM_REG_CTL | SMM_REG_CTL); in amd_deinit_side_info() 1055 writel(ntb_ctl, mmio + AMD_CNTL_OFFSET); in amd_deinit_side_info()
|