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

Go to the source code of this file.

Functions

static u32 get_port_c_vref_cfg (uint8_t blue_rear_vref)
 
static u32 get_port_b_vref_cfg (uint8_t pink_rear_vref)
 
static u32 get_front_panel_cfg (uint8_t front_panel_audio)
 
static u32 get_front_mic_cfg (uint8_t front_panel_audio)
 
static void mainboard_r0x_configure_alc888 (u8 *base, u32 viddid)
 
void mainboard_azalia_program_runtime_verbs (u8 *base, u32 viddid)
 

Variables

const u32 cim_verb_data []
 
const u32 pc_beep_verbs [0] = {}
 
 AZALIA_ARRAY_SIZES
 
static const u32 r04_verb_data []
 

Function Documentation

◆ get_front_mic_cfg()

static u32 get_front_mic_cfg ( uint8_t  front_panel_audio)
static

Definition at line 123 of file hda_verb.c.

References AZALIA_PIN_CFG_NC.

Referenced by mainboard_r0x_configure_alc888().

Here is the caller graph for this function:

◆ get_front_panel_cfg()

static u32 get_front_panel_cfg ( uint8_t  front_panel_audio)
static

Definition at line 110 of file hda_verb.c.

References AZALIA_PIN_CFG_NC.

Referenced by mainboard_r0x_configure_alc888().

Here is the caller graph for this function:

◆ get_port_b_vref_cfg()

static u32 get_port_b_vref_cfg ( uint8_t  pink_rear_vref)
static

Definition at line 93 of file hda_verb.c.

Referenced by mainboard_r0x_configure_alc888().

Here is the caller graph for this function:

◆ get_port_c_vref_cfg()

static u32 get_port_c_vref_cfg ( uint8_t  blue_rear_vref)
static

Definition at line 76 of file hda_verb.c.

Referenced by mainboard_r0x_configure_alc888().

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 160 of file hda_verb.c.

References base, get_bmc_hsi(), and mainboard_r0x_configure_alc888().

Here is the call graph for this function:

◆ mainboard_r0x_configure_alc888()

static void mainboard_r0x_configure_alc888 ( u8 base,
u32  viddid 
)
static

Definition at line 128 of file hda_verb.c.

References ARRAY_SIZE, AZALIA_PIN_CFG, azalia_program_verb_table(), base, board_cfg, get_board_settings(), get_front_mic_cfg(), get_front_panel_cfg(), get_port_b_vref_cfg(), get_port_c_vref_cfg(), and r04_verb_data.

Referenced by mainboard_azalia_program_runtime_verbs().

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

Variable Documentation

◆ AZALIA_ARRAY_SIZES

AZALIA_ARRAY_SIZES

Definition at line 67 of file hda_verb.c.

◆ cim_verb_data

const u32 cim_verb_data[]

Definition at line 8 of file hda_verb.c.

◆ pc_beep_verbs

const u32 pc_beep_verbs[0] = {}

Definition at line 65 of file hda_verb.c.

◆ r04_verb_data

const u32 r04_verb_data[]
static
Initial value:
= {
AZALIA_PIN_CFG(0, 0x19, 0x02a19c20),
AZALIA_PIN_CFG(0, 0x1a, 0x01813c51),
AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
AZALIA_PIN_CFG(0, 0x15, 0x411111f0),
}
#define AZALIA_PIN_CFG(codec, pin, val)

Definition at line 69 of file hda_verb.c.

Referenced by mainboard_r0x_configure_alc888().