Searched refs:bbc_i2c_client (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/sbus/char/ |
H A D | bbc_i2c.h | 8 struct bbc_i2c_client { struct 21 struct bbc_i2c_client *client; argument 43 struct bbc_i2c_client *client; 76 extern struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *); 77 extern void bbc_i2c_detach(struct bbc_i2c_client *); 80 extern int bbc_i2c_writeb(struct bbc_i2c_client *, unsigned char val, int off); 81 extern int bbc_i2c_readb(struct bbc_i2c_client *, unsigned char *byte, int off); 82 extern int bbc_i2c_write_buf(struct bbc_i2c_client *, char *buf, int len, int off); 83 extern int bbc_i2c_read_buf(struct bbc_i2c_client *, char *buf, int len, int off);
|
H A D | bbc_i2c.c | 90 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() 92 struct bbc_i2c_client *client; in bbc_i2c_attach() 115 void bbc_i2c_detach(struct bbc_i2c_client *client) in bbc_i2c_detach() 151 int bbc_i2c_writeb(struct bbc_i2c_client *client, unsigned char val, int off) in bbc_i2c_writeb() 182 int bbc_i2c_readb(struct bbc_i2c_client *client, unsigned char *byte, int off) in bbc_i2c_readb() 231 int bbc_i2c_write_buf(struct bbc_i2c_client *client, in bbc_i2c_write_buf() 247 int bbc_i2c_read_buf(struct bbc_i2c_client *client, in bbc_i2c_read_buf()
|