Lines Matching refs:altr_i2c_dev
74 struct altr_i2c_dev { struct
92 altr_i2c_int_enable(struct altr_i2c_dev *idev, u32 mask, bool enable) in altr_i2c_int_enable() argument
105 static void altr_i2c_int_clear(struct altr_i2c_dev *idev, u32 mask) in altr_i2c_int_clear()
112 static void altr_i2c_core_disable(struct altr_i2c_dev *idev) in altr_i2c_core_disable()
119 static void altr_i2c_core_enable(struct altr_i2c_dev *idev) in altr_i2c_core_enable()
126 static void altr_i2c_reset(struct altr_i2c_dev *idev) in altr_i2c_reset()
132 static inline void altr_i2c_stop(struct altr_i2c_dev *idev) in altr_i2c_stop()
137 static void altr_i2c_init(struct altr_i2c_dev *idev) in altr_i2c_init()
179 static void altr_i2c_transfer(struct altr_i2c_dev *idev, u32 data) in altr_i2c_transfer()
192 static void altr_i2c_empty_rx_fifo(struct altr_i2c_dev *idev) in altr_i2c_empty_rx_fifo()
207 static int altr_i2c_fill_tx_fifo(struct altr_i2c_dev *idev) in altr_i2c_fill_tx_fifo()
224 struct altr_i2c_dev *idev = _dev; in altr_i2c_isr_quick()
239 struct altr_i2c_dev *idev = _dev; in altr_i2c_isr()
305 static int altr_i2c_xfer_msg(struct altr_i2c_dev *idev, struct i2c_msg *msg) in altr_i2c_xfer_msg()
362 struct altr_i2c_dev *idev = i2c_get_adapdata(adap); in altr_i2c_xfer()
385 struct altr_i2c_dev *idev = NULL; in altr_i2c_probe()
470 struct altr_i2c_dev *idev = platform_get_drvdata(pdev); in altr_i2c_remove()