Lines Matching defs:st_i2c_dev
170 * struct st_i2c_dev - private data of the controller
183 struct st_i2c_dev {
235 static void st_i2c_flush_rx_fifo(struct st_i2c_dev *i2c_dev)
254 static void st_i2c_soft_reset(struct st_i2c_dev *i2c_dev)
270 static void st_i2c_hw_config(struct st_i2c_dev *i2c_dev)
339 struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap);
369 static int st_i2c_wait_free_bus(struct st_i2c_dev *i2c_dev)
398 static inline void st_i2c_write_tx_fifo(struct st_i2c_dev *i2c_dev, u8 byte)
412 static void st_i2c_wr_fill_tx_fifo(struct st_i2c_dev *i2c_dev)
442 static void st_i2c_rd_fill_tx_fifo(struct st_i2c_dev *i2c_dev, int max)
464 static void st_i2c_read_rx_fifo(struct st_i2c_dev *i2c_dev)
493 static void st_i2c_terminate_xfer(struct st_i2c_dev *i2c_dev)
513 static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev)
530 static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev)
567 struct st_i2c_dev *i2c_dev = data;
645 static int st_i2c_xfer_msg(struct st_i2c_dev *i2c_dev, struct i2c_msg *msg,
716 struct st_i2c_dev *i2c_dev = i2c_get_adapdata(i2c_adap);
745 struct st_i2c_dev *i2c_dev = dev_get_drvdata(dev);
781 struct st_i2c_dev *i2c_dev)
805 struct st_i2c_dev *i2c_dev;
880 struct st_i2c_dev *i2c_dev = platform_get_drvdata(pdev);