![]() |
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.
Macros | |
#define | IOSF_READ(port) (IOSF_OPCODE(IOSF_OP_READ_##port) | IOSF_PORT(IOSF_PORT_##port)) |
#define | IOSF_WRITE(port) (IOSF_OPCODE(IOSF_OP_WRITE_##port) | IOSF_PORT(IOSF_PORT_##port)) |
#define IOSF_READ | ( | port | ) | (IOSF_OPCODE(IOSF_OP_READ_##port) | IOSF_PORT(IOSF_PORT_##port)) |
#define IOSF_WRITE | ( | port | ) | (IOSF_OPCODE(IOSF_OP_WRITE_##port) | IOSF_PORT(IOSF_PORT_##port)) |
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_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_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_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.
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_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_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().
|
inlinestatic |
Definition at line 12 of file iosf.c.
References IOSF_PCI_DEV, and pci_s_read_config32().
Referenced by iosf_read_port().
Definition at line 7 of file iosf.c.
References IOSF_PCI_DEV, pci_s_write_config32(), and value.
Referenced by iosf_read_port(), and iosf_write_port().