Lines Matching refs:addrdir
39 int addrdir = (addr << 1) | read; in i2c_powermac_smbus_xfer() local
106 rc = pmac_i2c_xfer(bus, addrdir, subsize, subaddr, buf, len); in i2c_powermac_smbus_xfer()
111 "err %d\n", addrdir >> 1, size, rc); in i2c_powermac_smbus_xfer()
115 "err %d\n", addrdir >> 1, size, rc); in i2c_powermac_smbus_xfer()
140 int addrdir; in i2c_powermac_master_xfer() local
144 addrdir = i2c_8bit_addr_from_msg(msgs); in i2c_powermac_master_xfer()
157 rc = pmac_i2c_xfer(bus, addrdir, 0, 0, msgs->buf, msgs->len); in i2c_powermac_master_xfer()
161 addrdir & 1 ? "read from" : "write to", in i2c_powermac_master_xfer()
162 addrdir >> 1, rc); in i2c_powermac_master_xfer()
165 addrdir & 1 ? "read from" : "write to", in i2c_powermac_master_xfer()
166 addrdir >> 1, rc); in i2c_powermac_master_xfer()