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

Go to the source code of this file.

Macros

#define __ASM_ARCH_REGS_IIC_H   __FILE__
 
#define S3C2410_IICREG(x)   (x)
 
#define S3C2410_IICCON   S3C2410_IICREG(0x00)
 
#define S3C2410_IICSTAT   S3C2410_IICREG(0x04)
 
#define S3C2410_IICADD   S3C2410_IICREG(0x08)
 
#define S3C2410_IICDS   S3C2410_IICREG(0x0C)
 
#define S3C2440_IICLC   S3C2410_IICREG(0x10)
 
#define S3C2410_IICCON_ACKEN   (1<<7)
 
#define S3C2410_IICCON_TXDIV_16   (0<<6)
 
#define S3C2410_IICCON_TXDIV_512   (1<<6)
 
#define S3C2410_IICCON_IRQEN   (1<<5)
 
#define S3C2410_IICCON_IRQPEND   (1<<4)
 
#define S3C2410_IICCON_SCALE(x)   ((x)&15)
 
#define S3C2410_IICCON_SCALEMASK   (0xf)
 
#define S3C2410_IICSTAT_MASTER_RX   (2<<6)
 
#define S3C2410_IICSTAT_MASTER_TX   (3<<6)
 
#define S3C2410_IICSTAT_SLAVE_RX   (0<<6)
 
#define S3C2410_IICSTAT_SLAVE_TX   (1<<6)
 
#define S3C2410_IICSTAT_MODEMASK   (3<<6)
 
#define S3C2410_IICSTAT_START   (1<<5)
 
#define S3C2410_IICSTAT_BUSBUSY   (1<<5)
 
#define S3C2410_IICSTAT_TXRXEN   (1<<4)
 
#define S3C2410_IICSTAT_ARBITR   (1<<3)
 
#define S3C2410_IICSTAT_ASSLAVE   (1<<2)
 
#define S3C2410_IICSTAT_ADDR0   (1<<1)
 
#define S3C2410_IICSTAT_LASTBIT   (1<<0)
 
#define S3C2410_IICLC_SDA_DELAY0   (0 << 0)
 
#define S3C2410_IICLC_SDA_DELAY5   (1 << 0)
 
#define S3C2410_IICLC_SDA_DELAY10   (2 << 0)
 
#define S3C2410_IICLC_SDA_DELAY15   (3 << 0)
 
#define S3C2410_IICLC_SDA_DELAY_MASK   (3 << 0)
 
#define S3C2410_IICLC_FILTER_ON   (1<<2)
 

Macro Definition Documentation

#define __ASM_ARCH_REGS_IIC_H   __FILE__

Definition at line 14 of file regs-iic.h.

#define S3C2410_IICADD   S3C2410_IICREG(0x08)

Definition at line 22 of file regs-iic.h.

#define S3C2410_IICCON   S3C2410_IICREG(0x00)

Definition at line 20 of file regs-iic.h.

#define S3C2410_IICCON_ACKEN   (1<<7)

Definition at line 26 of file regs-iic.h.

#define S3C2410_IICCON_IRQEN   (1<<5)

Definition at line 29 of file regs-iic.h.

#define S3C2410_IICCON_IRQPEND   (1<<4)

Definition at line 30 of file regs-iic.h.

#define S3C2410_IICCON_SCALE (   x)    ((x)&15)

Definition at line 31 of file regs-iic.h.

#define S3C2410_IICCON_SCALEMASK   (0xf)

Definition at line 32 of file regs-iic.h.

#define S3C2410_IICCON_TXDIV_16   (0<<6)

Definition at line 27 of file regs-iic.h.

#define S3C2410_IICCON_TXDIV_512   (1<<6)

Definition at line 28 of file regs-iic.h.

#define S3C2410_IICDS   S3C2410_IICREG(0x0C)

Definition at line 23 of file regs-iic.h.

#define S3C2410_IICLC_FILTER_ON   (1<<2)

Definition at line 54 of file regs-iic.h.

#define S3C2410_IICLC_SDA_DELAY0   (0 << 0)

Definition at line 48 of file regs-iic.h.

#define S3C2410_IICLC_SDA_DELAY10   (2 << 0)

Definition at line 50 of file regs-iic.h.

#define S3C2410_IICLC_SDA_DELAY15   (3 << 0)

Definition at line 51 of file regs-iic.h.

#define S3C2410_IICLC_SDA_DELAY5   (1 << 0)

Definition at line 49 of file regs-iic.h.

#define S3C2410_IICLC_SDA_DELAY_MASK   (3 << 0)

Definition at line 52 of file regs-iic.h.

#define S3C2410_IICREG (   x)    (x)

Definition at line 18 of file regs-iic.h.

#define S3C2410_IICSTAT   S3C2410_IICREG(0x04)

Definition at line 21 of file regs-iic.h.

#define S3C2410_IICSTAT_ADDR0   (1<<1)

Definition at line 45 of file regs-iic.h.

#define S3C2410_IICSTAT_ARBITR   (1<<3)

Definition at line 43 of file regs-iic.h.

#define S3C2410_IICSTAT_ASSLAVE   (1<<2)

Definition at line 44 of file regs-iic.h.

#define S3C2410_IICSTAT_BUSBUSY   (1<<5)

Definition at line 41 of file regs-iic.h.

#define S3C2410_IICSTAT_LASTBIT   (1<<0)

Definition at line 46 of file regs-iic.h.

#define S3C2410_IICSTAT_MASTER_RX   (2<<6)

Definition at line 34 of file regs-iic.h.

#define S3C2410_IICSTAT_MASTER_TX   (3<<6)

Definition at line 35 of file regs-iic.h.

#define S3C2410_IICSTAT_MODEMASK   (3<<6)

Definition at line 38 of file regs-iic.h.

#define S3C2410_IICSTAT_SLAVE_RX   (0<<6)

Definition at line 36 of file regs-iic.h.

#define S3C2410_IICSTAT_SLAVE_TX   (1<<6)

Definition at line 37 of file regs-iic.h.

#define S3C2410_IICSTAT_START   (1<<5)

Definition at line 40 of file regs-iic.h.

#define S3C2410_IICSTAT_TXRXEN   (1<<4)

Definition at line 42 of file regs-iic.h.

#define S3C2440_IICLC   S3C2410_IICREG(0x10)

Definition at line 24 of file regs-iic.h.