Home
last modified time | relevance | path

Searched refs:MCHBAR_REG (Results 1 – 14 of 14) sorted by relevance

/u-boot/arch/x86/cpu/ivybridge/
A Dnorthbridge.c117 bridge_type = readl(MCHBAR_REG(0x5f10)); in northbridge_init()
122 clrsetbits_8(MCHBAR_REG(0x5418), 0xf, 0x4); in northbridge_init()
130 writel(bridge_type, MCHBAR_REG(0x5f10)); in northbridge_init()
136 setbits_8(MCHBAR_REG(BIOS_RESET_CPL), 1); in northbridge_init()
150 writel(msr.lo, MCHBAR_REG(0x59A0)); in northbridge_init()
151 writel(msr.hi, MCHBAR_REG(0x59A4)); in northbridge_init()
155 writel(0x00100001, MCHBAR_REG(0x5500)); in northbridge_init()
199 writel(IOMMU_BASE1 >> 32, MCHBAR_REG(0x5404)); in sandybridge_init_iommu()
200 writel(IOMMU_BASE1 | 1, MCHBAR_REG(0x5400)); in sandybridge_init_iommu()
201 writel(IOMMU_BASE2 >> 32, MCHBAR_REG(0x5414)); in sandybridge_init_iommu()
[all …]
A Dcpu.c140 if (readl(MCHBAR_REG(SSKPD)) == 0xCAFE) { in checkcpu()
A Dsdram.c201 setbits_le32(MCHBAR_REG(0x7010), 1); in post_system_agent_init()
556 writew(0xCAFE, MCHBAR_REG(SSKPD)); in dram_init()
/u-boot/arch/x86/cpu/apollolake/
A Dpunit.c39 writel(0, MCHBAR_REG(CORE_DISABLE_MASK)); in punit_init()
42 reg = readl(MCHBAR_REG(BIOS_RESET_CPL)); in punit_init()
55 MCHBAR_REG(PUNIT_THERMAL_DEVICE_IRQ)); in punit_init()
66 while (!(readl(MCHBAR_REG(BIOS_RESET_CPL)) & PCODE_INIT_DONE)) { in punit_init()
A Dacpi.c163 u64 gfxvtbar = readq(MCHBAR_REG(GFXVTBAR)) & VTBAR_MASK; in apl_acpi_fill_dmar()
164 u64 defvtbar = readq(MCHBAR_REG(DEFVTBAR)) & VTBAR_MASK; in apl_acpi_fill_dmar()
165 bool gfxvten = readl(MCHBAR_REG(GFXVTBAR)) & VTBAR_ENABLED; in apl_acpi_fill_dmar()
166 bool defvten = readl(MCHBAR_REG(DEFVTBAR)) & VTBAR_ENABLED; in apl_acpi_fill_dmar()
A Dsystemagent.c22 setbits_8(MCHBAR_REG(BIOS_RESET_CPL), 3); in enable_bios_reset_cpl()
A Dfsp_s.c129 writel(limit.lo & ~PKG_POWER_LIMIT_EN, MCHBAR_REG(MCHBAR_RAPL_PPL)); in set_power_limits()
130 writel(limit.hi & ~PKG_POWER_LIMIT_EN, MCHBAR_REG(MCHBAR_RAPL_PPL + 4)); in set_power_limits()
A Dhostbridge.c290 !(readl(MCHBAR_REG(DEFVTBAR)) & VTBAR_ENABLED)) in apl_acpi_hb_write_tables()
/u-boot/drivers/video/
A Divybridge_igd.c444 reg32 = readl(MCHBAR_REG(0x5998)); in gma_pm_init_pre_vbios()
700 reg32 = readl(MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
702 writel(reg32, MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
705 reg32 = readl(MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
706 writel(reg32 | 1, MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
709 reg32 = readl(MCHBAR_REG(0x5d14)); in sandybridge_setup_graphics()
711 writel(reg32, MCHBAR_REG(0x5d14)); in sandybridge_setup_graphics()
714 reg32 = readl(MCHBAR_REG(0x6120)); in sandybridge_setup_graphics()
716 writel(reg32, MCHBAR_REG(0x6120)); in sandybridge_setup_graphics()
718 reg32 = readl(MCHBAR_REG(0x5418)); in sandybridge_setup_graphics()
[all …]
A Dbroadwell_igd.c598 rp1_gfx_freq = (readl(MCHBAR_REG(0x5998)) >> 8) & 0xff; in igd_pre_init()
/u-boot/arch/x86/cpu/broadwell/
A Dcpu_full.c107 if (!(readl(MCHBAR_REG(BIOS_MAILBOX_INTERFACE)) & in pcode_ready()
137 return readl(MCHBAR_REG(BIOS_MAILBOX_DATA)); in pcode_mailbox_read()
150 writel(data, MCHBAR_REG(BIOS_MAILBOX_DATA)); in pcode_mailbox_write()
247 writel(~0, MCHBAR_REG(BIOS_MAILBOX_DATA)); in calibrate_24mhz_bclk()
249 MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in calibrate_24mhz_bclk()
261 MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in calibrate_24mhz_bclk()
268 readl(MCHBAR_REG(BIOS_MAILBOX_DATA))); in calibrate_24mhz_bclk()
613 writel(limit.lo, MCHBAR_REG(MCH_PKG_POWER_LIMIT_LO)); in cpu_set_power_limits()
614 writel(limit.hi, MCHBAR_REG(MCH_PKG_POWER_LIMIT_HI)); in cpu_set_power_limits()
617 msr.lo = readl(MCHBAR_REG(MCH_DDR_POWER_LIMIT_LO)); in cpu_set_power_limits()
[all …]
A Dpch.c449 clrsetbits_8(MCHBAR_REG(MCH_PAIR), 0x7, 0x4); /* Fixed Priority */ in systemagent_init()
455 setbits_8(MCHBAR_REG(BIOS_RESET_CPL), 3); in systemagent_init()
/u-boot/arch/x86/cpu/intel_common/
A Dmrc.c104 addr_decoder_common = readl(MCHBAR_REG(0x5000)); in report_memory_config()
105 addr_decode_ch[0] = readl(MCHBAR_REG(0x5004)); in report_memory_config()
106 addr_decode_ch[1] = readl(MCHBAR_REG(0x5008)); in report_memory_config()
109 (readl(MCHBAR_REG(0x5e04)) * 13333 * 2 + 50) / 100); in report_memory_config()
243 version = readl(MCHBAR_REG(MCHBAR_PEI_VERSION)); in sdram_initialise()
/u-boot/arch/x86/include/asm/
A Dintel_regs.h12 #define MCHBAR_REG(reg) (MCH_BASE_ADDRESS + (reg)) macro

Completed in 32 milliseconds