Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
m32700ut_lan.h File Reference

Go to the source code of this file.

Macros

#define M32700UT_LAN_BASE   (0x10000000 /* + NONCACHE_OFFSET */)
 
#define M32700UT_LAN_IRQ_LAN   (M32700UT_LAN_PLD_IRQ_BASE + 1) /* LAN */
 
#define M32700UT_LAN_IRQ_I2C   (M32700UT_LAN_PLD_IRQ_BASE + 3) /* I2C */
 
#define M32700UT_LAN_ICUISTS   __reg16(M32700UT_LAN_BASE + 0xc0002)
 
#define M32700UT_LAN_ICUISTS_VECB_MASK   (0xf000)
 
#define M32700UT_LAN_VECB(x)   ((x) & M32700UT_LAN_ICUISTS_VECB_MASK)
 
#define M32700UT_LAN_ICUISTS_ISN_MASK   (0x07c0)
 
#define M32700UT_LAN_ICUISTS_ISN(x)   ((x) & M32700UT_LAN_ICUISTS_ISN_MASK)
 
#define M32700UT_LAN_ICUIREQ0   __reg16(M32700UT_LAN_BASE + 0xc0004)
 
#define M32700UT_LAN_ICUCR1   __reg16(M32700UT_LAN_BASE + 0xc0010)
 
#define M32700UT_LAN_ICUCR3   __reg16(M32700UT_LAN_BASE + 0xc0014)
 
#define ARVCR0   __reg32(M32700UT_LAN_BASE + 0x40000)
 
#define ARVCR0_VDS   0x00080000
 
#define ARVCR0_RST   0x00010000
 
#define ARVCR1   __reg32(M32700UT_LAN_BASE + 0x40004)
 
#define ARVCR1_QVGA   0x02000000
 
#define ARVCR1_NORMAL   0x01000000
 
#define ARVCR1_HIEN   0x00010000
 
#define ARVHCOUNT   __reg32(M32700UT_LAN_BASE + 0x40008)
 
#define ARDATA   __reg32(M32700UT_LAN_BASE + 0x40010)
 
#define ARINTSEL   __reg32(M32700UT_LAN_BASE + 0x40014)
 
#define ARINTSEL_INT3   0x10000000 /* CPU INT3 */
 
#define ARDATA32   __reg32(M32700UT_LAN_BASE + 0x04040010)
 
#define PLDI2CCR   __reg32(M32700UT_LAN_BASE + 0x40040)
 
#define PLDI2CCR_ES0   0x00000001 /* enable I2C interface */
 
#define PLDI2CMOD   __reg32(M32700UT_LAN_BASE + 0x40044)
 
#define PLDI2CMOD_ACKCLK   0x00000200
 
#define PLDI2CMOD_DTWD   0x00000100
 
#define PLDI2CMOD_10BT   0x00000004
 
#define PLDI2CMOD_ATM_NORMAL   0x00000000
 
#define PLDI2CMOD_ATM_AUTO   0x00000003
 
#define PLDI2CACK   __reg32(M32700UT_LAN_BASE + 0x40048)
 
#define PLDI2CACK_ACK   0x00000001
 
#define PLDI2CFREQ   __reg32(M32700UT_LAN_BASE + 0x4004c)
 
#define PLDI2CCND   __reg32(M32700UT_LAN_BASE + 0x40050)
 
#define PLDI2CCND_START   0x00000001
 
#define PLDI2CCND_STOP   0x00000002
 
#define PLDI2CSTEN   __reg32(M32700UT_LAN_BASE + 0x40054)
 
#define PLDI2CSTEN_STEN   0x00000001
 
#define PLDI2CDATA   __reg32(M32700UT_LAN_BASE + 0x40060)
 
#define PLDI2CSTS   __reg32(M32700UT_LAN_BASE + 0x40064)
 
#define PLDI2CSTS_TRX   0x00000020
 
#define PLDI2CSTS_BB   0x00000010
 
#define PLDI2CSTS_NOACK   0x00000001 /* 0:ack, 1:noack */
 

Macro Definition Documentation

#define ARDATA   __reg32(M32700UT_LAN_BASE + 0x40010)

Definition at line 63 of file m32700ut_lan.h.

#define ARDATA32   __reg32(M32700UT_LAN_BASE + 0x04040010)

Definition at line 66 of file m32700ut_lan.h.

#define ARINTSEL   __reg32(M32700UT_LAN_BASE + 0x40014)

Definition at line 64 of file m32700ut_lan.h.

#define ARINTSEL_INT3   0x10000000 /* CPU INT3 */

Definition at line 65 of file m32700ut_lan.h.

#define ARVCR0   __reg32(M32700UT_LAN_BASE + 0x40000)

Definition at line 55 of file m32700ut_lan.h.

#define ARVCR0_RST   0x00010000

Definition at line 57 of file m32700ut_lan.h.

#define ARVCR0_VDS   0x00080000

