Lines Matching refs:IoC
33 #define SK_I2C_CTL(IoC, flag, dev, dev_size, reg, burst) \ argument
34 SK_OUT32(IoC, B2_I2C_CTRL,\
41 #define SK_I2C_STOP(IoC) { \ argument
43 SK_IN32(IoC, B2_I2C_CTRL, &I2cCtrl); \
44 SK_OUT32(IoC, B2_I2C_CTRL, I2cCtrl | I2C_STOP); \
47 #define SK_I2C_GET_CTL(IoC, pI2cCtrl) SK_IN32(IoC, B2_I2C_CTRL, pI2cCtrl) argument
52 #define SK_I2C_SET_BIT(IoC, SetBits) { \ argument
54 SK_IN8(IoC, B2_I2C_SW, &OrgBits); \
55 SK_OUT8(IoC, B2_I2C_SW, OrgBits | (SK_U8)(SetBits)); \
58 #define SK_I2C_CLR_BIT(IoC, ClrBits) { \ argument
60 SK_IN8(IoC, B2_I2C_SW, &OrgBits); \
61 SK_OUT8(IoC, B2_I2C_SW, OrgBits & ~((SK_U8)(ClrBits))); \
64 #define SK_I2C_GET_SW(IoC, pI2cSw) SK_IN8(IoC, B2_I2C_SW, pI2cSw) argument
207 extern int SkLm80ReadSensor(SK_AC *pAC, SK_IOC IoC, SK_SENSOR *pSen);