Searched refs:bbc_i2c_bus (Results 1 – 3 of 3) sorted by relevance
/drivers/sbus/char/ |
D | bbc_i2c.c | 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() [all …]
|
D | bbc_i2c.h | 10 struct bbc_i2c_bus *bp; 54 struct bbc_i2c_bus { struct 55 struct bbc_i2c_bus *next; argument 76 extern struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *, int); argument 77 extern struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *);
|
D | bbc_envctrl.c | 446 static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op, in attach_one_temp() 494 static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op, in attach_one_fan() 538 static void destroy_all_temps(struct bbc_i2c_bus *bp) in destroy_all_temps() 555 static void destroy_all_fans(struct bbc_i2c_bus *bp) in destroy_all_fans() 566 int bbc_envctrl_init(struct bbc_i2c_bus *bp) in bbc_envctrl_init() 594 void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp) in bbc_envctrl_cleanup()
|