Home
last modified time | relevance | path

Searched refs:RCB_REG (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dlpc.c230 clrbits_le32(RCB_REG(0x3f02), 0xf); in pch_power_options()
293 writel(0, RCB_REG(0x33c8)); in cpt_pm_init()
294 setbits_le32(RCB_REG(0x21b0), 0xf); in cpt_pm_init()
338 writel(0, RCB_REG(0x33c8)); in ppt_pm_init()
339 setbits_le32(RCB_REG(0x21b0), 0xf); in ppt_pm_init()
353 setbits_le32(RCB_REG(0x2234), 0xf); in enable_clock_gating()
364 reg32 = readl(RCB_REG(CG)); in enable_clock_gating()
377 writel(reg32, RCB_REG(CG)); in enable_clock_gating()
379 setbits_le32(RCB_REG(0x38c0), 0x7); in enable_clock_gating()
381 setbits_le32(RCB_REG(0x3564), 0x3); in enable_clock_gating()
[all …]
H A Dbd82x6x.c104 data = readl(RCB_REG(IOBPS)); in iobp_poll()
120 writel(address, RCB_REG(IOBPIRI)); in pch_iobp_update()
124 writel(IOBPS_RW_BX, RCB_REG(IOBPS)); in pch_iobp_update()
126 writel(IOBPS_READ_AX, RCB_REG(IOBPS)); in pch_iobp_update()
131 data = readl(RCB_REG(IOBPD)); in pch_iobp_update()
136 if ((readl(RCB_REG(IOBPS)) & 0x6) != 0) { in pch_iobp_update()
147 writel(IOBPS_RW_BX, RCB_REG(IOBPS)); in pch_iobp_update()
149 writel(IOBPS_WRITE_AX, RCB_REG(IOBPS)); in pch_iobp_update()
154 writel(data, RCB_REG(IOBPD)); in pch_iobp_update()
H A Dsdram.c375 writel(NOINT << D30IP_PIP, RCB_REG(D30IP)); in rcba_config()
376 writel(INTA << D29IP_E1P, RCB_REG(D29IP)); in rcba_config()
377 writel(INTA << D28IP_P3IP, RCB_REG(D28IP)); in rcba_config()
378 writel(INTA << D27IP_ZIP, RCB_REG(D27IP)); in rcba_config()
379 writel(INTA << D26IP_E2P, RCB_REG(D26IP)); in rcba_config()
380 writel(NOINT << D25IP_LIP, RCB_REG(D25IP)); in rcba_config()
381 writel(NOINT << D22IP_MEI1IP, RCB_REG(D22IP)); in rcba_config()
384 writel(DIR_ROUTE(PIRQB, PIRQH, PIRQA, PIRQC), RCB_REG(D31IR)); in rcba_config()
393 writew(0x0100, RCB_REG(OIC)); in rcba_config()
395 (void)readw(RCB_REG(OIC)); in rcba_config()
[all …]
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dpch.c51 writew(0x1000, RCB_REG(OIC)); in broadwell_pch_early_init()
53 readw(RCB_REG(OIC)); in broadwell_pch_early_init()
58 readl(RCB_REG(HPTC)); in broadwell_pch_early_init()
62 setbits_le32(RCB_REG(GCS), 1 << 5); in broadwell_pch_early_init()
211 clrbits_le32(RCB_REG(0x232c), 1), in pch_pm_init_magic()
214 writel(0x00012fff, RCB_REG(0x3314)); in pch_pm_init_magic()
216 writel(0x04000000, RCB_REG(0x3324)); in pch_pm_init_magic()
410 reg32 = readl(RCB_REG(CG)); in pch_cg_init()
429 writel(reg32, RCB_REG(CG)); in pch_cg_init()
508 setbits_le32(RCB_REG(ACPIIRQEN), in serialio_init_once()
[all …]
H A Diobp.c35 u16 status = readw(RCB_REG(IOBPS)); in iobp_poll()
51 writel(address, RCB_REG(IOBPIRI)); in pch_iobp_trans_start()
64 writew(IOBPU_MAGIC, RCB_REG(IOBPU)); in pch_iobp_trans_finish()
67 setbits_le16(RCB_REG(IOBPS), IOBPS_READY); in pch_iobp_trans_finish()
73 status = readw(RCB_REG(IOBPS)); in pch_iobp_trans_finish()
90 return readl(RCB_REG(IOBPD)); in pch_iobp_read()
98 writel(data, RCB_REG(IOBPD)); in pch_iobp_write()
128 writel(addr, RCB_REG(IOBPIRI)); in pch_iobp_exec()
132 writel(*data, RCB_REG(IOBPD)); in pch_iobp_exec()
134 setbits_le16(RCB_REG(IOBPS), 1); in pch_iobp_exec()
[all …]
H A Dsata.c110 reg32 = readl(RCB_REG(0x3a84)); in broadwell_sata_init()
117 writel(reg32, RCB_REG(0x3a84)); in broadwell_sata_init()
193 clrsetbits_le32(RCB_REG(0x333c), 0x00300000, 0x00c00000); in broadwell_sata_init()
H A Dadsp.c88 setbits_le32(RCB_REG(0x3350), 1 << 10); in broadwell_adsp_probe()
101 setbits_le32(RCB_REG(ACPIIRQEN), ADSP_ACPI_IRQEN); in broadwell_adsp_probe()
H A Dcpu.c349 pmsync = readl(RCB_REG(PMSYNC_CONFIG)); in configure_pch_power_sharing()
350 pmsync2 = readl(RCB_REG(PMSYNC_CONFIG2)); in configure_pch_power_sharing()
364 writel(pmsync, RCB_REG(PMSYNC_CONFIG)); in configure_pch_power_sharing()
382 writel(pmsync2, RCB_REG(PMSYNC_CONFIG2)); in configure_pch_power_sharing()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcpu.c50 writel(1 << 2, RCB_REG(RC)); in cpu_common_init()
97 clrsetbits_le32(RCB_REG(SOFT_RESET_DATA), 0x3f << 6, in cpu_set_flex_ratio_to_tdp_nominal()
103 setbits_le32(RCB_REG(SOFT_RESET_CTRL), 1); in cpu_set_flex_ratio_to_tdp_nominal()
H A Dlpc.c33 clrbits_le32(RCB_REG(GCS), 4); in enable_port80_on_lpc()
/openbmc/u-boot/arch/x86/include/asm/
H A Dintel_regs.h22 #define RCB_REG(reg) (RCB_BASE_ADDRESS + (reg)) macro
/openbmc/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dspi.h17 #define SPI_REG(x) (RCB_REG(SPIBAR_OFFSET + (x)))
/openbmc/u-boot/drivers/video/
H A Divybridge_igd.c729 writew(0x0010, RCB_REG(DISPBDF)); in gma_func0_init()
730 setbits_le32(RCB_REG(FD2), PCH_ENABLE_DBDF); in gma_func0_init()