coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hda_verb.h File Reference
#include <stdint.h>
Include dependency graph for hda_verb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int hda_codec_detect (u8 *base)
 
int hda_codec_write (u8 *base, u32 size, const u32 *data)
 
int hda_codec_init (u8 *base, int addr, int verb_size, const u32 *verb_data)
 

Function Documentation

◆ hda_codec_detect()

int hda_codec_detect ( u8 base)

Definition at line 10 of file hda_verb.c.

◆ hda_codec_init()

int hda_codec_init ( u8 base,
int  addr,
int  verb_size,
const u32 verb_data 
)

Definition at line 111 of file hda_verb.c.

References addr, azalia_find_verb(), base, BIOS_DEBUG, hda_codec_write(), HDA_IC_REG, HDA_IR_REG, hda_wait_for_ready(), hda_wait_for_valid(), printk, read32(), and write32().

Here is the call graph for this function:

◆ hda_codec_write()

int hda_codec_write ( u8 base,
u32  size,
const u32 data 
)

Definition at line 94 of file hda_verb.c.

References base, HDA_IC_REG, hda_wait_for_ready(), hda_wait_for_valid(), and write32().

Referenced by hda_codec_init().

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