Searched refs:i2c_rbuf (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c291 tempVal = i2c_tp->i2c_rbuf[0];
302 (uchar_t)(i2c_tp->i2c_rbuf[0]& 0x7f);
526 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
539 if (bcmp(tod_read, i2c_tp->i2c_rbuf, 7) != 0) {
545 } while (i2c_tp->i2c_rbuf[0] == 0x59 &&
547 bcmp(&tod_read[1], &i2c_tp->i2c_rbuf[1], 6) != 0 &&
554 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
557 rtc->rtc_year = bcd2int(i2c_tp->i2c_rbuf[6]);
558 rtc->rtc_mon = bcd2int(i2c_tp->i2c_rbuf[5]);
559 rtc->rtc_dom = bcd2int(i2c_tp->i2c_rbuf[
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c372 unitp->i2c_tran->i2c_rbuf[0] =
373 translate_cputemp(unitp->i2c_tran->i2c_rbuf[1]);
375 unitp->i2c_tran->i2c_rbuf[0] =
376 unitp->i2c_tran->i2c_rbuf[1];
377 unitp->i2c_tran->i2c_rbuf[1] = 0;
380 err = uiomove(unitp->i2c_tran->i2c_rbuf,
421 rbuf = i2ctp->i2c_rbuf;
426 i2ctp->i2c_rbuf = rbuf;
492 if (ddi_copyout(i2ctp->i2c_rbuf, i2ct.i2c_rbuf,
[all...]
H A Dpcf8574_nct.c339 err = uiomove(unitp->i2c_tran->i2c_rbuf,
785 value = unitp->i2c_tran->i2c_rbuf[0];
894 rbuf = i2ctp->i2c_rbuf;
899 i2ctp->i2c_rbuf = rbuf;
963 if (ddi_copyout(i2ctp->i2c_rbuf, i2ct.i2c_rbuf,
1093 value = unitp->i2c_tran->i2c_rbuf[0];
1348 tp->i2c_rbuf[i] &= unitp->readmask;
1405 tp->i2c_rbuf[i] &= ~(bitpattern);
1407 tp->i2c_rbuf[
[all...]
H A Dscsb.c5302 i2cxferp->i2c_rbuf[0] = 0;
5311 i2cxferp->i2c_rbuf[0]);
5312 reg_data = i2cxferp->i2c_rbuf[0];
5345 i2cxferp->i2c_wbuf[1] : i2cxferp->i2c_rbuf[0]);
5421 i2cxferp->i2c_rbuf[i];
6779 scsb->scsb_data_reg[index] = i2cxferp->i2c_rbuf[0];
6780 scsb->scsb_data_reg[index+1] = i2cxferp->i2c_rbuf[1];
6912 scsb->scsb_data_reg[index] = i2cxferp->i2c_rbuf[0];
6913 scsb->scsb_data_reg[index+1] = i2cxferp->i2c_rbuf[1];
7274 rwbuf[i] = i2cxferp->i2c_rbuf[
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dmax1617.c380 unitp->max1617_cpr_state.max1617_config = i2ctp->i2c_rbuf[0];
387 unitp->max1617_cpr_state.max1617_conv_rate = i2ctp->i2c_rbuf[0];
394 unitp->max1617_cpr_state.max1617_lcl_hlimit = i2ctp->i2c_rbuf[0];
401 unitp->max1617_cpr_state.max1617_remote_hlimit = i2ctp->i2c_rbuf[0];
408 unitp->max1617_cpr_state.max1617_lcl_llimit = i2ctp->i2c_rbuf[0];
415 unitp->max1617_cpr_state.max1617_remote_llimit = i2ctp->i2c_rbuf[0];
579 temp16 = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]);
660 int16_t temp = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]);
679 if (ddi_copyout((caddr_t)i2ctp->i2c_rbuf, (caddr_t)arg,
695 if (ddi_copyout((caddr_t)i2ctp->i2c_rbuf, (caddr_
[all...]
H A Dadm1031.c497 admp->adm1031_transfer->i2c_rbuf[0];
506 admp->adm1031_transfer->i2c_rbuf[0];
515 admp->adm1031_transfer->i2c_rbuf[0];
692 f_set = admp->adm1031_transfer->i2c_rbuf[0];
737 admp->adm1031_transfer->i2c_rbuf[0];
752 admp->adm1031_transfer->i2c_rbuf[0];
755 temp = admp->adm1031_transfer->i2c_rbuf[0] &
830 temp = admp->adm1031_transfer->i2c_rbuf[0];
919 temp[0] = admp->adm1031_transfer->i2c_rbuf[0];
926 temp[1] = admp->adm1031_transfer->i2c_rbuf[
[all...]
H A Dlm75.c248 unitp->lm75_name, i2c_tran_pointer->i2c_rbuf[0],
249 i2c_tran_pointer->i2c_rbuf[0]));
250 temp16 = i2c_tran_pointer->i2c_rbuf[0];
252 temp16 = (temp16 | ((i2c_tran_pointer->i2c_rbuf[1] & 0x80) >> 7));
389 if (ddi_copyout((caddr_t)i2c_tran_pointer->i2c_rbuf,
H A Dpcf8591.c302 i2c_tran_pointer->i2c_rbuf[0] = i2c_tran_pointer->i2c_rbuf[1];
303 value = i2c_tran_pointer->i2c_rbuf[0];
H A Dpca9556.c495 pcap->pca9556_transfer->i2c_rbuf[0];
716 pcap->pca9556_transfer->i2c_rbuf[0];
728 temp = pcap->pca9556_transfer->i2c_rbuf[0] & (~g_buf.reg_mask);
H A Dics951601.c401 icsp->ics951601_transfer->i2c_rbuf = icsp->ics951601_cpr_state + 1;
524 icsp->ics951601_transfer->i2c_rbuf = temp_arr + 1;
H A Dpcf8574.c246 i2c_tran_pointer->i2c_rbuf[0]));
247 *byte = i2c_tran_pointer->i2c_rbuf[0];
H A Dssc100.c249 *byte = i2c_tran_pointer->i2c_rbuf[0];
709 if ((err = uiomove(i2ctp->i2c_rbuf, current_xfer_len,
H A Dpic16f819.c164 *byte = i2c_tran_pointer->i2c_rbuf[0];
H A Dadm1026.c399 *val = i2c_tran_pointer->i2c_rbuf[0];
H A Dseeprom.c513 err = uiomove(i2ctp->i2c_rbuf, actual_data_xfer,
H A Dssc050.c272 *byte = i2c_tran_pointer->i2c_rbuf[0];
451 "i2c_rbuf = 0", unitp->name));
/illumos-gate/usr/src/uts/sun4u/sys/i2c/misc/
H A Di2c_svc.h60 uchar_t *i2c_rbuf; /* I: pointer to read buffer */ member in struct:i2c_transfer
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c299 tempVal = i2c_tp->i2c_rbuf[0];
525 tmpval = i2c_tp->i2c_rbuf[0];
647 tmpval = i2c_tp->i2c_rbuf[0];
687 tmpval = i2c_tp->i2c_rbuf[0];
776 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
788 if (bcmp(tod_read, i2c_tp->i2c_rbuf, 7) != 0) {
794 } while (i2c_tp->i2c_rbuf[0] == 0x59 &&
796 bcmp(&tod_read[1], &i2c_tp->i2c_rbuf[1], 6) != 0 &&
803 bcopy(i2c_tp->i2c_rbuf, tod_read, 7);
806 rtc->rtc_year = BCD_TO_BYTE(i2c_tp->i2c_rbuf[
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/
H A Di2c_svc.c219 i2cw->i2cw_i2ct.i2c_rbuf = (uchar_t *)i2cw +
/illumos-gate/usr/src/uts/sun4u/littleneck/io/
H A Dpcf8574_lneck.c258 i2c_tran_pointer->i2c_rbuf[0]));
259 *byte = i2c_tran_pointer->i2c_rbuf[0];
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c362 D1CMN_ERR((CE_NOTE, "The i2c_rbuf contains %x",
363 i2c_tran_pointer->i2c_rbuf[0]));
365 if (ddi_copyout((caddr_t)i2c_tran_pointer->i2c_rbuf,
557 ioctl_reg.reg_value = i2c_tran_pointer->i2c_rbuf[0];
1191 *data = i2c_tran_pointer->i2c_rbuf[0];
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/
H A Di2bsc.c1081 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] =
1202 " %p/%p", tp->i2c_wbuf, tp->i2c_rbuf);
H A Dpcf8584.c1325 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] =
1331 tp->i2c_r_resid, tp->i2c_rbuf[tp->i2c_rlen -
H A Dsmbus.c1312 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid] =
1315 tp->i2c_rbuf[tp->i2c_rlen - tp->i2c_r_resid]));

Completed in 105 milliseconds