Lines Matching refs:bbc_i2c_bus
54 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage()
69 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev()
89 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach()
116 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach()
123 static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) in wait_for_pin()
152 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_writeb()
183 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_readb()
273 struct bbc_i2c_bus *bp = dev_id; in bbc_i2c_interrupt()
285 static void reset_one_i2c(struct bbc_i2c_bus *bp) in reset_one_i2c()
294 static struct bbc_i2c_bus * attach_one_i2c(struct platform_device *op, int index) in attach_one_i2c()
296 struct bbc_i2c_bus *bp; in attach_one_i2c()
360 extern int bbc_envctrl_init(struct bbc_i2c_bus *bp);
361 extern void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp);
365 struct bbc_i2c_bus *bp; in bbc_i2c_probe()
389 struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); in bbc_i2c_remove()