Home
last modified time | relevance | path

Searched refs:i2c_rbuf (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c299 tempVal = i2c_tp->i2c_rbuf[0]; in todds1337_attach()
525 tmpval = i2c_tp->i2c_rbuf[0]; in todds1337_set_power_alarm()
647 tmpval = i2c_tp->i2c_rbuf[0]; in todds1337_clear_power_alarm()
687 tmpval = i2c_tp->i2c_rbuf[0]; in todds1337_clear_power_alarm()
776 bcopy(i2c_tp->i2c_rbuf, tod_read, 7); in todds1337_read_rtc()
788 if (bcmp(tod_read, i2c_tp->i2c_rbuf, 7) != 0) { in todds1337_read_rtc()
794 } while (i2c_tp->i2c_rbuf[0] == 0x59 && in todds1337_read_rtc()
796 bcmp(&tod_read[1], &i2c_tp->i2c_rbuf[1], 6) != 0 && in todds1337_read_rtc()
803 bcopy(i2c_tp->i2c_rbuf, tod_read, 7); in todds1337_read_rtc()
806 rtc->rtc_year = BCD_TO_BYTE(i2c_tp->i2c_rbuf[6]); in todds1337_read_rtc()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dadm1031.c497 admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_suspend()
506 admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_suspend()
515 admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_suspend()
692 f_set = admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_s_ioctl()
737 admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_s_ioctl()
752 admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_s_ioctl()
755 temp = admp->adm1031_transfer->i2c_rbuf[0] & in adm1031_s_ioctl()
830 temp = admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_s_ioctl()
919 temp[0] = admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_i_ioctl()
926 temp[1] = admp->adm1031_transfer->i2c_rbuf[0]; in adm1031_i_ioctl()
[all …]
H A Dmax1617.c380 unitp->max1617_cpr_state.max1617_config = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
387 unitp->max1617_cpr_state.max1617_conv_rate = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
394 unitp->max1617_cpr_state.max1617_lcl_hlimit = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
401 unitp->max1617_cpr_state.max1617_remote_hlimit = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
408 unitp->max1617_cpr_state.max1617_lcl_llimit = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
415 unitp->max1617_cpr_state.max1617_remote_llimit = i2ctp->i2c_rbuf[0]; in max1617_do_suspend()
574 temp16 = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]); in get_temp_limit()
655 int16_t temp = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]); in max1617_ioctl()
674 if (ddi_copyout((caddr_t)i2ctp->i2c_rbuf, (caddr_t)arg, in max1617_ioctl()
690 if (ddi_copyout((caddr_t)i2ctp->i2c_rbuf, (caddr_t)arg, in max1617_ioctl()
[all …]
H A Dlm75.c247 unitp->lm75_name, i2c_tran_pointer->i2c_rbuf[0], in lm75_get16()
248 i2c_tran_pointer->i2c_rbuf[0])); in lm75_get16()
249 temp16 = i2c_tran_pointer->i2c_rbuf[0]; in lm75_get16()
251 temp16 = (temp16 | ((i2c_tran_pointer->i2c_rbuf[1] & 0x80) >> 7)); in lm75_get16()
386 if (ddi_copyout((caddr_t)i2c_tran_pointer->i2c_rbuf, in lm75_ioctl()
H A Dpcf8591.c302 i2c_tran_pointer->i2c_rbuf[0] = i2c_tran_pointer->i2c_rbuf[1]; in pcf8591_ioctl()
303 value = i2c_tran_pointer->i2c_rbuf[0]; in pcf8591_ioctl()
H A Dpca9556.c495 pcap->pca9556_transfer->i2c_rbuf[0]; in pca9556_suspend()
716 pcap->pca9556_transfer->i2c_rbuf[0]; in pca9556_ioctl()
728 temp = pcap->pca9556_transfer->i2c_rbuf[0] & (~g_buf.reg_mask); in pca9556_ioctl()
H A Dics951601.c401 icsp->ics951601_transfer->i2c_rbuf = icsp->ics951601_cpr_state + 1; in ics951601_suspend()
524 icsp->ics951601_transfer->i2c_rbuf = temp_arr + 1; in ics951601_ioctl()
H A Dpcf8574.c247 i2c_tran_pointer->i2c_rbuf[0])); in pcf8574_get()
248 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pcf8574_get()
H A Dssc100.c249 *byte = i2c_tran_pointer->i2c_rbuf[0]; in ssc100_common()
709 if ((err = uiomove(i2ctp->i2c_rbuf, current_xfer_len, in ssc100_io()
H A Dpic16f819.c164 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pic16f819_get()
H A Dseeprom.c513 err = uiomove(i2ctp->i2c_rbuf, actual_data_xfer, in seeprom_io()
H A Dadm1026.c399 *val = i2c_tran_pointer->i2c_rbuf[0]; in adm1026_get8()
H A Dssc050.c272 *byte = i2c_tran_pointer->i2c_rbuf[0]; in ssc050_get()
/illumos-gate/usr/src/uts/sun4u/sys/i2c/misc/
H A Di2c_svc.h60 uchar_t *i2c_rbuf; /* I: pointer to read buffer */ member
/illumos-gate/usr/src/uts/sun4u/littleneck/io/
H A Dpcf8574_lneck.c258 i2c_tran_pointer->i2c_rbuf[0])); in pcf8574_get()
259 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pcf8574_get()
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/
H A Di2c_svc.c219 i2cw->i2cw_i2ct.i2c_rbuf = (uchar_t *)i2cw + in i2c_transfer_alloc()
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c363 i2c_tran_pointer->i2c_rbuf[0])); in hpc3130_get()
365 if (ddi_copyout((caddr_t)i2c_tran_pointer->i2c_rbuf, in hpc3130_get()
557 ioctl_reg.reg_value = i2c_tran_pointer->i2c_rbuf[0]; in hpc3130_ioctl()
1191 *data = i2c_tran_pointer->i2c_rbuf[0]; in hpc3130_rw()
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/
H A Dsmbus.c1312 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()
H A Dpcf8584.c1325 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()