Searched refs:i2c_tran_pointer (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | lm75.c | 222 i2c_transfer_t *i2c_tran_pointer; in lm75_get16() local 229 if (i2c_tran_pointer == NULL) { in lm75_get16() 248 i2c_tran_pointer->i2c_rbuf[0])); in lm75_get16() 249 temp16 = i2c_tran_pointer->i2c_rbuf[0]; in lm75_get16() 275 i2c_transfer_t *i2c_tran_pointer; in lm75_set16() local 288 if (i2c_tran_pointer == NULL) { in lm75_set16() 304 i2c_tran_pointer->i2c_flags = I2C_WR; in lm75_set16() 323 i2c_transfer_t *i2c_tran_pointer; in lm75_ioctl() local 368 if (i2c_tran_pointer == NULL) { in lm75_ioctl() 408 if (i2c_tran_pointer == NULL) { in lm75_ioctl() [all …]
|
H A D | pcf8591.c | 231 i2c_transfer_t *i2c_tran_pointer; in pcf8591_ioctl() local 262 if (i2c_tran_pointer == NULL) { in pcf8591_ioctl() 291 i2c_tran_pointer->i2c_flags = I2C_WR_RD; in pcf8591_ioctl() 292 i2c_tran_pointer->i2c_wbuf[0] = control; in pcf8591_ioctl() 302 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() 314 i2c_transfer_free(unitp->pcf8591_hdl, i2c_tran_pointer); in pcf8591_ioctl() 329 if (i2c_tran_pointer == NULL) { in pcf8591_ioctl() 350 i2c_tran_pointer->i2c_flags = I2C_WR; in pcf8591_ioctl() 351 i2c_tran_pointer->i2c_wbuf[0] = control; in pcf8591_ioctl() [all …]
|
H A D | pic16f819.c | 148 i2c_transfer_t *i2c_tran_pointer; in pic16f819_get() local 153 if (i2c_tran_pointer == NULL) { in pic16f819_get() 157 i2c_tran_pointer->i2c_flags = I2C_WR_RD; in pic16f819_get() 158 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in pic16f819_get() 164 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pic16f819_get() 167 i2c_transfer_free(unitp->pic16f819_hdl, i2c_tran_pointer); in pic16f819_get() 174 i2c_transfer_t *i2c_tran_pointer; in pic16f819_set() local 179 if (i2c_tran_pointer == NULL) { in pic16f819_set() 185 i2c_tran_pointer->i2c_flags = I2C_WR; in pic16f819_set() 186 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in pic16f819_set() [all …]
|
H A D | pcf8574.c | 223 i2c_transfer_t *i2c_tran_pointer; in pcf8574_get() local 230 if (i2c_tran_pointer == NULL) { in pcf8574_get() 237 i2c_tran_pointer->i2c_flags = I2C_RD; in pcf8574_get() 247 i2c_tran_pointer->i2c_rbuf[0])); in pcf8574_get() 248 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pcf8574_get() 250 i2c_transfer_free(unitp->pcf8574_hdl, i2c_tran_pointer); in pcf8574_get() 257 i2c_transfer_t *i2c_tran_pointer; in pcf8574_set() local 262 if (i2c_tran_pointer == NULL) { in pcf8574_set() 269 i2c_tran_pointer->i2c_flags = I2C_WR; in pcf8574_set() 270 i2c_tran_pointer->i2c_wbuf[0] = byte; in pcf8574_set() [all …]
|
H A D | adm1026.c | 384 i2c_transfer_t *i2c_tran_pointer = NULL; in adm1026_get8() local 389 if (i2c_tran_pointer == NULL) in adm1026_get8() 392 i2c_tran_pointer->i2c_flags = I2C_WR_RD; in adm1026_get8() 393 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in adm1026_get8() 399 *val = i2c_tran_pointer->i2c_rbuf[0]; in adm1026_get8() 403 i2c_transfer_free(unitp->adm1026_hdl, i2c_tran_pointer); in adm1026_get8() 411 i2c_transfer_t *i2c_tran_pointer = NULL; in adm1026_put8() local 418 if (i2c_tran_pointer == NULL) in adm1026_put8() 421 i2c_tran_pointer->i2c_flags = I2C_WR; in adm1026_put8() 422 i2c_tran_pointer->i2c_wbuf[0] = reg; in adm1026_put8() [all …]
|
H A D | ssc050.c | 256 i2c_transfer_t *i2c_tran_pointer; in ssc050_get() local 261 if (i2c_tran_pointer == NULL) { in ssc050_get() 265 i2c_tran_pointer->i2c_flags = I2C_WR_RD; in ssc050_get() 266 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in ssc050_get() 272 *byte = i2c_tran_pointer->i2c_rbuf[0]; in ssc050_get() 275 i2c_transfer_free(unitp->hdl, i2c_tran_pointer); in ssc050_get() 282 i2c_transfer_t *i2c_tran_pointer; in ssc050_set() local 287 if (i2c_tran_pointer == NULL) { in ssc050_set() 293 i2c_tran_pointer->i2c_flags = I2C_WR; in ssc050_set() 294 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in ssc050_set() [all …]
|
H A D | ltc1427.c | 228 i2c_transfer_t *i2c_tran_pointer; in ltc1427_ioctl() local 276 &i2c_tran_pointer, 2, 0, I2C_SLEEP); in ltc1427_ioctl() 277 if (i2c_tran_pointer == NULL) { in ltc1427_ioctl() 285 i2c_tran_pointer->i2c_flags = I2C_WR; in ltc1427_ioctl() 286 i2c_tran_pointer->i2c_wbuf[0] = in ltc1427_ioctl() 288 i2c_tran_pointer->i2c_wbuf[1] = in ltc1427_ioctl() 291 err = i2c_transfer(unitp->ltc1427_hdl, i2c_tran_pointer); in ltc1427_ioctl() 296 i2c_transfer_free(unitp->ltc1427_hdl, i2c_tran_pointer); in ltc1427_ioctl()
|
H A D | ssc100.c | 227 i2c_transfer_t *i2c_tran_pointer; in ssc100_common() local 230 (void) i2c_transfer_alloc(unitp->ssc100_hdl, &i2c_tran_pointer, in ssc100_common() 232 if (i2c_tran_pointer == NULL) { in ssc100_common() 239 i2c_tran_pointer->i2c_flags = flag; in ssc100_common() 241 i2c_tran_pointer->i2c_wbuf[0] = input; in ssc100_common() 244 err = i2c_transfer(unitp->ssc100_hdl, i2c_tran_pointer); in ssc100_common() 249 *byte = i2c_tran_pointer->i2c_rbuf[0]; in ssc100_common() 252 i2c_transfer_free(unitp->ssc100_hdl, i2c_tran_pointer); in ssc100_common()
|
/illumos-gate/usr/src/uts/sun4u/littleneck/io/ |
H A D | pcf8574_lneck.c | 234 i2c_transfer_t *i2c_tran_pointer; in pcf8574_get() local 241 if (i2c_tran_pointer == NULL) { in pcf8574_get() 247 i2c_tran_pointer->i2c_flags = I2C_RD; in pcf8574_get() 258 i2c_tran_pointer->i2c_rbuf[0])); in pcf8574_get() 259 *byte = i2c_tran_pointer->i2c_rbuf[0]; in pcf8574_get() 261 i2c_transfer_free(unitp->pcf8574_hdl, i2c_tran_pointer); in pcf8574_get() 268 i2c_transfer_t *i2c_tran_pointer; in pcf8574_set() local 273 if (i2c_tran_pointer == NULL) { in pcf8574_set() 280 i2c_tran_pointer->i2c_flags = I2C_WR; in pcf8574_set() 281 i2c_tran_pointer->i2c_wbuf[0] = byte; in pcf8574_set() [all …]
|
/illumos-gate/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 336 i2c_transfer_t *i2c_tran_pointer; in hpc3130_get() local 346 if (i2c_tran_pointer == NULL) { in hpc3130_get() 363 i2c_tran_pointer->i2c_rbuf[0])); in hpc3130_get() 379 i2c_transfer_t *i2c_tran_pointer; in hpc3130_set() local 397 if (i2c_tran_pointer == NULL) { in hpc3130_set() 404 i2c_tran_pointer->i2c_flags = I2C_WR; in hpc3130_set() 421 i2c_transfer_t *i2c_tran_pointer; in hpc3130_ioctl() local 540 if (i2c_tran_pointer == NULL) { in hpc3130_ioctl() 584 if (i2c_tran_pointer == NULL) { in hpc3130_ioctl() 1153 i2c_transfer_t *i2c_tran_pointer; in hpc3130_rw() local [all …]
|