Home
last modified time | relevance | path

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

/external/u-boot/arch/x86/cpu/ivybridge/
Dnorthbridge.c114 bridge_type = readl(MCHBAR_REG(0x5f10)); in northbridge_init()
119 clrsetbits_8(MCHBAR_REG(0x5418), 0xf, 0x4); in northbridge_init()
127 writel(bridge_type, MCHBAR_REG(0x5f10)); in northbridge_init()
133 setbits_8(MCHBAR_REG(BIOS_RESET_CPL), 1); in northbridge_init()
147 writel(msr.lo, MCHBAR_REG(0x59A0)); in northbridge_init()
148 writel(msr.hi, MCHBAR_REG(0x59A4)); in northbridge_init()
152 writel(0x00100001, MCHBAR_REG(0x5500)); in northbridge_init()
196 writel(IOMMU_BASE1 >> 32, MCHBAR_REG(0x5404)); in sandybridge_init_iommu()
197 writel(IOMMU_BASE1 | 1, MCHBAR_REG(0x5400)); in sandybridge_init_iommu()
198 writel(IOMMU_BASE2 >> 32, MCHBAR_REG(0x5414)); in sandybridge_init_iommu()
[all …]
Dcpu.c137 if (readl(MCHBAR_REG(SSKPD)) == 0xCAFE) { in checkcpu()
Dsdram.c199 setbits_le32(MCHBAR_REG(0x7010), 1); in post_system_agent_init()
552 writew(0xCAFE, MCHBAR_REG(SSKPD)); in dram_init()
/external/u-boot/drivers/video/
Divybridge_igd.c316 u32 unit = readl(MCHBAR_REG(0x5938)) & 0xf; in gma_pm_init_pre_vbios()
324 u32 tdp = readl(MCHBAR_REG(0x5930)) & 0x7fff; in gma_pm_init_pre_vbios()
440 reg32 = readl(MCHBAR_REG(0x5998)); in gma_pm_init_pre_vbios()
696 reg32 = readl(MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
698 writel(reg32, MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
701 reg32 = readl(MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
702 writel(reg32 | 1, MCHBAR_REG(0x5f00)); in sandybridge_setup_graphics()
705 reg32 = readl(MCHBAR_REG(0x5d14)); in sandybridge_setup_graphics()
707 writel(reg32, MCHBAR_REG(0x5d14)); in sandybridge_setup_graphics()
710 reg32 = readl(MCHBAR_REG(0x6120)); in sandybridge_setup_graphics()
[all …]
Dbroadwell_igd.c593 rp1_gfx_freq = (readl(MCHBAR_REG(0x5998)) >> 8) & 0xff; in igd_pre_init()
/external/u-boot/arch/x86/cpu/broadwell/
Dcpu_full.c103 if (!(readl(MCHBAR_REG(BIOS_MAILBOX_INTERFACE)) & in pcode_ready()
124 writel(command | MAILBOX_RUN_BUSY, MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in pcode_mailbox_read()
133 return readl(MCHBAR_REG(BIOS_MAILBOX_DATA)); in pcode_mailbox_read()
146 writel(data, MCHBAR_REG(BIOS_MAILBOX_DATA)); in pcode_mailbox_write()
149 writel(command | MAILBOX_RUN_BUSY, MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in pcode_mailbox_write()
243 writel(~0, MCHBAR_REG(BIOS_MAILBOX_DATA)); in calibrate_24mhz_bclk()
245 MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in calibrate_24mhz_bclk()
251 err_code = readl(MCHBAR_REG(BIOS_MAILBOX_INTERFACE)) & 0xff; in calibrate_24mhz_bclk()
257 MCHBAR_REG(BIOS_MAILBOX_INTERFACE)); in calibrate_24mhz_bclk()
264 readl(MCHBAR_REG(BIOS_MAILBOX_DATA))); in calibrate_24mhz_bclk()
[all …]
Dpch.c446 clrsetbits_8(MCHBAR_REG(MCH_PAIR), 0x7, 0x4); /* Fixed Priority */ in systemagent_init()
452 setbits_8(MCHBAR_REG(BIOS_RESET_CPL), 3); in systemagent_init()
/external/u-boot/arch/x86/cpu/intel_common/
Dmrc.c102 addr_decoder_common = readl(MCHBAR_REG(0x5000)); in report_memory_config()
103 addr_decode_ch[0] = readl(MCHBAR_REG(0x5004)); in report_memory_config()
104 addr_decode_ch[1] = readl(MCHBAR_REG(0x5008)); in report_memory_config()
107 (readl(MCHBAR_REG(0x5e04)) * 13333 * 2 + 50) / 100); in report_memory_config()
241 version = readl(MCHBAR_REG(MCHBAR_PEI_VERSION)); in sdram_initialise()
/external/u-boot/arch/x86/include/asm/
Dintel_regs.h12 #define MCHBAR_REG(reg) (MCH_BASE_ADDRESS + (reg)) macro