Lines Matching refs:bbc_i2c_bus
55 struct bbc_i2c_bus { struct
56 struct bbc_i2c_bus *next; argument
73 static struct bbc_i2c_bus *all_bbc_i2c; argument
76 struct bbc_i2c_bus *bp;
82 static int find_device(struct bbc_i2c_bus *bp, struct linux_ebus_child *echild) in find_device()
96 static void set_device_claimage(struct bbc_i2c_bus *bp, struct linux_ebus_child *echild, int val) in set_device_claimage()
111 static struct bbc_i2c_bus *find_bus_for_device(struct linux_ebus_child *echild) in find_bus_for_device()
113 struct bbc_i2c_bus *bp = all_bbc_i2c; in find_bus_for_device()
126 struct bbc_i2c_bus *bp = all_bbc_i2c; in bbc_i2c_getdev()
131 struct bbc_i2c_bus *next = bp->next; in bbc_i2c_getdev()
152 struct bbc_i2c_bus *bp = find_bus_for_device(echild); in bbc_i2c_attach()
173 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach()
180 static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) in wait_for_pin()
208 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_writeb()
239 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_readb()
335 struct bbc_i2c_bus *bp = dev_id; in bbc_i2c_interrupt()
345 static void __init reset_one_i2c(struct bbc_i2c_bus *bp) in reset_one_i2c()
356 struct bbc_i2c_bus *bp = kmalloc(sizeof(*bp), GFP_KERNEL); in attach_one_i2c()
463 struct bbc_i2c_bus *bp = all_bbc_i2c; in bbc_i2c_cleanup()
468 struct bbc_i2c_bus *next = bp->next; in bbc_i2c_cleanup()