Lines Matching refs:ocores_i2c

29 struct ocores_i2c {  struct
42 void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value); argument
43 u8 (*getreg)(struct ocores_i2c *i2c, int reg); argument
80 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8()
85 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16()
90 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32()
95 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be()
100 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be()
105 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8()
110 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16()
115 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32()
120 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be()
125 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be()
130 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg()
135 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) in oc_getreg()
140 static void ocores_process(struct ocores_i2c *i2c) in ocores_process()
209 struct ocores_i2c *i2c = dev_id; in ocores_isr()
218 struct ocores_i2c *i2c = i2c_get_adapdata(adap); in ocores_xfer()
235 static int ocores_init(struct device *dev, struct ocores_i2c *i2c) in ocores_init()
300 static u8 oc_getreg_grlib(struct ocores_i2c *i2c, int reg) in oc_getreg_grlib()
313 static void oc_setreg_grlib(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_grlib()
332 struct ocores_i2c *i2c) in ocores_i2c_of_probe()
410 struct ocores_i2c *i2c; in ocores_i2c_probe()
512 struct ocores_i2c *i2c = platform_get_drvdata(pdev); in ocores_i2c_remove()
530 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_suspend()
543 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_resume()