coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpimmio.h File Reference
#include <device/mmio.h>
#include <types.h>
Include dependency graph for acpimmio.h:

Go to the source code of this file.

Macros

#define PM_INDEX   0xcd6
 
#define PM_DATA   0xcd7
 
#define PM_DECODE_EN   0x00
 
#define HPET_MSI_EN   (1 << 29)
 
#define HPET_WIDTH_SEL   (1 << 28) /* 0=32bit, 1=64bit */
 
#define SMBUS_ASF_IO_BASE_SHIFT   8
 
#define SMBUS_ASF_IO_BASE_MASK   (0xff << SMBUS_ASF_IO_BASE_SHIFT)
 
#define HPET_EN   (1 << 6) /* decode HPET MMIO at 0xfed00000 */
 
#define FCH_IOAPIC_EN   (1 << 5)
 
#define SMBUS_ASF_IO_EN   (1 << 4)
 
#define LEGACY_DMA_IO_80_EN   (1 << 3) /* pass 0x80-0x83 to legacy DMA IO range */
 
#define LEGACY_DMA_IO_EN   (1 << 2)
 
#define CF9_IO_EN   (1 << 1)
 
#define LEGACY_IO_EN   (1 << 0)
 
#define PM_ESPI_INTR_CTRL   0x40
 
#define PM_ESPI_DEV_INTR_MASK   0x00FFFFFF
 
#define PM_RST_CTRL1   0xbe
 
#define SLPTYPE_CONTROL_EN   (1 << 5)
 
#define KBRSTEN   (1 << 4)
 
#define PM_RST_STATUS   0xc0
 
#define ACPIMMIO_DECODE_REGISTER_24   0x24
 
#define PM_24_ACPIMMIO_DECODE_EN   BIT(0)
 
#define ACPIMMIO_DECODE_REGISTER_04   0x04
 
#define PM_04_BIOSRAM_DECODE_EN   BIT(0)
 
#define PM_04_ACPIMMIO_DECODE_EN   BIT(1)
 
#define CONSTANT_ACPIMMIO_BASE_ADDRESS   ENV_X86
 
#define MAYBE_CONST
 

Functions

void enable_acpimmio_decode_pm24 (void)
 
void enable_acpimmio_decode_pm04 (void)
 
void fch_enable_cf9_io (void)
 
void fch_enable_legacy_io (void)
 
void fch_disable_legacy_dma_io (void)
 
void fch_io_enable_legacy_io (void)
 
void fch_enable_ioapic_decode (void)
 
void fch_configure_hpet (void)
 
void fch_disable_kb_rst (void)
 
uint8_t pm_io_read8 (uint8_t reg)
 
uint16_t pm_io_read16 (uint8_t reg)
 
uint32_t pm_io_read32 (uint8_t reg)
 
void pm_io_write8 (uint8_t reg, uint8_t value)
 
void pm_io_write16 (uint8_t reg, uint16_t value)
 
void pm_io_write32 (uint8_t reg, uint32_t value)
 
void fch_print_pmxc0_status (void)
 
static uint8_t sm_pci_read8 (uint8_t reg)
 
static uint16_t sm_pci_read16 (uint8_t reg)
 
static uint32_t sm_pci_read32 (uint8_t reg)
 
static void sm_pci_write8 (uint8_t reg, uint8_t value)
 
static void sm_pci_write16 (uint8_t reg, uint16_t value)
 
static void sm_pci_write32 (uint8_t reg, uint32_t value)
 
static uint8_t smi_read8 (uint8_t reg)
 
static uint16_t smi_read16 (uint8_t reg)
 
static uint32_t smi_read32 (uint8_t reg)
 
static void smi_write8 (uint8_t reg, uint8_t value)
 
static void smi_write16 (uint8_t reg, uint16_t value)
 
static void smi_write32 (uint8_t reg, uint32_t value)
 
static uint8_t pm_read8 (uint8_t reg)
 
