![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <device/pnp.h>
#include <stdint.h>
#include <device/pnp_ops.h>
#include "sch5545.h"
Go to the source code of this file.
Functions | |
static void | pnp_enter_conf_state (pnp_devfn_t dev) |
static void | pnp_exit_conf_state (pnp_devfn_t dev) |
static void | set_iobase (pnp_devfn_t dev, uint16_t device_addr, uint16_t bar_addr) |
static void | set_irq (pnp_devfn_t dev, uint8_t irq_device, unsigned int irq) |
void | sch5545_set_led (unsigned int runtime_reg_base, unsigned int color, uint16_t blink) |
void | sch5545_early_init (unsigned int port) |
void | sch5545_enable_uart (unsigned int port, unsigned int uart_no) |
int | sch5545_get_gpio (uint8_t sio_port, uint8_t gpio) |
|
static |
Definition at line 9 of file sch5545_early_init.c.
References outb().
Referenced by sch5545_early_init(), sch5545_enable_uart(), and sch5545_get_gpio().
|
static |
Definition at line 15 of file sch5545_early_init.c.
References outb().
Referenced by sch5545_early_init(), sch5545_enable_uart(), and sch5545_get_gpio().
Definition at line 66 of file sch5545_early_init.c.
References outb(), PNP_DEV, pnp_enter_conf_state(), pnp_exit_conf_state(), pnp_read_config(), pnp_set_enable(), pnp_set_logical_device(), pnp_write_config(), SCH5545_BAR_EM_IF, SCH5545_BAR_LPC_IF, SCH5545_BAR_RUNTIME_REG, SCH5545_EMI_BASE, SCH5545_LDN_EMI, SCH5545_LDN_GCONF, SCH5545_LDN_LPC, SCH5545_LDN_RR, SCH5545_LED_BLINK_ON, SCH5545_LED_COLOR_GREEN, SCH5545_RR_PME_EN, SCH5545_RR_PME_STS, SCH5545_RUNTIME_REG_BASE, sch5545_set_led(), and set_iobase().
Referenced by bootblock_mainboard_early_init().
Definition at line 122 of file sch5545_early_init.c.
References PNP_DEV, pnp_enter_conf_state(), pnp_exit_conf_state(), pnp_set_enable(), pnp_set_logical_device(), pnp_write_config(), SCH5545_BAR_UART1, SCH5545_LDN_LPC, SCH5545_LDN_UART1, SCH5545_UART_CONFIG_SELECT, SCH5545_UART_POWER_VCC, set_iobase(), and set_irq().
Referenced by bootblock_mainboard_early_init().
Definition at line 150 of file sch5545_early_init.c.
Definition at line 57 of file sch5545_early_init.c.
References outb(), SCH5545_LED_BLINK_MASK, SCH5545_LED_CODE_FETCH, SCH5545_LED_COLOR_GREEN, SCH5545_RR_LED, and val.
Referenced by sch5545_early_init().
|
static |
Definition at line 26 of file sch5545_early_init.c.
References pnp_set_iobase().
Referenced by sch5545_early_init(), and sch5545_enable_uart().
|
static |
Definition at line 44 of file sch5545_early_init.c.
References pnp_write_config(), and SCH5545_IRQ_BASE.
Referenced by sch5545_enable_uart().