Lines Matching defs:i2c
88 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8()
93 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16()
98 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32()
103 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be()
108 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be()
113 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8()
118 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16()
123 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32()
128 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be()
133 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be()
138 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg()
143 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) in oc_getreg()
148 static void ocores_process(struct ocores_i2c *i2c, u8 stat) in ocores_process()
227 struct ocores_i2c *i2c = dev_id; in ocores_isr() local
245 static void ocores_process_timeout(struct ocores_i2c *i2c) in ocores_process_timeout()
268 static int ocores_wait(struct ocores_i2c *i2c, in ocores_wait()
295 static int ocores_poll_wait(struct ocores_i2c *i2c) in ocores_poll_wait()
337 static int ocores_process_polling(struct ocores_i2c *i2c) in ocores_process_polling()
360 static int ocores_xfer_core(struct ocores_i2c *i2c, in ocores_xfer_core()
409 static int ocores_init(struct device *dev, struct ocores_i2c *i2c) in ocores_init()
484 static u8 oc_getreg_grlib(struct ocores_i2c *i2c, int reg) in oc_getreg_grlib()
498 static void oc_setreg_grlib(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_grlib()
518 struct ocores_i2c *i2c) in ocores_i2c_of_probe()
583 #define ocores_i2c_of_probe(pdev, i2c) -ENODEV argument
588 struct ocores_i2c *i2c; in ocores_i2c_probe() local
728 struct ocores_i2c *i2c = platform_get_drvdata(pdev); in ocores_i2c_remove() local
741 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_suspend() local
754 struct ocores_i2c *i2c = dev_get_drvdata(dev); in ocores_i2c_resume() local