Lines Matching refs:highlander_i2c_dev
40 struct highlander_i2c_dev { struct
54 static inline void highlander_i2c_irq_enable(struct highlander_i2c_dev *dev) in highlander_i2c_irq_enable() argument
59 static inline void highlander_i2c_irq_disable(struct highlander_i2c_dev *dev) in highlander_i2c_irq_disable()
64 static inline void highlander_i2c_start(struct highlander_i2c_dev *dev) in highlander_i2c_start()
69 static inline void highlander_i2c_done(struct highlander_i2c_dev *dev) in highlander_i2c_done()
74 static void highlander_i2c_setup(struct highlander_i2c_dev *dev) in highlander_i2c_setup()
111 static void highlander_i2c_command(struct highlander_i2c_dev *dev, in highlander_i2c_command()
125 static int highlander_i2c_wait_for_bbsy(struct highlander_i2c_dev *dev) in highlander_i2c_wait_for_bbsy()
142 static int highlander_i2c_reset(struct highlander_i2c_dev *dev) in highlander_i2c_reset()
148 static int highlander_i2c_wait_for_ack(struct highlander_i2c_dev *dev) in highlander_i2c_wait_for_ack()
162 struct highlander_i2c_dev *dev = dev_id; in highlander_i2c_irq()
170 static void highlander_i2c_poll(struct highlander_i2c_dev *dev) in highlander_i2c_poll()
197 static inline int highlander_i2c_wait_xfer_done(struct highlander_i2c_dev *dev) in highlander_i2c_wait_xfer_done()
209 static int highlander_i2c_read(struct highlander_i2c_dev *dev) in highlander_i2c_read()
254 static int highlander_i2c_write(struct highlander_i2c_dev *dev) in highlander_i2c_write()
280 struct highlander_i2c_dev *dev = i2c_get_adapdata(adap); in highlander_i2c_smbus_xfer()
357 struct highlander_i2c_dev *dev; in highlander_i2c_probe()
368 dev = kzalloc(sizeof(struct highlander_i2c_dev), GFP_KERNEL); in highlander_i2c_probe()
440 struct highlander_i2c_dev *dev = platform_get_drvdata(pdev); in highlander_i2c_remove()