Lines Matching defs:i2c

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 inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8()
100 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16()
105 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32()
110 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg()
115 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) in oc_getreg()
120 static void ocores_process(struct ocores_i2c *i2c) in ocores_process()
192 struct ocores_i2c *i2c = dev_id; in ocores_isr() local
201 struct ocores_i2c *i2c = i2c_get_adapdata(adap); in ocores_xfer() local
221 static int ocores_init(struct device *dev, struct ocores_i2c *i2c) in ocores_init()
286 static u8 oc_getreg_grlib(struct ocores_i2c *i2c, int reg) in oc_getreg_grlib()
299 static void oc_setreg_grlib(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_grlib()
318 struct ocores_i2c *i2c) in ocores_i2c_of_probe()
390 #define ocores_i2c_of_probe(pdev,i2c) -ENODEV argument
395 struct ocores_i2c *i2c; in ocores_i2c_probe() local
491 struct ocores_i2c *i2c = platform_get_drvdata(pdev); in ocores_i2c_remove() local
509 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_suspend() local
522 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_resume() local