![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
#define DRP_RANK_MASK |
#define IOSF_BYTE_EN (IOSF_BYTE_EN_0 | IOSF_BYTE_EN_1 | IOSF_BYTE_EN_2 | IOSF_BYTE_EN_3) |
#define IOSF_OP_WRITE_0x45 (IOSF_OP_READ_0x45 | 1) |
#define IOSF_OP_WRITE_0x46 (IOSF_OP_READ_0x46 | 1) |
#define IOSF_OP_WRITE_0x47 (IOSF_OP_READ_0x47 | 1) |
#define IOSF_OP_WRITE_0x55 (IOSF_OP_READ_0x55 | 1) |
#define IOSF_OP_WRITE_0x58 (IOSF_OP_READ_0x58 | 1) |
#define IOSF_OP_WRITE_0x59 (IOSF_OP_READ_0x59 | 1) |
#define IOSF_OP_WRITE_0x5a (IOSF_OP_READ_0x5a | 1) |
#define IOSF_OP_WRITE_0xa2 (IOSF_OP_READ_0xa2 | 1) |
#define IOSF_OP_WRITE_AUNIT (IOSF_OP_READ_AUNIT | 1) |
#define IOSF_OP_WRITE_BUNIT (IOSF_OP_READ_BUNIT | 1) |
#define IOSF_OP_WRITE_CCU (IOSF_OP_READ_CCU | 1) |
#define IOSF_OP_WRITE_CPU_BUS (IOSF_OP_READ_CPU_BUS | 1) |
#define IOSF_OP_WRITE_CUNIT (IOSF_OP_READ_CUNIT | 1) |
#define IOSF_OP_WRITE_GFX (IOSF_OP_READ_GFX | 1) |
#define IOSF_OP_WRITE_LPSS (IOSF_OP_READ_LPSS | 1) |
#define IOSF_OP_WRITE_PCIEPHY (IOSF_OP_READ_PCIEPHY | 1) |
#define IOSF_OP_WRITE_PMC (IOSF_OP_READ_PMC | 1) |
#define IOSF_OP_WRITE_SATAPHY (IOSF_OP_READ_SATAPHY | 1) |
#define IOSF_OP_WRITE_SCC (IOSF_OP_READ_SCC | 1) |
#define IOSF_OP_WRITE_SCORE (IOSF_OP_READ_SCORE | 1) |
#define IOSF_OP_WRITE_SEC (IOSF_OP_READ_SEC | 1) |
#define IOSF_OP_WRITE_SSUS (IOSF_OP_READ_SSUS | 1) |
#define IOSF_OP_WRITE_SYSMEMC (IOSF_OP_READ_SYSMEMC | 1) |
#define IOSF_OP_WRITE_SYSMEMIO (IOSF_OP_READ_SYSMEMIO | 1) |
#define IOSF_OP_WRITE_USBPHY (IOSF_OP_READ_USBPHY | 1) |
#define IOSF_OP_WRITE_USHPHY (IOSF_OP_READ_USHPHY | 1) |
#define IOSF_PORT_BUNIT 0x03 /* System Memory Arbiter/Bunit */ |
#define IOSF_PORT_CPU_BUS 0x02 /* CPU Bus Interface Controller */ |
uint32_t iosf_aunit_read | ( | int | reg | ) |
Definition at line 151 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by ssa_safe_config().
Definition at line 156 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by ssa_safe_config().
uint32_t iosf_bunit_read | ( | int | reg | ) |
Definition at line 39 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by nc_read_resources(), nc_read_top_of_low_memory(), pre_mp_init(), smm_region(), smm_region_size(), smm_region_start(), soc_after_ram_init(), and ssa_safe_config().
Definition at line 44 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by pre_mp_init(), soc_after_ram_init(), and ssa_safe_config().
uint32_t iosf_ccu_read | ( | int | reg | ) |
Definition at line 121 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 126 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_cpu_bus_read | ( | int | reg | ) |
Definition at line 161 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by ssa_safe_config().
Definition at line 166 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by ssa_safe_config().
uint32_t iosf_cunit_read | ( | int | reg | ) |
Definition at line 71 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by ssa_safe_config().
Definition at line 76 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by ssa_safe_config().
uint32_t iosf_dunit_ch0_read | ( | int | reg | ) |
Definition at line 54 of file iosf.c.
References iosf_dunit_read().
Referenced by print_dram_info().
uint32_t iosf_dunit_ch1_read | ( | int | reg | ) |
Definition at line 59 of file iosf.c.
References IOSF_OP_READ_SYSMEMC, IOSF_OPCODE, IOSF_PORT, IOSF_PORT_DUNIT_CH1, and iosf_read_port().
Referenced by print_dram_info().
uint32_t iosf_dunit_read | ( | int | reg | ) |
Definition at line 49 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by baytrail_enable_2x_refresh_rate(), iosf_dunit_ch0_read(), and print_dram_info().
Definition at line 66 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by baytrail_enable_2x_refresh_rate().
uint32_t iosf_lpss_read | ( | int | reg | ) |
Definition at line 111 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 116 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port45_read | ( | int | reg | ) |
Definition at line 181 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 186 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port46_read | ( | int | reg | ) |
Definition at line 191 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 196 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port47_read | ( | int | reg | ) |
Definition at line 201 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 206 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port55_read | ( | int | reg | ) |
Definition at line 211 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 216 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port58_read | ( | int | reg | ) |
Definition at line 221 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by soc_legacy().
Definition at line 226 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by soc_legacy().
uint32_t iosf_port59_read | ( | int | reg | ) |
Definition at line 231 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 236 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_port5a_read | ( | int | reg | ) |
Definition at line 241 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 246 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_porta2_read | ( | int | reg | ) |
Definition at line 251 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 256 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_punit_read | ( | int | reg | ) |
Definition at line 81 of file iosf.c.
References IOSF_READ, iosf_read_port(), and PMC.
Referenced by punit_init().
Definition at line 86 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), PMC, and val.
Referenced by punit_init().
Definition at line 18 of file iosf.c.
References IOSF_BYTE_EN, IOSF_REG, IOSF_REG_UPPER, MCR_REG, MCRX_REG, MDR_REG, read_iosf_reg(), and write_iosf_reg().
Referenced by iosf_aunit_read(), iosf_bunit_read(), iosf_ccu_read(), iosf_cpu_bus_read(), iosf_cunit_read(), iosf_dunit_ch1_read(), iosf_dunit_read(), iosf_lpss_read(), iosf_port45_read(), iosf_port46_read(), iosf_port47_read(), iosf_port55_read(), iosf_port58_read(), iosf_port59_read(), iosf_port5a_read(), iosf_porta2_read(), iosf_punit_read(), iosf_scc_read(), iosf_score_read(), iosf_sec_read(), iosf_ssus_read(), iosf_usbphy_read(), iosf_ushphy_read(), and program_modphy_table().
uint32_t iosf_scc_read | ( | int | reg | ) |
Definition at line 141 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 146 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_score_read | ( | int | reg | ) |
Definition at line 131 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Referenced by baytrail_init_scc().
Definition at line 136 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Referenced by baytrail_init_scc().
uint32_t iosf_sec_read | ( | int | reg | ) |
Definition at line 171 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 176 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_ssus_read | ( | int | reg | ) |
Definition at line 261 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 266 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_usbphy_read | ( | int | reg | ) |
Definition at line 91 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 96 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
uint32_t iosf_ushphy_read | ( | int | reg | ) |
Definition at line 101 of file iosf.c.
References IOSF_READ, and iosf_read_port().
Definition at line 106 of file iosf.c.
References IOSF_WRITE, iosf_write_port(), and val.
Definition at line 26 of file iosf.c.
References IOSF_BYTE_EN, IOSF_REG, IOSF_REG_UPPER, MCR_REG, MCRX_REG, MDR_REG, val, and write_iosf_reg().
Referenced by iosf_aunit_write(), iosf_bunit_write(), iosf_ccu_write(), iosf_cpu_bus_write(), iosf_cunit_write(), iosf_dunit_write(), iosf_lpss_write(), iosf_port45_write(), iosf_port46_write(), iosf_port47_write(), iosf_port55_write(), iosf_port58_write(), iosf_port59_write(), iosf_port5a_write(), iosf_porta2_write(), iosf_punit_write(), iosf_scc_write(), iosf_score_write(), iosf_sec_write(), iosf_ssus_write(), iosf_usbphy_write(), iosf_ushphy_write(), and program_modphy_table().