Home
last modified time | relevance | path

Searched refs:i2c_transfer_t (Results 1 – 25 of 35) sorted by relevance

12

/titanic_44/usr/src/uts/sun4u/sys/i2c/misc/
H A Di2c_svc.h67 } i2c_transfer_t; typedef
87 int i2c_transfer(i2c_client_hdl_t i2c_hdl, i2c_transfer_t *i2c_tran);
89 i2c_transfer_t **i2c,
93 void i2c_transfer_free(i2c_client_hdl_t i2c_hdl, i2c_transfer_t *i2c);
H A Di2c_svc_impl.h23 i2c_transfer_t i2cw_i2ct;
/titanic_44/usr/src/uts/sun4u/io/i2c/misc/
H A Di2c_svc.c131 i2c_transfer(i2c_client_hdl_t hdl, i2c_transfer_t *i2c_tran) in i2c_transfer()
181 i2c_transfer_t **i2c, in i2c_transfer_alloc()
222 *i2c = (i2c_transfer_t *)i2cw; in i2c_transfer_alloc()
236 i2c_transfer_free(i2c_client_hdl_t hdl, i2c_transfer_t *i2c_tran) in i2c_transfer_free()
/titanic_44/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c94 extern int nct_i2c_transfer(i2c_client_hdl_t i2c_hdl, i2c_transfer_t *i2c_tran);
405 i2c_transfer_t i2ct; in call_copyin()
406 i2c_transfer_t *i2ctp = unitp->i2c_tran; in call_copyin()
410 sizeof (i2c_transfer_t), mode) != DDI_SUCCESS) { in call_copyin()
423 bcopy(&i2ct, i2ctp, sizeof (i2c_transfer_t)); in call_copyin()
445 i2c_transfer_t i2ct; in call_copyout()
446 i2c_transfer_t *i2ctp = unitp->i2c_tran; in call_copyout()
455 int uskip = sizeof (i2c_transfer_t) - 3*sizeof (int16_t), in call_copyout()
456 kskip = sizeof (i2c_transfer_t) - 3*sizeof (int16_t); in call_copyout()
463 uskip = sizeof (i2c_transfer_t) - 3 * (sizeof (uint16_t)); in call_copyout()
[all …]
H A Dpcf8574_nct.c151 extern int nct_i2c_transfer(i2c_client_hdl_t i2c_hdl, i2c_transfer_t *i2c_tran);
736 i2c_transfer_t *tp = unitp->i2c_tran; in pcf8574_intr()
878 i2c_transfer_t i2ct; in call_copyin()
879 i2c_transfer_t *i2ctp = unitp->i2c_tran; in call_copyin()
883 sizeof (i2c_transfer_t), mode) != DDI_SUCCESS) { in call_copyin()
896 bcopy(&i2ct, i2ctp, sizeof (i2c_transfer_t)); in call_copyin()
918 i2c_transfer_t i2ct; in call_copyout()
919 i2c_transfer_t *i2ctp = unitp->i2c_tran; in call_copyout()
927 int uskip = sizeof (i2c_transfer_t) - 3*sizeof (int16_t), in call_copyout()
928 kskip = sizeof (i2c_transfer_t) - 3*sizeof (int16_t); in call_copyout()
[all …]
/titanic_44/usr/src/uts/sun4u/sys/i2c/nexus/
H A Dsmbus.h164 i2c_transfer_t *smbus_cur_tran;
243 int smbus_transfer(dev_info_t *, i2c_transfer_t *);
H A Di2bsc_impl.h133 i2c_transfer_t *i2bsc_cur_tran;
H A Dpcf8584.h140 i2c_transfer_t *pcf8584_cur_tran;
/titanic_44/usr/src/uts/sun4u/io/i2c/nexus/
H A Di2bsc.c66 i2c_transfer_t *tp);
83 int i2bsc_transfer(dev_info_t *dip, i2c_transfer_t *tp);
90 static int i2bsc_safe_upload(i2bsc_t *, i2c_transfer_t *);
563 i2bsc_acquire(i2bsc_t *i2c, dev_info_t *dip, i2c_transfer_t *tp) in i2bsc_acquire()
980 i2bsc_upload_preamble(i2bsc_t *i2c, i2c_transfer_t *tp) in i2bsc_upload_preamble()
1043 i2bsc_upload(i2bsc_t *i2c, i2c_transfer_t *tp) in i2bsc_upload()
1140 i2bsc_safe_upload(i2bsc_t *i2c, i2c_transfer_t *tp) in i2bsc_safe_upload()
1184 i2bsc_transfer(dev_info_t *dip, i2c_transfer_t *tp) in i2bsc_transfer()
H A Dsmbus.c60 i2c_transfer_t *tp);
686 smbus_acquire(smbus_t *smbus, dev_info_t *dip, i2c_transfer_t *tp) in smbus_acquire()
802 smbus_transfer(dev_info_t *dip, i2c_transfer_t *tp) in smbus_transfer()
908 i2c_transfer_t *tp = smbus->smbus_cur_tran; in smbus_switch()
1021 i2c_transfer_t *tp; in smbus_intr_cmn()
1201 i2c_transfer_t *tp = smbus->smbus_cur_tran; in smbus_wr()
1308 i2c_transfer_t *tp = smbus->smbus_cur_tran; in smbus_rd()
H A Dpcf8584.c61 i2c_transfer_t *tp, boolean_t force);
88 int pcf8584_transfer(dev_info_t *dip, i2c_transfer_t *tp);
92 i2c_transfer_t *tp, kcondvar_t **waiter, int *saved_mode);
637 pcf8584_acquire(pcf8584_t *i2c, dev_info_t *dip, i2c_transfer_t *tp, in pcf8584_acquire()
1193 i2c_transfer_t *tp = i2c->pcf8584_cur_tran; in pcf8584_process()
1390 pcf8584_transfer(dev_info_t *dip, i2c_transfer_t *tp) in pcf8584_transfer()
1515 pcf8584_take_over(pcf8584_t *i2c, dev_info_t *dip, i2c_transfer_t *tp, in pcf8584_take_over()
/titanic_44/usr/src/uts/sun4u/sys/i2c/clients/
H A Dics951601_impl.h61 i2c_transfer_t *ics951601_transfer;
H A Dpca9556_impl.h69 i2c_transfer_t *pca9556_transfer;
H A Dtda8444_impl.h67 i2c_transfer_t *tda8444_transfer;
H A Dadm1031_impl.h139 i2c_transfer_t *adm1031_transfer;
/titanic_44/usr/src/uts/sun4u/io/i2c/clients/
H A Dmax1617.c234 i2c_transfer_t *i2ctp; in max1617_do_resume()
351 i2c_transfer_t *i2ctp; in max1617_do_suspend()
534 i2c_transfer_t *i2ctp; in set_temp_limit()
567 i2c_transfer_t *i2ctp; in get_temp_limit()
599 i2c_transfer_t *i2ctp; in max1617_ioctl()
H A Dlm75.c221 i2c_transfer_t *i2c_tran_pointer; in lm75_get16()
276 i2c_transfer_t *i2c_tran_pointer; in lm75_set16()
326 i2c_transfer_t *i2c_tran_pointer; in lm75_ioctl()
H A Dpic16f819.c148 i2c_transfer_t *i2c_tran_pointer; in pic16f819_get()
174 i2c_transfer_t *i2c_tran_pointer; in pic16f819_set()
H A Dpcf8574.c222 i2c_transfer_t *i2c_tran_pointer; in pcf8574_get()
255 i2c_transfer_t *i2c_tran_pointer; in pcf8574_set()
/titanic_44/usr/src/uts/sun4u/io/
H A Dtodds1337.c233 i2c_transfer_t *i2c_tp = NULL; in todds1337_attach()
480 i2c_transfer_t *i2c_tp = NULL; in todds1337_set_power_alarm()
604 i2c_transfer_t *i2c_tp = NULL; in todds1337_clear_power_alarm()
736 i2c_transfer_t *i2c_tp = NULL; in todds1337_read_rtc()
826 i2c_transfer_t *i2c_tp = NULL; in todds1337_write_rtc()
/titanic_44/usr/src/uts/sun4u/snowbird/sys/
H A Dtodds1307.h88 i2c_transfer_t *i2c_tp;
/titanic_44/usr/src/uts/sun4u/sys/
H A Dtodds1337.h118 i2c_transfer_t *i2c_tp;
/titanic_44/usr/src/uts/sun4u/montecarlo/sys/
H A Dpcf8591_nct.h208 i2c_transfer_t *i2c_tran;
H A Dpcf8574_nct.h300 i2c_transfer_t *i2c_tran;
/titanic_44/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c236 i2c_transfer_t *i2c_tp = NULL; in todds1307_attach()
485 i2c_transfer_t *i2c_tp = NULL; in todds1307_read_rtc()
577 i2c_transfer_t *i2c_tp = NULL; in todds1307_write_rtc()

12