static uint16_t pm_read16 (uint8_t reg)
 
static uint32_t pm_read32 (uint8_t reg)
 
static void pm_write8 (uint8_t reg, uint8_t value)
 
static void pm_write16 (uint8_t reg, uint16_t value)
 
static void pm_write32 (uint8_t reg, uint32_t value)
 
static uint8_t pm2_read8 (uint8_t reg)
 
static void pm2_write8 (uint8_t reg, uint8_t value)
 
static uint8_t acpi_read8 (uint8_t reg)
 
static uint16_t acpi_read16 (uint8_t reg)
 
static uint32_t acpi_read32 (uint8_t reg)
 
static void acpi_write8 (uint8_t reg, uint8_t value)
 
static void acpi_write16 (uint8_t reg, uint16_t value)
 
static void acpi_write32 (uint8_t reg, uint32_t value)
 
static uint8_t asf_read8 (uint8_t reg)
 
static void asf_write8 (uint8_t reg, uint8_t value)
 
static uint8_t smbus_read8 (uint8_t reg)
 
static void smbus_write8 (uint8_t reg, uint8_t value)
 
static uint8_t misc_read8 (uint8_t reg)
 
static uint16_t misc_read16 (uint8_t reg)
 
static uint32_t misc_read32 (uint8_t reg)
 
static void misc_write8 (uint8_t reg, uint8_t value)
 
static void misc_write16 (uint8_t reg, uint16_t value)
 
static void misc_write32 (uint8_t reg, uint32_t value)
 
static uint8_t xhci_pm_read8 (uint8_t reg)
 
static uint16_t xhci_pm_read16 (uint8_t reg)
 
static uint32_t xhci_pm_read32 (uint8_t reg)
 
static void xhci_pm_write8 (uint8_t reg, uint8_t value)
 
static void xhci_pm_write16 (uint8_t reg, uint16_t value)
 
static void xhci_pm_write32 (uint8_t reg, uint32_t value)
 
static uint8_t aoac_read8 (uint8_t reg)
 
static void aoac_write8 (uint8_t reg, uint8_t value)
 

Variables

uint8_t *MAYBE_CONST acpimmio_gpio_100
 
uint8_t *MAYBE_CONST acpimmio_sm_pci
 
uint8_t *MAYBE_CONST acpimmio_smi
 
uint8_t *MAYBE_CONST acpimmio_pmio
 
uint8_t *MAYBE_CONST acpimmio_pmio2
 
uint8_t *MAYBE_CONST acpimmio_biosram
 
uint8_t *MAYBE_CONST acpimmio_cmosram
 
uint8_t *MAYBE_CONST acpimmio_cmos
 
uint8_t *MAYBE_CONST acpimmio_acpi
 
uint8_t *MAYBE_CONST acpimmio_asf
 
uint8_t *MAYBE_CONST acpimmio_smbus
 
uint8_t *MAYBE_CONST acpimmio_wdt
 
uint8_t *MAYBE_CONST acpimmio_hpet
 
uint8_t *MAYBE_CONST acpimmio_iomux
 
uint8_t *MAYBE_CONST acpimmio_misc
 
uint8_t *MAYBE_CONST acpimmio_remote_gpio
 
uint8_t *MAYBE_CONST acpimmio_dpvga
 
uint8_t *MAYBE_CONST acpimmio_gpio0
 
uint8_t *MAYBE_CONST acpimmio_xhci_pm
 
uint8_t *MAYBE_CONST acpimmio_acdc_tmr
 
uint8_t *MAYBE_CONST acpimmio_aoac
 

Macro Definition Documentation

◆ ACPIMMIO_DECODE_REGISTER_04

#define ACPIMMIO_DECODE_REGISTER_04   0x04

Definition at line 45 of file acpimmio.h.

◆ ACPIMMIO_DECODE_REGISTER_24

#define ACPIMMIO_DECODE_REGISTER_24   0x24

