![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pci_ops.h>
#include <delay.h>
#include "i82801dx.h"
Go to the source code of this file.
Macros | |
#define | NAMBAR 0x10 |
#define | MASTER_VOL 0x02 |
#define | PAGING 0x24 |
#define | EXT_AUDIO 0x28 |
#define | FUNC_SEL 0x66 |
#define | INFO_IO 0x68 |
#define | CONNECTOR 0x6a |
#define | VENDOR_ID1 0x7c |
#define | VENDOR_ID2 0x7e |
#define | SEC_VENDOR_ID1 0xfc |
#define | SEC_VENDOR_ID2 0xfe |
#define | NABMBAR 0x14 |
#define | GLOB_CNT 0x2c |
#define | GLOB_STA 0x30 |
#define | CAS 0x34 |
#define | MMBAR 0x10 |
#define | EXT_MODEM_ID1 0x3c |
#define | EXT_MODEM_ID2 0xbc |
#define | MBAR 0x14 |
#define | SEC_CODEC 0x40 |
Functions | |
static int | ac97_semaphore (void) |
static void | init_cnr (void) |
static void | program_sigid (struct device *dev, u32 id) |
static void | ac97_audio_init (struct device *dev) |
static void | ac97_modem_init (struct device *dev) |
Variables | |
static u16 | ac97_function [16 *2][4] |
static u16 | nabmbar |
static u16 | nambar |
static struct device_operations | ac97_audio_ops |
static struct device_operations | ac97_modem_ops |
static const struct pci_driver i82801db_ac97_audio | __pci_driver |
Definition at line 102 of file ac97.c.
References ac97_function, ac97_semaphore(), BIOS_DEBUG, CONNECTOR, EXT_AUDIO, FUNC_SEL, GLOB_CNT, GLOB_STA, INFO_IO, init_cnr(), inl(), inw(), MASTER_VOL, NABMBAR, nabmbar, NAMBAR, nambar, outw(), PAGING, pci_read_config16(), printk, program_sigid(), udelay(), VENDOR_ID1, and VENDOR_ID2.
|
static |
Definition at line 75 of file ac97.c.
References BIOS_DEBUG, CAS, inb(), nabmbar, and printk.
Referenced by ac97_audio_init().
Definition at line 92 of file ac97.c.
Referenced by ac97_audio_init().
Definition at line 97 of file ac97.c.
References pci_write_config32().
Referenced by ac97_audio_init().
|
static |
|
static |
|
static |
Definition at line 37 of file ac97.c.
Referenced by ac97_audio_init().
|
static |
|
static |
Definition at line 72 of file ac97.c.
Referenced by ac97_audio_init(), and ac97_semaphore().
|
static |
Definition at line 73 of file ac97.c.
Referenced by ac97_audio_init().