Lines Matching refs:pmac_i2c_bus
44 struct pmac_i2c_bus;
55 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node);
64 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus);
65 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus);
66 extern int pmac_i2c_get_type(struct pmac_i2c_bus *bus);
67 extern int pmac_i2c_get_flags(struct pmac_i2c_bus *bus);
68 extern int pmac_i2c_get_channel(struct pmac_i2c_bus *bus);
71 extern struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus);
72 extern struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter);
87 extern int pmac_i2c_open(struct pmac_i2c_bus *bus, int polled);
88 extern void pmac_i2c_close(struct pmac_i2c_bus *bus);
89 extern int pmac_i2c_setmode(struct pmac_i2c_bus *bus, int mode);
90 extern int pmac_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,