Definition at line 42 of file acpimmio.h.

◆ CF9_IO_EN

#define CF9_IO_EN   (1 << 1)

Definition at line 27 of file acpimmio.h.

◆ CONSTANT_ACPIMMIO_BASE_ADDRESS

#define CONSTANT_ACPIMMIO_BASE_ADDRESS   ENV_X86

Definition at line 50 of file acpimmio.h.

◆ FCH_IOAPIC_EN

#define FCH_IOAPIC_EN   (1 << 5)

Definition at line 23 of file acpimmio.h.

◆ HPET_EN

#define HPET_EN   (1 << 6) /* decode HPET MMIO at 0xfed00000 */

Definition at line 22 of file acpimmio.h.

◆ HPET_MSI_EN

#define HPET_MSI_EN   (1 << 29)

Definition at line 18 of file acpimmio.h.

◆ HPET_WIDTH_SEL

#define HPET_WIDTH_SEL   (1 << 28) /* 0=32bit, 1=64bit */

Definition at line 19 of file acpimmio.h.

◆ KBRSTEN

#define KBRSTEN   (1 << 4)

Definition at line 33 of file acpimmio.h.

◆ LEGACY_DMA_IO_80_EN

#define LEGACY_DMA_IO_80_EN   (1 << 3) /* pass 0x80-0x83 to legacy DMA IO range */

Definition at line 25 of file acpimmio.h.

◆ LEGACY_DMA_IO_EN

#define LEGACY_DMA_IO_EN   (1 << 2)

Definition at line 26 of file acpimmio.h.

◆ LEGACY_IO_EN

#define LEGACY_IO_EN   (1 << 0)

Definition at line 28 of file acpimmio.h.

◆ MAYBE_CONST

#define MAYBE_CONST

Definition at line 55 of file acpimmio.h.

◆ PM_04_ACPIMMIO_DECODE_EN

#define PM_04_ACPIMMIO_DECODE_EN   BIT(1)

Definition at line 47 of file acpimmio.h.

◆ PM_04_BIOSRAM_DECODE_EN

#define PM_04_BIOSRAM_DECODE_EN   BIT(0)

Definition at line 46 of file acpimmio.h.

◆ PM_24_ACPIMMIO_DECODE_EN

#define PM_24_ACPIMMIO_DECODE_EN   BIT(0)

Definition at line 43 of file acpimmio.h.

◆ PM_DATA

#define PM_DATA   0xcd7

Definition at line 11 of file acpimmio.h.

◆ PM_DECODE_EN

#define PM_DECODE_EN   0x00

Definition at line 17 of file acpimmio.h.

◆ PM_ESPI_DEV_INTR_MASK

#define PM_ESPI_DEV_INTR_MASK   0x00FFFFFF

Definition at line 30 of file acpimmio.h.

◆ PM_ESPI_INTR_CTRL

#define PM_ESPI_INTR_CTRL   0x40

Definition at line 29 of file acpimmio.h.

◆ PM_INDEX

#define PM_INDEX   0xcd6

Definition at line 10 of file acpimmio.h.

◆ PM_RST_CTRL1

#define PM_RST_CTRL1   0xbe

Definition at line 31 of file acpimmio.h.

◆ PM_RST_STATUS

#define PM_RST_STATUS   0xc0

Definition at line 34 of file acpimmio.h.

◆ SLPTYPE_CONTROL_EN

#define SLPTYPE_CONTROL_EN   (1 << 5)

Definition at line 32 of file acpimmio.h.

◆ SMBUS_ASF_IO_BASE_MASK

#define SMBUS_ASF_IO_BASE_MASK   (0xff << SMBUS_ASF_IO_BASE_SHIFT)

Definition at line 21 of file acpimmio.h.

◆ SMBUS_ASF_IO_BASE_SHIFT

#define SMBUS_ASF_IO_BASE_SHIFT   8

Definition at line 20 of file acpimmio.h.

