Lines Matching defs:addrdir
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,
424 kw_write_reg(reg_addr, addrdir & 0xff);
436 host->rw = (addrdir & 1);
653 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
659 int read = addrdir & 1;
678 hdr->address = addrdir;
685 hdr->address = addrdir & 0xfe;
686 hdr->comb_addr = addrdir;
818 static int smu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize,
823 int read = addrdir & 1;
832 cmd->info.devaddr = addrdir;
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);