Lines Matching defs:i2ctp
625 i2c_transfer_t *i2ctp = NULL;
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 == NULL) {
698 i2ctp->i2c_version = I2C_XFER_REV;
699 i2ctp->i2c_wbuf[0] = (uchar_t)ssc100_addr;
700 i2ctp->i2c_flags = I2C_WR_RD;
702 if ((err = i2c_transfer(unitp->ssc100_hdl, i2ctp)) !=
709 if ((err = uiomove(i2ctp->i2c_rbuf, current_xfer_len,
718 i2c_transfer_free(unitp->ssc100_hdl, i2ctp);