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

Go to the source code of this file.

Macros

#define AZALIA_CODEC_ALC256   0x10ec0256
 
#define AZALIA_CODEC_ALC269   0x10ec0269
 

Functions

static void disable_microphone (u8 *base)
 
void mainboard_azalia_program_runtime_verbs (u8 *base, u32 viddid)
 

Variables

static const u32 override_verb []
 

Macro Definition Documentation

◆ AZALIA_CODEC_ALC256

#define AZALIA_CODEC_ALC256   0x10ec0256

Definition at line 8 of file hda_verb.c.

◆ AZALIA_CODEC_ALC269

#define AZALIA_CODEC_ALC269   0x10ec0269

Definition at line 9 of file hda_verb.c.

Function Documentation

◆ disable_microphone()

static void disable_microphone ( u8 base)
static

Definition at line 15 of file hda_verb.c.

References ARRAY_SIZE, azalia_program_verb_table(), base, and override_verb.

Referenced by mainboard_azalia_program_runtime_verbs().

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

◆ mainboard_azalia_program_runtime_verbs()

void mainboard_azalia_program_runtime_verbs ( u8 base,
u32  viddid 
)

Definition at line 20 of file hda_verb.c.

References AZALIA_CODEC_ALC256, AZALIA_CODEC_ALC269, base, BIOS_DEBUG, disable_microphone(), get_uint_option(), and printk.

Here is the call graph for this function:

Variable Documentation

◆ override_verb

const u32 override_verb[]
static
Initial value:
= {
AZALIA_PIN_CFG(0, 0x12, 0x411111f0),
}
#define AZALIA_PIN_CFG(codec, pin, val)

Definition at line 11 of file hda_verb.c.

Referenced by disable_microphone().