Lines Matching refs:i2c_au1550_data
47 struct i2c_au1550_data { struct
53 static inline void WR(struct i2c_au1550_data *a, int r, unsigned long v) in WR() argument
59 static inline unsigned long RD(struct i2c_au1550_data *a, int r) in RD()
64 static int wait_xfer_done(struct i2c_au1550_data *adap) in wait_xfer_done()
79 static int wait_ack(struct i2c_au1550_data *adap) in wait_ack()
93 static int wait_master_done(struct i2c_au1550_data *adap) in wait_master_done()
108 do_address(struct i2c_au1550_data *adap, unsigned int addr, int rd, int q) in do_address()
140 static int wait_for_rx_byte(struct i2c_au1550_data *adap, unsigned char *out) in wait_for_rx_byte()
164 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read()
194 static int i2c_write(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_write()
224 struct i2c_au1550_data *adap = i2c_adap->algo_data; in au1550_xfer()
262 static void i2c_au1550_setup(struct i2c_au1550_data *priv) in i2c_au1550_setup()
299 static void i2c_au1550_disable(struct i2c_au1550_data *priv) in i2c_au1550_disable()
313 struct i2c_au1550_data *priv; in i2c_au1550_probe()
317 priv = devm_kzalloc(&pdev->dev, sizeof(struct i2c_au1550_data), in i2c_au1550_probe()
350 struct i2c_au1550_data *priv = platform_get_drvdata(pdev); in i2c_au1550_remove()
360 struct i2c_au1550_data *priv = dev_get_drvdata(dev); in i2c_au1550_suspend()
369 struct i2c_au1550_data *priv = dev_get_drvdata(dev); in i2c_au1550_resume()