Searched refs:i2c_tp (Results 1 – 2 of 2) sorted by relevance
233 i2c_transfer_t *i2c_tp = NULL; in todds1337_attach() local282 &i2c_tp, 1, 1, I2C_SLEEP); in todds1337_attach()283 i2c_tp->i2c_version = I2C_XFER_REV; in todds1337_attach()284 i2c_tp->i2c_flags = I2C_WR_RD; in todds1337_attach()285 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_STATUS; /* Read Status register */ in todds1337_attach()286 i2c_tp->i2c_wlen = 1; in todds1337_attach()287 i2c_tp->i2c_rlen = 1; in todds1337_attach()289 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) { in todds1337_attach()290 (void) i2c_transfer_free(statep->ds1337_i2c_hdl, i2c_tp); in todds1337_attach()299 tempVal = i2c_tp->i2c_rbuf[0]; in todds1337_attach()[all …]
118 i2c_transfer_t *i2c_tp; member