◆ SMBUS_ASF_IO_EN

#define SMBUS_ASF_IO_EN   (1 << 4)

Definition at line 24 of file acpimmio.h.

Function Documentation

◆ acpi_read16()

static uint16_t acpi_read16 ( uint8_t  reg)
inlinestatic

Definition at line 211 of file acpimmio.h.

References acpimmio_acpi, and read16().

Referenced by acpi_clear_pm_gpe_status(), acpi_fill_pm_gpe_state(), acpi_get_sleep_type(), fch_slp_typ_handler(), platform_is_resuming(), and set_pm1cnt_s5().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpi_read32()

static uint32_t acpi_read32 ( uint8_t  reg)
inlinestatic

Definition at line 216 of file acpimmio.h.

References acpimmio_acpi, and read32().

Referenced by acpi_clear_pm_gpe_status(), acpi_disable_sci(), acpi_enable_sci(), acpi_fill_pm_gpe_state(), and fch_slp_typ_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpi_read8()

static uint8_t acpi_read8 ( uint8_t  reg)
inlinestatic

Definition at line 206 of file acpimmio.h.

References acpimmio_acpi, and read8().

Here is the call graph for this function:

◆ acpi_write16()

static void acpi_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 226 of file acpimmio.h.

References acpimmio_acpi, value, and write16().

Referenced by acpi_clear_pm_gpe_status(), and set_pm1cnt_s5().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpi_write32()

static void acpi_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

Definition at line 231 of file acpimmio.h.

References acpimmio_acpi, value, and write32().

Referenced by acpi_clear_pm_gpe_status(), acpi_disable_sci(), acpi_enable_sci(), and poweroff().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpi_write8()

static void acpi_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 221 of file acpimmio.h.

References acpimmio_acpi, value, and write8().

Here is the call graph for this function:

◆ aoac_read8()

static uint8_t aoac_read8 ( uint8_t  reg)
inlinestatic

Definition at line 316 of file acpimmio.h.

References acpimmio_aoac, and read8().

Referenced by is_aoac_device_enabled(), power_off_aoac_device(), and power_on_aoac_device().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aoac_write8()

static void aoac_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 321 of file acpimmio.h.

References acpimmio_aoac, value, and write8().

Referenced by power_off_aoac_device(), and power_on_aoac_device().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ asf_read8()

static uint8_t asf_read8 ( uint8_t  reg)
inlinestatic

Definition at line 236 of file acpimmio.h.

References acpimmio_asf, and read8().

Here is the call graph for this function:

◆ asf_write8()

static void asf_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 241 of file acpimmio.h.

References acpimmio_asf, value, and write8().

Referenced by fch_smbus_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable_acpimmio_decode_pm04()

void enable_acpimmio_decode_pm04 ( void  )

Definition at line 54 of file mmio_util.c.

References ACPIMMIO_DECODE_REGISTER_04, PM_04_ACPIMMIO_DECODE_EN, pm_io_read32(), and pm_io_write32().

Referenced by bootblock_early_southbridge_init(), bootblock_fch_early_init(), and fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable_acpimmio_decode_pm24()

void enable_acpimmio_decode_pm24 ( void  )

Definition at line 45 of file mmio_util.c.

References ACPIMMIO_DECODE_REGISTER_24, PM_24_ACPIMMIO_DECODE_EN, pm_io_read32(), and pm_io_write32().

Referenced by bootblock_early_southbridge_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_configure_hpet()

void fch_configure_hpet ( void  )

Definition at line 89 of file mmio_util.c.

References HPET_EN, HPET_MSI_EN, HPET_WIDTH_SEL, PM_DECODE_EN, pm_read32(), and pm_write32().

Referenced by lpc_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_disable_kb_rst()

void fch_disable_kb_rst ( void  )

Definition at line 97 of file mmio_util.c.

References KBRSTEN, pm_read8(), PM_RST_CTRL1, and pm_write8().

