Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
txx9aclc.h File Reference
#include <linux/interrupt.h>
#include <asm/txx9/dmac.h>

Go to the source code of this file.

Data Structures

struct  txx9aclc_dmadata
 
struct  txx9aclc_plat_drvdata
 

Macros

#define ACCTLEN   0x00 /* control enable */
 
#define ACCTLDIS   0x04 /* control disable */
 
#define ACCTL_ENLINK   0x00000001 /* enable/disable AC-link */
 
#define ACCTL_AUDODMA   0x00000100 /* AUDODMA enable/disable */
 
#define ACCTL_AUDIDMA   0x00001000 /* AUDIDMA enable/disable */
 
#define ACCTL_AUDOEHLT
 
#define ACCTL_AUDIEHLT
 
#define ACREGACC   0x08 /* codec register access */
 
#define ACREGACC_DAT_SHIFT   0 /* data field */
 
#define ACREGACC_REG_SHIFT   16 /* address field */
 
#define ACREGACC_CODECID_SHIFT   24 /* CODEC ID field */
 
#define ACREGACC_READ   0x80000000 /* CODEC read */
 
#define ACREGACC_WRITE   0x00000000 /* CODEC write */
 
#define ACINTSTS   0x10 /* interrupt status */
 
#define ACINTMSTS   0x14 /* interrupt masked status */
 
#define ACINTEN   0x18 /* interrupt enable */
 
#define ACINTDIS   0x1c /* interrupt disable */
 
#define ACINT_CODECRDY(n)   (0x00000001 << (n)) /* CODECn ready */
 
#define ACINT_REGACCRDY   0x00000010 /* ACREGACC ready */
 
#define ACINT_AUDOERR   0x00000100 /* AUDO underrun error */
 
#define ACINT_AUDIERR   0x00001000 /* AUDI overrun error */
 
#define ACDMASTS   0x80 /* DMA request status */
 
#define ACDMA_AUDO   0x00000001 /* AUDODMA pending */
 
#define ACDMA_AUDI   0x00000010 /* AUDIDMA pending */
 
#define ACAUDODAT   0xa0 /* audio out data */
 
#define ACAUDIDAT   0xb0 /* audio in data */
 
#define ACREVID   0xfc /* revision ID */
 

Macro Definition Documentation

#define ACAUDIDAT   0xb0 /* audio in data */

Definition at line 40 of file txx9aclc.h.

#define ACAUDODAT   0xa0 /* audio out data */

Definition at line 39 of file txx9aclc.h.

#define ACCTL_AUDIDMA   0x00001000 /* AUDIDMA enable/disable */

Definition at line 19 of file txx9aclc.h.

#define ACCTL_AUDIEHLT
Value:
0x00100000 /* AUDI error halt
enable/disable */

Definition at line 21 of file txx9aclc.h.

#define ACCTL_AUDODMA   0x00000100 /* AUDODMA enable/disable */

Definition at line 18 of file txx9aclc.h.

#define ACCTL_AUDOEHLT
Value:
0x00010000 /* AUDO error halt
enable/disable */

Definition at line 20 of file txx9aclc.h.

#define ACCTL_ENLINK   0x00000001 /* enable/disable AC-link */

Definition at line 17 of file txx9aclc.h.

#define ACCTLDIS   0x04 /* control disable */

Definition at line 16 of file txx9aclc.h.

#define ACCTLEN   0x00 /* control enable */

Definition at line 15 of file txx9aclc.h.

#define ACDMA_AUDI   0x00000010 /* AUDIDMA pending */

Definition at line 38 of file txx9aclc.h.

#define ACDMA_AUDO   0x00000001 /* AUDODMA pending */

Definition at line 37 of file txx9aclc.h.

#define ACDMASTS   0x80 /* DMA request status */

Definition at line 36 of file txx9aclc.h.

#define ACINT_AUDIERR   0x00001000 /* AUDI overrun error */

Definition at line 35 of file txx9aclc.h.

#define ACINT_AUDOERR   0x00000100 /* AUDO underrun error */

Definition at line 34 of file txx9aclc.h.

#define ACINT_CODECRDY (   n)    (0x00000001 << (n)) /* CODECn ready */

Definition at line 32 of file txx9aclc.h.

#define ACINT_REGACCRDY   0x00000010 /* ACREGACC ready */

Definition at line 33 of file txx9aclc.h.

#define ACINTDIS   0x1c /* interrupt disable */

Definition at line 31 of file txx9aclc.h.

#define ACINTEN   0x18 /* interrupt enable */

Definition at line 30 of file txx9aclc.h.

#define ACINTMSTS   0x14 /* interrupt masked status */

Definition at line 29 of file txx9aclc.h.

#define ACINTSTS   0x10 /* interrupt status */

Definition at line 28 of file txx9aclc.h.

#define ACREGACC   0x08 /* codec register access */

Definition at line 22 of file txx9aclc.h.

#define ACREGACC_CODECID_SHIFT   24 /* CODEC ID field */

Definition at line 25 of file txx9aclc.h.

#define ACREGACC_DAT_SHIFT   0 /* data field */

Definition at line 23 of file txx9aclc.h.

#define ACREGACC_READ   0x80000000 /* CODEC read */

Definition at line 26 of file txx9aclc.h.

#define ACREGACC_REG_SHIFT   16 /* address field */

Definition at line 24 of file txx9aclc.h.

#define ACREGACC_WRITE   0x00000000 /* CODEC write */

Definition at line 27 of file txx9aclc.h.

#define ACREVID   0xfc /* revision ID */

Definition at line 41 of file txx9aclc.h.