Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
i2c-ibm_iic.h File Reference
#include <linux/i2c.h>

Go to the source code of this file.

Data Structures

struct  iic_regs
 
struct  ibm_iic_private
 

Macros

#define CNTL_HMT   0x80
 
#define CNTL_AMD   0x40
 
#define CNTL_TCT_MASK   0x30
 
#define CNTL_TCT_SHIFT   4
 
#define CNTL_RPST   0x08
 
#define CNTL_CHT   0x04
 
#define CNTL_RW   0x02
 
#define CNTL_PT   0x01
 
#define MDCNTL_FSDB   0x80
 
#define MDCNTL_FMDB   0x40
 
#define MDCNTL_EGC   0x20
 
#define MDCNTL_FSM   0x10
 
#define MDCNTL_ESM   0x08
 
#define MDCNTL_EINT   0x04
 
#define MDCNTL_EUBS   0x02
 
#define MDCNTL_HSCL   0x01
 
#define STS_SSS   0x80
 
#define STS_SLPR   0x40
 
#define STS_MDBS   0x20
 
#define STS_MDBF   0x10
 
#define STS_SCMP   0x08
 
#define STS_ERR   0x04
 
#define STS_IRQA   0x02
 
#define STS_PT   0x01
 
#define EXTSTS_IRQP   0x80
 
#define EXTSTS_BCS_MASK   0x70
 
#define EXTSTS_BCS_FREE   0x40
 
#define EXTSTS_IRQD   0x08
 
#define EXTSTS_LA   0x04
 
#define EXTSTS_ICT   0x02
 
#define EXTSTS_XFRA   0x01
 
#define INTRMSK_EIRC   0x80
 
#define INTRMSK_EIRS   0x40
 
#define INTRMSK_EIWC   0x20
 
#define INTRMSK_EIWS   0x10
 
#define INTRMSK_EIHE   0x08
 
#define INTRMSK_EIIC   0x04
 
#define INTRMSK_EITA   0x02
 
#define INTRMSK_EIMTC   0x01
 
#define XFRCNT_MTC_MASK   0x07
 
#define XTCNTLSS_SRC   0x80
 
#define XTCNTLSS_SRS   0x40
 
#define XTCNTLSS_SWC   0x20
 
#define XTCNTLSS_SWS   0x10
 
#define XTCNTLSS_SRST   0x01
 
#define DIRCNTL_SDAC   0x08
 
#define DIRCNTL_SCC   0x04
 
#define DIRCNTL_MSDA   0x02
 
#define DIRCNTL_MSC   0x01
 
#define DIRCTNL_FREE(v)   (((v) & 0x0f) == 0x0f)
 

Macro Definition Documentation

#define CNTL_AMD   0x40

Definition at line 57 of file i2c-ibm_iic.h.

#define CNTL_CHT   0x04

Definition at line 61 of file i2c-ibm_iic.h.

#define CNTL_HMT   0x80

Definition at line 56 of file i2c-ibm_iic.h.

#define CNTL_PT   0x01

Definition at line 63 of file i2c-ibm_iic.h.

#define CNTL_RPST   0x08

Definition at line 60 of file i2c-ibm_iic.h.

#define CNTL_RW   0x02

Definition at line 62 of file i2c-ibm_iic.h.

#define CNTL_TCT_MASK   0x30

Definition at line 58 of file i2c-ibm_iic.h.

#define CNTL_TCT_SHIFT   4

Definition at line 59 of file i2c-ibm_iic.h.

#define DIRCNTL_MSC   0x01

Definition at line 118 of file i2c-ibm_iic.h.

#define DIRCNTL_MSDA   0x02

Definition at line 117 of file i2c-ibm_iic.h.

#define DIRCNTL_SCC   0x04

Definition at line 116 of file i2c-ibm_iic.h.

#define DIRCNTL_SDAC   0x08

Definition at line 115 of file i2c-ibm_iic.h.

