From 8236dddc4c08b5c8a3f07ac02defe952db3b319d Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Sat, 28 Sep 2002 18:10:40 +0000 Subject: [PATCH] Added codec registers macros. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@150 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/arm/pxa2x0/ac97.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/arm/pxa2x0/ac97.h b/include/arm/pxa2x0/ac97.h index 876f0c67..efacaf8e 100644 --- a/include/arm/pxa2x0/ac97.h +++ b/include/arm/pxa2x0/ac97.h @@ -92,6 +92,10 @@ typedef volatile struct AC97_registers { #define MOSR AC97_pointer->mosr #define MISR AC97_pointer->misr #define MODR AC97_pointer->modr +#define __PACR(r) AC97_pointer->__pacr[r >> 1] +#define __SACR(r) AC97_pointer->__sacr[r >> 1] +#define __PMCR(r) AC97_pointer->__pmcr[r >> 1] +#define __SMCR(r) AC97_pointer->__smcr[r >> 1] #endif /* LANGUAGE == C */ #define POCR_OFFSET 0x000