Searched refs:i2c_transfer (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/sys/i2c/misc/
H A Di2c_svc.h41 * Valid transfer flags for i2c_transfer.flags
49 * the ordering of i2c_transfer structure fields. If any fields
54 * i2c_transfer function, while those prefixed with 'O'
57 typedef struct i2c_transfer { struct
79 int (*i2c_nexus_transfer)(dev_info_t *dip, struct i2c_transfer *);
87 int i2c_transfer(i2c_client_hdl_t i2c_hdl, i2c_transfer_t *i2c_tran);
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dmax1617.c251 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
258 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
266 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
274 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
282 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
290 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
376 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
383 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
390 if (i2c_transfer(unitp->max1617_hdl, i2ctp) != I2C_SUCCESS) {
397 if (i2c_transfer(unit
[all...]
H A Dadm1031.c234 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
242 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
250 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
491 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
500 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
509 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) !=
687 if (i2c_transfer(admp->adm1031_hdl,
699 if (i2c_transfer(admp->adm1031_hdl,
729 if (i2c_transfer(admp->adm1031_hdl,
765 if (i2c_transfer(adm
[all...]
H A Dics951601.c303 if (i2c_transfer(icsp->ics951601_hdl, icsp->ics951601_transfer)
403 if (i2c_transfer(icsp->ics951601_hdl, icsp->ics951601_transfer)
436 if (i2c_transfer(icsp->ics951601_hdl, icsp->ics951601_transfer)
526 if (i2c_transfer(icsp->ics951601_hdl, icsp->ics951601_transfer)
567 if (i2c_transfer(icsp->ics951601_hdl, icsp->ics951601_transfer)
H A Dlm75.c238 err = i2c_transfer(unitp->lm75_hdl, i2c_tran_pointer);
241 "i2c_transfer routine\n",
312 err = i2c_transfer(unitp->lm75_hdl, i2c_tran_pointer);
381 err = i2c_transfer(unitp->lm75_hdl, i2c_tran_pointer);
384 "i2c_transfer routine\n",
422 err = i2c_transfer(unitp->lm75_hdl, i2c_tran_pointer);
H A Dpca9556.c228 if (i2c_transfer(pcap->pca9556_hdl,
488 if (i2c_transfer(pcap->pca9556_hdl,
705 if (i2c_transfer(pcap->pca9556_hdl, pcap->pca9556_transfer)
731 if (i2c_transfer(pcap->pca9556_hdl, pcap->pca9556_transfer)
H A Dpic16f819.c159 err = i2c_transfer(unitp->pic16f819_hdl, i2c_tran_pointer);
191 err = i2c_transfer(unitp->pic16f819_hdl, i2c_tran_pointer);
194 " i2c_transfer routine", unitp->pic16f819_name));
H A Dssc100.c244 err = i2c_transfer(unitp->ssc100_hdl, i2c_tran_pointer);
247 "i2c_transfer routine", unitp->ssc100_name));
679 if ((err = i2c_transfer(unitp->ssc100_hdl, i2ctp)) !=
682 "i2c_transfer failed", unitp->ssc100_name));
702 if ((err = i2c_transfer(unitp->ssc100_hdl, i2ctp)) !=
705 "i2c_transfer failed", unitp->ssc100_name));
H A Dadm1026.c394 err = i2c_transfer(unitp->adm1026_hdl, i2c_tran_pointer);
425 err = i2c_transfer(unitp->adm1026_hdl, i2c_tran_pointer);
H A Dpcf8574.c237 err = i2c_transfer(unitp->pcf8574_hdl, i2c_tran_pointer);
239 D2CMN_ERR((CE_WARN, "%s: Failed in the i2c_transfer routine\n",
272 err = i2c_transfer(unitp->pcf8574_hdl, i2c_tran_pointer);
275 " i2c_transfer routine\n",
H A Dpcf8591.c294 err = i2c_transfer(unitp->pcf8591_hdl, i2c_tran_pointer);
297 " i2c_transfer routine\n",
354 err = i2c_transfer(unitp->pcf8591_hdl, i2c_tran_pointer);
H A Dseeprom.c468 if ((err = i2c_transfer(unitp->seeprom_hdl, i2ctp)) !=
505 if ((err = i2c_transfer(unitp->seeprom_hdl, i2ctp)) !=
H A Dtda8444.c182 if (i2c_transfer(unitp->tda8444_hdl,
514 if (i2c_transfer(unitp->tda8444_hdl,
H A Dltc1427.c291 err = i2c_transfer(unitp->ltc1427_hdl, i2c_tran_pointer);
H A Dssc050.c267 err = i2c_transfer(unitp->hdl, i2c_tran_pointer);
298 err = i2c_transfer(unitp->hdl, i2c_tran_pointer);
301 " i2c_transfer routine", unitp->name));
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c289 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
315 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp))
338 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp))
516 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
536 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
562 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
584 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
638 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
658 if ((i2c_transfer(statep->ds1337_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
678 if ((i2c_transfer(state
[all...]
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c284 if ((i2c_transfer(statep->ds1307_i2c_hdl, i2c_tp)) != I2C_SUCCESS) {
305 if ((i2c_transfer(statep->ds1307_i2c_hdl, i2c_tp))
518 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl,
533 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl,
607 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl,
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/
H A Di2c_svc.c125 * i2c_transfer() is called by client drivers to handle
128 * parent's i2c_transfer() function to handle the actual transfer.
131 i2c_transfer(i2c_client_hdl_t hdl, i2c_transfer_t *i2c_tran) function
169 * i2c_transfer_alloc() allocates a i2c_transfer structure along
/illumos-gate/usr/src/uts/sun4u/littleneck/io/
H A Dpcf8574_lneck.c249 err = i2c_transfer(unitp->pcf8574_hdl, i2c_tran_pointer);
251 D2CMN_ERR((CE_WARN, "%s: Failed in the i2c_transfer routine\n",
285 err = i2c_transfer(unitp->pcf8574_hdl, i2c_tran_pointer);
288 " i2c_transfer routine\n",
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c355 err = i2c_transfer(unitp->hpc3130_hdl, i2c_tran_pointer);
408 err = i2c_transfer(unitp->hpc3130_hdl, i2c_tran_pointer);
550 err = i2c_transfer(unitp->hpc3130_hdl, i2c_tran_pointer);
553 "i2c_transfer routine"));
595 err = i2c_transfer(unitp->hpc3130_hdl, i2c_tran_pointer);
598 "i2c_transfer routine"));
1182 err = i2c_transfer(handle, i2c_tran_pointer);
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c600 struct i2c_transfer *tp;
H A Dscsb.c506 "scsb%d: i2c_transfer allocation failed", instance);
2058 * translate the structures and use the i2c_transfer() service.
7429 * interrupt mutex to let the i2c_transfer() to complete
7436 retval = i2c_transfer(i2c_hdl, i2c_tran);

Completed in 126 milliseconds