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

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

Completed in 72 milliseconds