Referenced by bootblock_fch_early_init(), and fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_disable_legacy_dma_io()

void fch_disable_legacy_dma_io ( void  )

Definition at line 73 of file mmio_util.c.

References LEGACY_DMA_IO_80_EN, LEGACY_DMA_IO_EN, PM_DECODE_EN, pm_read32(), and pm_write32().

Referenced by car_stage_entry(), and fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_enable_cf9_io()

void fch_enable_cf9_io ( void  )

Definition at line 63 of file mmio_util.c.

References CF9_IO_EN, PM_DECODE_EN, pm_read32(), and pm_write32().

Referenced by bootblock_fch_early_init(), and fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_enable_ioapic_decode()

void fch_enable_ioapic_decode ( void  )

Definition at line 84 of file mmio_util.c.

References FCH_IOAPIC_EN, PM_DECODE_EN, pm_read32(), and pm_write32().

Referenced by fch_ioapic_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_enable_legacy_io()

void fch_enable_legacy_io ( void  )

Definition at line 68 of file mmio_util.c.

References LEGACY_IO_EN, PM_DECODE_EN, pm_read32(), and pm_write32().

Referenced by bootblock_fch_early_init(), and fch_pre_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_io_enable_legacy_io()

void fch_io_enable_legacy_io ( void  )

Definition at line 79 of file mmio_util.c.

References LEGACY_IO_EN, PM_DECODE_EN, pm_io_read32(), and pm_io_write32().

Referenced by Main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fch_print_pmxc0_status()

void fch_print_pmxc0_status ( void  )

Definition at line 24 of file print_reset_status.c.

References ARRAY_SIZE, BIOS_DEBUG, pm_read32(), PM_RST_STATUS, print_num_status_bits(), and printk.

Referenced by bootblock_fch_init(), and fch_early_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ misc_read16()

static uint16_t misc_read16 ( uint8_t  reg)
inlinestatic

Definition at line 261 of file acpimmio.h.

References acpimmio_misc, and read16().

Here is the call graph for this function:

◆ misc_read32()

static uint32_t misc_read32 ( uint8_t  reg)
inlinestatic

◆ misc_read8()

static uint8_t misc_read8 ( uint8_t  reg)
inlinestatic

Definition at line 256 of file acpimmio.h.

References acpimmio_misc, and read8().

Here is the call graph for this function:

◆ misc_write16()

static void misc_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 276 of file acpimmio.h.

References acpimmio_misc, value, and write16().

Here is the call graph for this function:

◆ misc_write32()

static void misc_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

◆ misc_write8()

static void misc_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 271 of file acpimmio.h.

References acpimmio_misc, value, and write8().

Referenced by mainboard_enable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm2_read8()

static uint8_t pm2_read8 ( uint8_t  reg)
inlinestatic

Definition at line 196 of file acpimmio.h.

References acpimmio_pmio2, and read8().

Here is the call graph for this function:

◆ pm2_write8()

static void pm2_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 201 of file acpimmio.h.

References acpimmio_pmio2, value, and write8().

Referenced by imc_reg_init(), and init_sb800_MANUAL_fans().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_read16()

uint16_t pm_io_read16 ( uint8_t  reg)

Definition at line 109 of file mmio_util.c.

References pm_io_read8().

Referenced by pm_io_read32().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_read32()

uint32_t pm_io_read32 ( uint8_t  reg)

Definition at line 114 of file mmio_util.c.

References pm_io_read16().

Referenced by enable_acpimmio_decode_pm04(), enable_acpimmio_decode_pm24(), fch_io_enable_legacy_io(), and verstage_mainboard_espi_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_read8()

uint8_t pm_io_read8 ( uint8_t  reg)

Definition at line 103 of file mmio_util.c.

References inb(), outb(), PM_DATA, and PM_INDEX.

Referenced by lpc_enable_controller(), pm_io_read16(), and sb_enable_lpc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_write16()

void pm_io_write16 ( uint8_t  reg,
uint16_t  value 
)

