Lines Matching defs:i2c
97 static inline void nuc900_i2c_master_complete(struct nuc900_i2c *i2c, int ret) in nuc900_i2c_master_complete()
113 static inline void nuc900_i2c_disable_irq(struct nuc900_i2c *i2c) in nuc900_i2c_disable_irq()
121 static inline void nuc900_i2c_enable_irq(struct nuc900_i2c *i2c) in nuc900_i2c_enable_irq()
135 static void nuc900_i2c_message_start(struct nuc900_i2c *i2c, in nuc900_i2c_message_start()
146 static inline void nuc900_i2c_stop(struct nuc900_i2c *i2c, int ret) in nuc900_i2c_stop()
168 static inline int is_lastmsg(struct nuc900_i2c *i2c) in is_lastmsg()
178 static inline int is_msglast(struct nuc900_i2c *i2c) in is_msglast()
188 static inline int is_msgend(struct nuc900_i2c *i2c) in is_msgend()
198 static void i2c_nuc900_irq_nextbyte(struct nuc900_i2c *i2c, in i2c_nuc900_irq_nextbyte()
358 struct nuc900_i2c *i2c = dev_id; in nuc900_i2c_irq() local
391 static int nuc900_i2c_set_master(struct nuc900_i2c *i2c) in nuc900_i2c_set_master()
412 static int nuc900_i2c_doxfer(struct nuc900_i2c *i2c, in nuc900_i2c_doxfer()
481 struct nuc900_i2c *i2c = (struct nuc900_i2c *)adap->algo_data; in nuc900_i2c_xfer() local
522 struct nuc900_i2c *i2c; in nuc900_i2c_probe() local
667 struct nuc900_i2c *i2c = platform_get_drvdata(pdev); in nuc900_i2c_remove() local