Searched refs:i2ctp (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dmax1617.c234 i2c_transfer_t *i2ctp; local
243 &i2ctp, 2, 0, I2C_SLEEP);
244 i2ctp->i2c_version = I2C_XFER_REV;
245 i2ctp->i2c_flags = I2C_WR;
248 i2ctp->i2c_wbuf[0] = MAX1617_CONFIG_WR_REG;
249 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_config;
251 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
256 i2ctp->i2c_wbuf[0] = MAX1617_CONV_RATE_WR_REG;
257 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_conv_rate;
258 if (i2c_transfer(unitp->max1617_hdl, i2ctp) !
351 i2c_transfer_t *i2ctp; local
534 i2c_transfer_t *i2ctp; local
567 i2c_transfer_t *i2ctp; local
599 i2c_transfer_t *i2ctp; local
[all...]
H A Dseeprom.c386 i2c_transfer_t *i2ctp = NULL; local
433 if (i2ctp == NULL) {
435 &i2ctp,
440 if ((err = uiomove(&i2ctp->i2c_wbuf[
444 i2ctp);
447 i2ctp->i2c_version = I2C_XFER_REV;
448 i2ctp->i2c_flags = I2C_WR;
456 i2ctp->i2c_wbuf += actual_data_xfer;
458 i2ctp->i2c_wlen -= actual_data_xfer;
462 i2ctp
[all...]
H A Dssc100.c625 i2c_transfer_t *i2ctp = NULL; local
661 (void) i2c_transfer_alloc(unitp->ssc100_hdl, &i2ctp,
663 if (i2ctp == NULL) {
669 i2ctp->i2c_version = I2C_XFER_REV;
670 i2ctp->i2c_flags = I2C_WR;
671 i2ctp->i2c_wbuf[0] = (uchar_t)ssc100_addr;
672 if ((err = uiomove(&i2ctp->i2c_wbuf[1], current_xfer_len,
679 if ((err = i2c_transfer(unitp->ssc100_hdl, i2ctp)) !=
690 (void) i2c_transfer_alloc(unitp->ssc100_hdl, &i2ctp, 1,
692 if (i2ctp
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c406 i2c_transfer_t *i2ctp = unitp->i2c_tran; local
420 wbuf = i2ctp->i2c_wbuf;
421 rbuf = i2ctp->i2c_rbuf;
423 bcopy(&i2ct, i2ctp, sizeof (i2c_transfer_t));
425 i2ctp->i2c_wbuf = wbuf;
426 i2ctp->i2c_rbuf = rbuf;
433 if (ddi_copyin(i2ct.i2c_wbuf, (caddr_t)i2ctp->i2c_wbuf,
446 i2c_transfer_t *i2ctp = unitp->i2c_tran; local
469 if (ddi_copyout((void *)((intptr_t)i2ctp+kskip), (void *)
480 if (i2ctp
[all...]
H A Dpcf8574_nct.c879 i2c_transfer_t *i2ctp = unitp->i2c_tran; local
893 wbuf = i2ctp->i2c_wbuf;
894 rbuf = i2ctp->i2c_rbuf;
896 bcopy(&i2ct, i2ctp, sizeof (i2c_transfer_t));
898 i2ctp->i2c_wbuf = wbuf;
899 i2ctp->i2c_rbuf = rbuf;
906 if (ddi_copyin(i2ct.i2c_wbuf, (caddr_t)i2ctp->i2c_wbuf,
919 i2c_transfer_t *i2ctp = unitp->i2c_tran; local
941 if (ddi_copyout((void *)((intptr_t)i2ctp+kskip), (void *)
952 if (i2ctp
[all...]

Completed in 66 milliseconds