Lines Matching refs:pmac_i2c_bus
74 struct pmac_i2c_bus struct
92 int (*open)(struct pmac_i2c_bus *bus); argument
93 void (*close)(struct pmac_i2c_bus *bus); argument
94 int (*xfer)(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, argument
383 static int kw_i2c_open(struct pmac_i2c_bus *bus) in kw_i2c_open()
390 static void kw_i2c_close(struct pmac_i2c_bus *bus) in kw_i2c_close()
396 static int kw_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in kw_i2c_xfer()
569 struct pmac_i2c_bus *bus; in kw_i2c_add()
571 bus = kzalloc(sizeof(struct pmac_i2c_bus), GFP_KERNEL); in kw_i2c_add()
673 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmu_i2c_xfer()
779 struct pmac_i2c_bus *bus; in pmu_i2c_probe()
802 sz = sizeof(struct pmac_i2c_bus) + sizeof(struct adb_request); in pmu_i2c_probe()
840 static int smu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in smu_i2c_xfer()
899 struct pmac_i2c_bus *bus; in smu_i2c_probe()
926 sz = sizeof(struct pmac_i2c_bus) + sizeof(struct smu_i2c_cmd); in smu_i2c_probe()
958 struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node) in pmac_i2c_find_bus()
962 struct pmac_i2c_bus *bus; in pmac_i2c_find_bus()
1000 struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus) in pmac_i2c_get_controller()
1006 struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus) in pmac_i2c_get_bus_node()
1012 int pmac_i2c_get_type(struct pmac_i2c_bus *bus) in pmac_i2c_get_type()
1018 int pmac_i2c_get_flags(struct pmac_i2c_bus *bus) in pmac_i2c_get_flags()
1024 int pmac_i2c_get_channel(struct pmac_i2c_bus *bus) in pmac_i2c_get_channel()
1031 struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus) in pmac_i2c_get_adapter()
1037 struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter) in pmac_i2c_adapter_to_bus()
1039 struct pmac_i2c_bus *bus; in pmac_i2c_adapter_to_bus()
1050 struct pmac_i2c_bus *bus = pmac_i2c_find_bus(dev); in pmac_i2c_match_adapter()
1060 struct pmac_i2c_bus *bus, *found = NULL; in pmac_low_i2c_lock()
1076 struct pmac_i2c_bus *bus, *found = NULL; in pmac_low_i2c_unlock()
1092 int pmac_i2c_open(struct pmac_i2c_bus *bus, int polled) in pmac_i2c_open()
1109 void pmac_i2c_close(struct pmac_i2c_bus *bus) in pmac_i2c_close()
1119 int pmac_i2c_setmode(struct pmac_i2c_bus *bus, int mode) in pmac_i2c_setmode()
1137 int pmac_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmac_i2c_xfer()
1167 struct pmac_i2c_bus *bus; in pmac_i2c_devscan()
1224 struct pmac_i2c_bus *bus;
1235 struct pmac_i2c_bus *bus; in pmac_i2c_do_begin()
1489 struct pmac_i2c_bus *bus; in pmac_i2c_create_platform_devices()