Lines Matching defs:subsize
95 int (*xfer)(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
388 static int kw_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
401 if (subsize != 0)
406 if (subsize != 1)
411 if (subsize != 1)
653 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
676 if (subsize != 0)
683 if (subsize != 1)
818 static int smu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
837 if (subsize != 0)
843 if (subsize > 3 || subsize < 1)
845 cmd->info.sublen = subsize;
847 memcpy(&cmd->info.subaddr, ((char *)&subaddr) + (4 - subsize),
848 subsize);
1130 int pmac_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
1137 DBG("xfer() chan=%d, addrdir=0x%x, mode=%d, subsize=%d, subaddr=0x%x,"
1138 " %d bytes, bus %s\n", bus->channel, addrdir, bus->mode, subsize,
1141 rc = bus->xfer(bus, addrdir, subsize, subaddr, data, len);