Definition at line 125 of file mmio_util.c.

References pm_io_write8(), and value.

Referenced by pm_io_write32().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_write32()

void pm_io_write32 ( uint8_t  reg,
uint32_t  value 
)

Definition at line 132 of file mmio_util.c.

References pm_io_write16(), and value.

Referenced by enable_acpimmio_decode_pm04(), enable_acpimmio_decode_pm24(), fch_io_enable_legacy_io(), and verstage_mainboard_espi_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_io_write8()

void pm_io_write8 ( uint8_t  reg,
uint8_t  value 
)

Definition at line 119 of file mmio_util.c.

References outb(), PM_DATA, PM_INDEX, and value.

Referenced by bootblock_mainboard_early_init(), lpc_enable_controller(), pci_ehci_dbg_dev(), pm_io_write16(), pm_set_power_failure_state(), and sb_enable_lpc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_read16()

static uint16_t pm_read16 ( uint8_t  reg)
inlinestatic

Definition at line 171 of file acpimmio.h.

References acpimmio_pmio, and read16().

Referenced by do_cold_reset(), do_warm_reset(), fch_init_resets(), fch_slp_typ_handler(), mainboard_enable(), pm_acpi_smi_cmd_port(), and setup_spread_spectrum().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_read32()

static uint32_t pm_read32 ( uint8_t  reg)
inlinestatic

◆ pm_read8()

static uint8_t pm_read8 ( uint8_t  reg)
inlinestatic

◆ pm_write16()

static void pm_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 186 of file acpimmio.h.

References acpimmio_pmio, value, and write16().

Referenced by do_cold_reset(), do_warm_reset(), fch_init_acpi_ports(), fch_init_resets(), hudson_init_acpi_ports(), mainboard_enable(), setup_spread_spectrum(), and setupFch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pm_write32()

static void pm_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

◆ pm_write8()

◆ sm_pci_read16()

static uint16_t sm_pci_read16 ( uint8_t  reg)
inlinestatic

Definition at line 111 of file acpimmio.h.

References acpimmio_sm_pci, and read16().

Here is the call graph for this function:

◆ sm_pci_read32()

static uint32_t sm_pci_read32 ( uint8_t  reg)
inlinestatic

Definition at line 116 of file acpimmio.h.

References acpimmio_sm_pci, and read32().

Here is the call graph for this function:

◆ sm_pci_read8()

static uint8_t sm_pci_read8 ( uint8_t  reg)
inlinestatic

Definition at line 106 of file acpimmio.h.

References acpimmio_sm_pci, and read8().

Here is the call graph for this function:

◆ sm_pci_write16()

static void sm_pci_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 126 of file acpimmio.h.

References acpimmio_sm_pci, value, and write16().

Here is the call graph for this function:

◆ sm_pci_write32()

static void sm_pci_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

Definition at line 131 of file acpimmio.h.

References acpimmio_sm_pci, value, and write32().

Here is the call graph for this function:

◆ sm_pci_write8()

static void sm_pci_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 121 of file acpimmio.h.

References acpimmio_sm_pci, value, and write8().

Here is the call graph for this function:

◆ smbus_read8()

static uint8_t smbus_read8 ( uint8_t  reg)
inlinestatic

Definition at line 246 of file acpimmio.h.

References acpimmio_smbus, and read8().

Here is the call graph for this function:

◆ smbus_write8()

static void smbus_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 251 of file acpimmio.h.

References acpimmio_smbus, value, and write8().

Referenced by fch_smbus_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smi_read16()

static uint16_t smi_read16 ( uint8_t  reg)
inlinestatic

Definition at line 141 of file acpimmio.h.

References acpimmio_smi, and read16().

Referenced by southbridge_smi_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smi_read32()

◆ smi_read8()

static uint8_t smi_read8 ( uint8_t  reg)
inlinestatic

Definition at line 136 of file acpimmio.h.

