Lines Matching refs:subsize
94 int (*xfer)(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
396 static int kw_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in kw_i2c_xfer() argument
409 if (subsize != 0) in kw_i2c_xfer()
414 if (subsize != 1) in kw_i2c_xfer()
419 if (subsize != 1) in kw_i2c_xfer()
673 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmu_i2c_xfer() argument
696 if (subsize != 0) in pmu_i2c_xfer()
703 if (subsize != 1) in pmu_i2c_xfer()
840 static int smu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in smu_i2c_xfer() argument
859 if (subsize != 0) in smu_i2c_xfer()
865 if (subsize > 3 || subsize < 1) in smu_i2c_xfer()
867 cmd->info.sublen = subsize; in smu_i2c_xfer()
869 memcpy(&cmd->info.subaddr, ((char *)&subaddr) + (4 - subsize), in smu_i2c_xfer()
870 subsize); in smu_i2c_xfer()
1137 int pmac_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmac_i2c_xfer() argument
1145 " %d bytes, bus %pOF\n", bus->channel, addrdir, bus->mode, subsize, in pmac_i2c_xfer()
1148 rc = bus->xfer(bus, addrdir, subsize, subaddr, data, len); in pmac_i2c_xfer()