grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / AHI / Drivers / Envy24 / ak_codec.h
blob185f1cc608ffe0a0a9dd089555779402a4918e63
1 /*
2 Copyright � 2004-2014, Davy Wentzler. All rights reserved.
3 $Id$
4 */
6 #ifndef AK_CODEC_H
7 #define AK_CODEC_H
10 #include "DriverData.h"
12 enum akm_types {AKM4524, AKM4528, AKM4529, AKM4355, AKM4381};
14 struct akm_codec
16 unsigned int caddr;
17 unsigned int cif;
18 unsigned int data_mask;
19 unsigned int clk_mask;
21 unsigned int cs_mask;
22 unsigned int cs_addr;
23 unsigned int cs_none;
24 unsigned int add_flags;
25 unsigned int mask_flags;
27 enum akm_types type;
30 void Init_akm4xxx(struct CardData *card, enum akm_types type, enum Model CardModel);
31 void akm4xxx_write(struct CardData *card, struct akm_codec *codec, int chip, unsigned char addr, unsigned char data);
34 #endif