Searched refs:pmac_i2c_bus (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/include/asm/ |
D | pmac_low_i2c.h | 49 struct pmac_i2c_bus; 60 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node); 69 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus); 70 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus); 71 extern int pmac_i2c_get_type(struct pmac_i2c_bus *bus); 72 extern int pmac_i2c_get_flags(struct pmac_i2c_bus *bus); 73 extern int pmac_i2c_get_channel(struct pmac_i2c_bus *bus); 76 extern struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus); 77 extern struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter); 92 extern int pmac_i2c_open(struct pmac_i2c_bus *bus, int polled); [all …]
|
/arch/powerpc/platforms/powermac/ |
D | low_i2c.c | 78 struct pmac_i2c_bus struct 95 int (*open)(struct pmac_i2c_bus *bus); argument 96 void (*close)(struct pmac_i2c_bus *bus); argument 97 int (*xfer)(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, argument 386 static int kw_i2c_open(struct pmac_i2c_bus *bus) in kw_i2c_open() 393 static void kw_i2c_close(struct pmac_i2c_bus *bus) in kw_i2c_close() 399 static int kw_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in kw_i2c_xfer() 574 struct pmac_i2c_bus *bus; in kw_i2c_add() 576 bus = kzalloc(sizeof(struct pmac_i2c_bus), GFP_KERNEL); in kw_i2c_add() 676 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmu_i2c_xfer() [all …]
|
D | smp.c | 509 static struct pmac_i2c_bus *pmac_tb_clock_chip_host;
|