Lines Matching refs:addrdir
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
432 kw_write_reg(reg_addr, addrdir & 0xff); in kw_i2c_xfer()
444 host->rw = (addrdir & 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
679 int read = addrdir & 1; in pmu_i2c_xfer()
698 hdr->address = addrdir; in pmu_i2c_xfer()
705 hdr->address = addrdir & 0xfe; in pmu_i2c_xfer()
706 hdr->comb_addr = addrdir; in pmu_i2c_xfer()
840 static int smu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in smu_i2c_xfer() argument
845 int read = addrdir & 1; in smu_i2c_xfer()
854 cmd->info.devaddr = addrdir; 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()