Searched defs:i2c_tp (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/snowbird/sys/ |
H A D | todds1307.h | 88 i2c_transfer_t *i2c_tp; member in struct:ds1307_state
|
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/ |
H A D | todds1307.c | 236 i2c_transfer_t *i2c_tp = NULL; local 277 &i2c_tp, 1, 1, I2C_SLEEP); 278 i2c_tp->i2c_version = I2C_XFER_REV; 279 i2c_tp->i2c_flags = I2C_WR_RD; 280 i2c_tp->i2c_wbuf[0] = (uchar_t)0x00; /* Read 00h */ 281 i2c_tp->i2c_wlen = 1; 282 i2c_tp->i2c_rlen = 1; 284 if ((i2c_transfer(statep->ds1307_i2c_hdl, i2c_tp)) != I2C_SUCCESS) { 285 (void) i2c_transfer_free(statep->ds1307_i2c_hdl, i2c_tp); 291 tempVal = i2c_tp 485 i2c_transfer_t *i2c_tp = NULL; local 577 i2c_transfer_t *i2c_tp = NULL; local [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | todds1337.h | 118 i2c_transfer_t *i2c_tp; member in struct:ds1337_state
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todds1337.c | 233 i2c_transfer_t *i2c_tp = NULL; local 282 &i2c_tp, 1, 1, I2C_SLEEP); 283 i2c_tp->i2c_version = I2C_XFER_REV; 284 i2c_tp->i2c_flags = I2C_WR_RD; 285 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_STATUS; /* Read Status register */ 286 i2c_tp->i2c_wlen = 1; 287 i2c_tp->i2c_rlen = 1; 289 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) { 290 (void) i2c_transfer_free(statep->ds1337_i2c_hdl, i2c_tp); 299 tempVal = i2c_tp 480 i2c_transfer_t *i2c_tp = NULL; local 604 i2c_transfer_t *i2c_tp = NULL; local 736 i2c_transfer_t *i2c_tp = NULL; local 826 i2c_transfer_t *i2c_tp = NULL; local [all...] |
Completed in 105 milliseconds