98 for (i = 0; i < size; i++) {
119 if (!verb_size || !verb_data) {
130 reg32 = (
addr << 28) | 0x000f0000;
static void write8(void *addr, uint8_t val)
static void write32(void *addr, uint32_t val)
static uint16_t read16(const void *addr)
static uint32_t read32(const void *addr)
static uint8_t read8(const void *addr)
static void write16(void *addr, uint16_t val)
int azalia_enter_reset(u8 *base)
int azalia_exit_reset(u8 *base)
u32 azalia_find_verb(const u32 *verb_table, u32 verb_table_bytes, u32 viddid, const u32 **verb)
#define printk(level,...)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
static int hda_wait_for_valid(u8 *base)
int hda_codec_write(u8 *base, u32 size, const u32 *data)
static int hda_wait_for_ready(u8 *base)
int hda_codec_detect(u8 *base)
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data)