References acpimmio_smi, and read8().

Here is the call graph for this function:

◆ smi_write16()

static void smi_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 156 of file acpimmio.h.

References acpimmio_smi, value, and write16().

Here is the call graph for this function:

◆ smi_write32()

static void smi_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

◆ smi_write8()

static void smi_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 151 of file acpimmio.h.

References acpimmio_smi, value, and write8().

Referenced by configure_scimap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xhci_pm_read16()

static uint16_t xhci_pm_read16 ( uint8_t  reg)
inlinestatic

Definition at line 291 of file acpimmio.h.

References acpimmio_xhci_pm, and read16().

Here is the call graph for this function:

◆ xhci_pm_read32()

static uint32_t xhci_pm_read32 ( uint8_t  reg)
inlinestatic

Definition at line 296 of file acpimmio.h.

References acpimmio_xhci_pm, and read32().

Here is the call graph for this function:

◆ xhci_pm_read8()

static uint8_t xhci_pm_read8 ( uint8_t  reg)
inlinestatic

Definition at line 286 of file acpimmio.h.

References acpimmio_xhci_pm, and read8().

Here is the call graph for this function:

◆ xhci_pm_write16()

static void xhci_pm_write16 ( uint8_t  reg,
uint16_t  value 
)
inlinestatic

Definition at line 306 of file acpimmio.h.

References acpimmio_xhci_pm, value, and write16().

Referenced by set_usb_over_current().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xhci_pm_write32()

static void xhci_pm_write32 ( uint8_t  reg,
uint32_t  value 
)
inlinestatic

Definition at line 311 of file acpimmio.h.

References acpimmio_xhci_pm, value, and write32().

Referenced by set_usb_over_current().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xhci_pm_write8()

static void xhci_pm_write8 ( uint8_t  reg,
uint8_t  value 
)
inlinestatic

Definition at line 301 of file acpimmio.h.

References acpimmio_xhci_pm, value, and write8().

Here is the call graph for this function:

Variable Documentation

◆ acpimmio_acdc_tmr

uint8_t* MAYBE_CONST acpimmio_acdc_tmr
extern

◆ acpimmio_acpi

◆ acpimmio_aoac

uint8_t* MAYBE_CONST acpimmio_aoac
extern

◆ acpimmio_asf

uint8_t* MAYBE_CONST acpimmio_asf
extern

◆ acpimmio_biosram

uint8_t* MAYBE_CONST acpimmio_biosram
extern

Referenced by biosram_read8(), and biosram_write8().

◆ acpimmio_cmos

uint8_t* MAYBE_CONST acpimmio_cmos
extern

◆ acpimmio_cmosram

uint8_t* MAYBE_CONST acpimmio_cmosram
extern

◆ acpimmio_dpvga

uint8_t* MAYBE_CONST acpimmio_dpvga
extern

◆ acpimmio_gpio0

uint8_t* MAYBE_CONST acpimmio_gpio0
extern

Referenced by gpio_ctrl_ptr(), and gpio_set_bar().

◆ acpimmio_gpio_100

◆ acpimmio_hpet

uint8_t* MAYBE_CONST acpimmio_hpet
extern

◆ acpimmio_iomux

uint8_t* MAYBE_CONST acpimmio_iomux
extern

◆ acpimmio_misc

◆ acpimmio_pmio

◆ acpimmio_pmio2

uint8_t* MAYBE_CONST acpimmio_pmio2
extern

Referenced by pm2_read8(), and pm2_write8().

◆ acpimmio_remote_gpio

uint8_t* MAYBE_CONST acpimmio_remote_gpio
extern

Referenced by gpio_ctrl_ptr(), and gpio_mux_ptr().

◆ acpimmio_sm_pci

◆ acpimmio_smbus

◆ acpimmio_smi

◆ acpimmio_wdt

uint8_t* MAYBE_CONST acpimmio_wdt
extern

◆ acpimmio_xhci_pm