Definition at line 56 of file m32700ut_lan.h.

#define ARVCR1   __reg32(M32700UT_LAN_BASE + 0x40004)

Definition at line 58 of file m32700ut_lan.h.

#define ARVCR1_HIEN   0x00010000

Definition at line 61 of file m32700ut_lan.h.

#define ARVCR1_NORMAL   0x01000000

Definition at line 60 of file m32700ut_lan.h.

#define ARVCR1_QVGA   0x02000000

Definition at line 59 of file m32700ut_lan.h.

#define ARVHCOUNT   __reg32(M32700UT_LAN_BASE + 0x40008)

Definition at line 62 of file m32700ut_lan.h.

#define M32700UT_LAN_BASE   (0x10000000 /* + NONCACHE_OFFSET */)

Definition at line 20 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUCR1   __reg16(M32700UT_LAN_BASE + 0xc0010)

Definition at line 49 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUCR3   __reg16(M32700UT_LAN_BASE + 0xc0014)

Definition at line 50 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUIREQ0   __reg16(M32700UT_LAN_BASE + 0xc0004)

Definition at line 48 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUISTS   __reg16(M32700UT_LAN_BASE + 0xc0002)

Definition at line 43 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUISTS_ISN (   x)    ((x) & M32700UT_LAN_ICUISTS_ISN_MASK)

Definition at line 47 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUISTS_ISN_MASK   (0x07c0)

Definition at line 46 of file m32700ut_lan.h.

#define M32700UT_LAN_ICUISTS_VECB_MASK   (0xf000)

Definition at line 44 of file m32700ut_lan.h.

#define M32700UT_LAN_IRQ_I2C   (M32700UT_LAN_PLD_IRQ_BASE + 3) /* I2C */

Definition at line 41 of file m32700ut_lan.h.

#define M32700UT_LAN_IRQ_LAN   (M32700UT_LAN_PLD_IRQ_BASE + 1) /* LAN */

Definition at line 40 of file m32700ut_lan.h.

#define M32700UT_LAN_VECB (   x)    ((x) & M32700UT_LAN_ICUISTS_VECB_MASK)

Definition at line 45 of file m32700ut_lan.h.

#define PLDI2CACK   __reg32(M32700UT_LAN_BASE + 0x40048)

Definition at line 89 of file m32700ut_lan.h.

#define PLDI2CACK_ACK   0x00000001

Definition at line 90 of file m32700ut_lan.h.

#define PLDI2CCND   __reg32(M32700UT_LAN_BASE + 0x40050)

Definition at line 92 of file m32700ut_lan.h.

#define PLDI2CCND_START   0x00000001

Definition at line 93 of file m32700ut_lan.h.

#define PLDI2CCND_STOP   0x00000002

Definition at line 94 of file m32700ut_lan.h.

#define PLDI2CCR   __reg32(M32700UT_LAN_BASE + 0x40040)

Definition at line 81 of file m32700ut_lan.h.

#define PLDI2CCR_ES0   0x00000001 /* enable I2C interface */

Definition at line 82 of file m32700ut_lan.h.

#define PLDI2CDATA   __reg32(M32700UT_LAN_BASE + 0x40060)

Definition at line 97 of file m32700ut_lan.h.

#define PLDI2CFREQ   __reg32(M32700UT_LAN_BASE + 0x4004c)

Definition at line 91 of file m32700ut_lan.h.

#define PLDI2CMOD   __reg32(M32700UT_LAN_BASE + 0x40044)

Definition at line 83 of file m32700ut_lan.h.

#define PLDI2CMOD_10BT   0x00000004

Definition at line 86 of file m32700ut_lan.h.

#define PLDI2CMOD_ACKCLK   0x00000200

Definition at line 84 of file m32700ut_lan.h.

#define PLDI2CMOD_ATM_AUTO   0x00000003

Definition at line 88 of file m32700ut_lan.h.

#define PLDI2CMOD_ATM_NORMAL   0x00000000

Definition at line 87 of file m32700ut_lan.h.

#define PLDI2CMOD_DTWD   0x00000100

Definition at line 85 of file m32700ut_lan.h.

#define PLDI2CSTEN   __reg32(M32700UT_LAN_BASE + 0x40054)

Definition at line 95 of file m32700ut_lan.h.

#define PLDI2CSTEN_STEN   0x00000001

Definition at line 96 of file m32700ut_lan.h.

#define PLDI2CSTS   __reg32(M32700UT_LAN_BASE + 0x40064)

Definition at line 98 of file m32700ut_lan.h.

#define PLDI2CSTS_BB   0x00000010

Definition at line 100 of file m32700ut_lan.h.

#define PLDI2CSTS_NOACK   0x00000001 /* 0:ack, 1:noack */

Definition at line 101 of file m32700ut_lan.h.

#define PLDI2CSTS_TRX   0x00000020

Definition at line 99 of file m32700ut_lan.h.