summaryrefslogtreecommitdiff
path: root/src/include/device/azalia_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/azalia_device.h')
-rw-r--r--src/include/device/azalia_device.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h
index 59e7ea2af3..7fe6514ed2 100644
--- a/src/include/device/azalia_device.h
+++ b/src/include/device/azalia_device.h
@@ -6,7 +6,7 @@
#include <acpi/acpi.h>
#include <device/device.h>
#include <device/mmio.h>
-#include <stdint.h>
+#include <types.h>
#define HDA_GCAP_REG 0x00
#define HDA_GCTL_REG 0x08
@@ -20,9 +20,8 @@
#define AZALIA_MAX_CODECS 15
-int azalia_set_bits(void *port, u32 mask, u32 val);
-int azalia_enter_reset(u8 *base);
-int azalia_exit_reset(u8 *base);
+enum cb_err azalia_enter_reset(u8 *base);
+enum cb_err azalia_exit_reset(u8 *base);
u32 azalia_find_verb(const u32 *verb_table, u32 verb_table_bytes, u32 viddid, const u32 **verb);
int azalia_program_verb_table(u8 *base, const u32 *verbs, u32 verb_size);
void azalia_codec_init(u8 *base, int addr, const u32 *verb_table, u32 verb_table_bytes);