Go to the documentation of this file. 1 #ifndef __SOUND_AK4XXX_ADDA_H
2 #define __SOUND_AK4XXX_ADDA_H
26 #ifndef AK4XXX_MAX_CHIPS
27 #define AK4XXX_MAX_CHIPS 4
40 #define AK4XXX_IMAGE_SIZE (AK4XXX_MAX_CHIPS * 16)
90 #define snd_akm4xxx_get(ak,chip,reg) \
91 (ak)->images[(chip) * 16 + (reg)]
92 #define snd_akm4xxx_set(ak,chip,reg,val) \
93 ((ak)->images[(chip) * 16 + (reg)] = (val))
94 #define snd_akm4xxx_get_vol(ak,chip,reg) \
95 (ak)->volumes[(chip) * 16 + (reg)]
96 #define snd_akm4xxx_set_vol(ak,chip,reg,val) \
97 ((ak)->volumes[(chip) * 16 + (reg)] = (val))