ocores_i2c
static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value)
static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value)
static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg)
static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg)
static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg)
static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg)
static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg)
static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value)
static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg)
static void ocores_process(struct ocores_i2c *i2c, u8 stat)
struct ocores_i2c *i2c = dev_id;
static void ocores_process_timeout(struct ocores_i2c *i2c)
static int ocores_wait(struct ocores_i2c *i2c,
static int ocores_poll_wait(struct ocores_i2c *i2c)
static int ocores_process_polling(struct ocores_i2c *i2c)
static int ocores_xfer_core(struct ocores_i2c *i2c,
static int ocores_init(struct device *dev, struct ocores_i2c *i2c)
void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value);
static u8 oc_getreg_grlib(struct ocores_i2c *i2c, int reg)
u8 (*getreg)(struct ocores_i2c *i2c, int reg);
static void oc_setreg_grlib(struct ocores_i2c *i2c, int reg, u8 value)
struct ocores_i2c *i2c)
struct ocores_i2c *i2c;
struct ocores_i2c *i2c = platform_get_drvdata(pdev);
struct ocores_i2c *i2c = dev_get_drvdata(dev);
struct ocores_i2c *i2c = dev_get_drvdata(dev);
static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value)
static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value)
static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value)