Home
last modified time | relevance | path

Searched refs:i2c_r_resid (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/sun4u/io/i2c/nexus/
H A Dsmbus.c817 tp->i2c_r_resid = tp->i2c_rlen; in smbus_transfer()
826 tp->i2c_r_resid, tp->i2c_w_resid, tp->i2c_flags)); in smbus_transfer()
1151 tp->i2c_flags, tp->i2c_w_resid, tp->i2c_r_resid, src)); in smbus_intr_cmn()
1312 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] = in smbus_rd()
1315 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid])); in smbus_rd()
1316 tp->i2c_r_resid--; in smbus_rd()
1319 if (tp->i2c_r_resid == 0) { in smbus_rd()
1330 if (tp->i2c_r_resid == 0) { in smbus_rd()
1342 "bytes_to_read=%d\n", addr, tp->i2c_r_resid, in smbus_rd()
H A Di2bsc.c1052 residual = tp->i2c_w_resid + tp->i2c_r_resid; in i2bsc_upload()
1080 while (tp->i2c_r_resid && quota) { in i2bsc_upload()
1081 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] = in i2bsc_upload()
1085 tp->i2c_r_resid--; in i2bsc_upload()
1160 tp->i2c_r_resid = tp->i2c_rlen; in i2bsc_safe_upload()
1193 tp->i2c_r_resid = tp->i2c_rlen; in i2bsc_transfer()
1210 " %d/%d", tp->i2c_w_resid, tp->i2c_r_resid); in i2bsc_transfer()
H A Dpcf8584.c1278 if (tp->i2c_r_resid == 1) { in pcf8584_process()
1309 if (tp->i2c_r_resid == 1) { in pcf8584_process()
1318 if (tp->i2c_r_resid == 2) { in pcf8584_process()
1325 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] = in pcf8584_process()
1331 tp->i2c_r_resid, tp->i2c_rbuf[tp->i2c_rlen - in pcf8584_process()
1332 tp->i2c_r_resid])); in pcf8584_process()
1334 if (--tp->i2c_r_resid == 0) { in pcf8584_process()
1400 tp->i2c_r_resid = tp->i2c_rlen; in pcf8584_transfer()
/titanic_41/usr/src/uts/sun4u/sys/i2c/misc/
H A Di2c_svc.h65 uint16_t i2c_r_resid; /* O: bytes not read */ member
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/
H A Dseeprom.c511 actual_data_xfer = i2ctp->i2c_rlen - i2ctp->i2c_r_resid; in seeprom_io()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c480 if (i2ctp->i2c_rlen - i2ctp->i2c_r_resid > 0) { in call_copyout()
491 i2c_actlen = i2ctp->i2c_rlen - i2ctp->i2c_r_resid; in call_copyout()
H A Dpcf8574_nct.c952 if (i2ctp->i2c_rlen > i2ctp->i2c_r_resid) { in call_copyout()
964 i2ctp->i2c_rlen - i2ctp->i2c_r_resid, mode) in call_copyout()