#define DIRCTNL_FREE (   v)    (((v) & 0x0f) == 0x0f)

Definition at line 121 of file i2c-ibm_iic.h.

#define EXTSTS_BCS_FREE   0x40

Definition at line 88 of file i2c-ibm_iic.h.

#define EXTSTS_BCS_MASK   0x70

Definition at line 87 of file i2c-ibm_iic.h.

#define EXTSTS_ICT   0x02

Definition at line 91 of file i2c-ibm_iic.h.

#define EXTSTS_IRQD   0x08

Definition at line 89 of file i2c-ibm_iic.h.

#define EXTSTS_IRQP   0x80

Definition at line 86 of file i2c-ibm_iic.h.

#define EXTSTS_LA   0x04

Definition at line 90 of file i2c-ibm_iic.h.

#define EXTSTS_XFRA   0x01

Definition at line 92 of file i2c-ibm_iic.h.

#define INTRMSK_EIHE   0x08

Definition at line 99 of file i2c-ibm_iic.h.

#define INTRMSK_EIIC   0x04

Definition at line 100 of file i2c-ibm_iic.h.

#define INTRMSK_EIMTC   0x01

Definition at line 102 of file i2c-ibm_iic.h.

#define INTRMSK_EIRC   0x80

Definition at line 95 of file i2c-ibm_iic.h.

#define INTRMSK_EIRS   0x40

Definition at line 96 of file i2c-ibm_iic.h.

#define INTRMSK_EITA   0x02

Definition at line 101 of file i2c-ibm_iic.h.

#define INTRMSK_EIWC   0x20

Definition at line 97 of file i2c-ibm_iic.h.

#define INTRMSK_EIWS   0x10

Definition at line 98 of file i2c-ibm_iic.h.

#define MDCNTL_EGC   0x20

Definition at line 68 of file i2c-ibm_iic.h.

#define MDCNTL_EINT   0x04

Definition at line 71 of file i2c-ibm_iic.h.

#define MDCNTL_ESM   0x08

Definition at line 70 of file i2c-ibm_iic.h.

#define MDCNTL_EUBS   0x02

Definition at line 72 of file i2c-ibm_iic.h.

#define MDCNTL_FMDB   0x40

Definition at line 67 of file i2c-ibm_iic.h.

#define MDCNTL_FSDB   0x80

Definition at line 66 of file i2c-ibm_iic.h.

#define MDCNTL_FSM   0x10

Definition at line 69 of file i2c-ibm_iic.h.

#define MDCNTL_HSCL   0x01

Definition at line 73 of file i2c-ibm_iic.h.

#define STS_ERR   0x04

Definition at line 81 of file i2c-ibm_iic.h.

#define STS_IRQA   0x02

Definition at line 82 of file i2c-ibm_iic.h.

#define STS_MDBF   0x10

Definition at line 79 of file i2c-ibm_iic.h.

#define STS_MDBS   0x20

Definition at line 78 of file i2c-ibm_iic.h.

#define STS_PT   0x01

Definition at line 83 of file i2c-ibm_iic.h.

#define STS_SCMP   0x08

Definition at line 80 of file i2c-ibm_iic.h.

#define STS_SLPR   0x40

Definition at line 77 of file i2c-ibm_iic.h.

#define STS_SSS   0x80

Definition at line 76 of file i2c-ibm_iic.h.

#define XFRCNT_MTC_MASK   0x07

Definition at line 105 of file i2c-ibm_iic.h.

#define XTCNTLSS_SRC   0x80

Definition at line 108 of file i2c-ibm_iic.h.

#define XTCNTLSS_SRS   0x40

Definition at line 109 of file i2c-ibm_iic.h.

#define XTCNTLSS_SRST   0x01

Definition at line 112 of file i2c-ibm_iic.h.

#define XTCNTLSS_SWC   0x20

Definition at line 110 of file i2c-ibm_iic.h.

#define XTCNTLSS_SWS   0x10

Definition at line 111 of file i2c-ibm_iic.h.