/titanic_41/usr/src/uts/sun4u/io/ |
H A D | todds1337.c | 285 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_STATUS; /* Read Status register */ in todds1337_attach() 312 i2c_tp->i2c_wbuf[0] = RTC_CTL; /* Write Control register */ in todds1337_attach() 313 i2c_tp->i2c_wbuf[1] = (uchar_t)(RTC_CTL_RS2 | RTC_CTL_RS1 | in todds1337_attach() 336 i2c_tp->i2c_wbuf[0] = RTC_STATUS; in todds1337_attach() 337 i2c_tp->i2c_wbuf[1] = (uchar_t)0; in todds1337_attach() 514 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_CTL; /* Read Control register */ in todds1337_set_power_alarm() 533 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_CTL; /* Write Control register */ in todds1337_set_power_alarm() 534 i2c_tp->i2c_wbuf[1] = tmpval & ~RTC_CTL_A1IE; in todds1337_set_power_alarm() 556 i2c_tp->i2c_wbuf[0] = (uchar_t)RTC_ALARM_SEC; /* Alarm #1 Seconds */ in todds1337_set_power_alarm() 557 i2c_tp->i2c_wbuf[1] = BYTE_TO_BCD(tod.tod_sec); in todds1337_set_power_alarm() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | max1617.c | 248 i2ctp->i2c_wbuf[0] = MAX1617_CONFIG_WR_REG; in max1617_do_resume() 249 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_config; in max1617_do_resume() 256 i2ctp->i2c_wbuf[0] = MAX1617_CONV_RATE_WR_REG; in max1617_do_resume() 257 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_conv_rate; in max1617_do_resume() 263 i2ctp->i2c_wbuf[0] = MAX1617_LOCALTEMP_HIGH_WR_REG; in max1617_do_resume() 264 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_lcl_hlimit; in max1617_do_resume() 271 i2ctp->i2c_wbuf[0] = MAX1617_REMOTETEMP_HIGH_WR_REG; in max1617_do_resume() 272 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_remote_hlimit; in max1617_do_resume() 279 i2ctp->i2c_wbuf[0] = MAX1617_LOCALTEMP_LOW_REG; in max1617_do_resume() 280 i2ctp->i2c_wbuf[1] = unitp->max1617_cpr_state.max1617_lcl_llimit; in max1617_do_resume() [all …]
|
H A D | adm1031.c | 231 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_CONFIG_REG_1; in adm1031_resume() 232 admp->adm1031_transfer->i2c_wbuf[1] = in adm1031_resume() 239 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_CONFIG_REG_2; in adm1031_resume() 240 admp->adm1031_transfer->i2c_wbuf[1] = in adm1031_resume() 247 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_FAN_SPEED_CONFIG_REG; in adm1031_resume() 248 admp->adm1031_transfer->i2c_wbuf[1] = in adm1031_resume() 490 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_CONFIG_REG_1; in adm1031_suspend() 499 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_CONFIG_REG_2; in adm1031_suspend() 508 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_FAN_SPEED_CONFIG_REG; in adm1031_suspend() 638 admp->adm1031_transfer->i2c_wbuf[0] = in adm1031_s_ioctl() [all …]
|
H A D | pca9556.c | 224 pcap->pca9556_transfer->i2c_wbuf[0] = reg + i; in pca9556_resume() 225 pcap->pca9556_transfer->i2c_wbuf[1] = in pca9556_resume() 487 pcap->pca9556_transfer->i2c_wbuf[0] = reg + i; in pca9556_suspend() 655 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 658 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 668 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 671 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 681 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 684 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() 694 pcap->pca9556_transfer->i2c_wbuf[0] = in pca9556_ioctl() [all …]
|
H A D | seeprom.c | 440 if ((err = uiomove(&i2ctp->i2c_wbuf[ in seeprom_io() 456 i2ctp->i2c_wbuf += actual_data_xfer; in seeprom_io() 462 i2ctp->i2c_wbuf[0] = (seeprom_addr >> 8); in seeprom_io() 463 i2ctp->i2c_wbuf[1] = (uchar_t)seeprom_addr; in seeprom_io() 465 i2ctp->i2c_wbuf[0] = (uchar_t)seeprom_addr; in seeprom_io() 497 i2ctp->i2c_wbuf[0] = (seeprom_addr >> 8); in seeprom_io() 498 i2ctp->i2c_wbuf[1] = (uchar_t)seeprom_addr; in seeprom_io() 500 i2ctp->i2c_wbuf[0] = (uchar_t)seeprom_addr; in seeprom_io()
|
H A D | lm75.c | 236 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in lm75_get16() 308 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in lm75_set16() 309 i2c_tran_pointer->i2c_wbuf[1] = ((temp16 >> 1) & 0xff); in lm75_set16() 310 i2c_tran_pointer->i2c_wbuf[2] = ((temp16 & 0x1) << 7); in lm75_set16() 379 i2c_tran_pointer->i2c_wbuf[0] = LM75_CONFIGURATION_REG; in lm75_ioctl() 419 i2c_tran_pointer->i2c_wbuf[0] = LM75_CONFIGURATION_REG; in lm75_ioctl() 420 i2c_tran_pointer->i2c_wbuf[1] = passin_byte; in lm75_ioctl()
|
H A D | tda8444.c | 176 unitp->tda8444_transfer->i2c_wbuf[0] = TDA8444_REGBASE | in tda8444_do_resume() 178 unitp->tda8444_transfer->i2c_wbuf[1] = in tda8444_do_resume() 498 unitp->tda8444_transfer->i2c_wbuf[0] = (TDA8444_REGBASE | channel); in tda8444_io() 509 unitp->tda8444_transfer->i2c_wbuf[1] = in tda8444_io() 512 unitp->tda8444_transfer->i2c_wbuf[1])); in tda8444_io()
|
H A D | pic16f819.c | 158 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in pic16f819_get() 186 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in pic16f819_set() 187 i2c_tran_pointer->i2c_wbuf[1] = byte; in pic16f819_set()
|
H A D | ssc100.c | 241 i2c_tran_pointer->i2c_wbuf[0] = input; in ssc100_common() 671 i2ctp->i2c_wbuf[0] = (uchar_t)ssc100_addr; in ssc100_io() 672 if ((err = uiomove(&i2ctp->i2c_wbuf[1], current_xfer_len, in ssc100_io() 699 i2ctp->i2c_wbuf[0] = (uchar_t)ssc100_addr; in ssc100_io()
|
H A D | ics951601.c | 301 icsp->ics951601_transfer->i2c_wbuf = init_clock_regs; in ics951601_attach() 434 icsp->ics951601_transfer->i2c_wbuf = icsp->ics951601_cpr_state; in ics951601_resume() 565 icsp->ics951601_transfer->i2c_wbuf = temp_arr; in ics951601_ioctl()
|
H A D | pcf8591.c | 292 i2c_tran_pointer->i2c_wbuf[0] = control; in pcf8591_ioctl() 351 i2c_tran_pointer->i2c_wbuf[0] = control; in pcf8591_ioctl() 352 i2c_tran_pointer->i2c_wbuf[1] = (uchar_t)value; in pcf8591_ioctl()
|
H A D | ltc1427.c | 286 i2c_tran_pointer->i2c_wbuf[0] = in ltc1427_ioctl() 288 i2c_tran_pointer->i2c_wbuf[1] = in ltc1427_ioctl()
|
H A D | adm1026.c | 393 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in adm1026_get8() 422 i2c_tran_pointer->i2c_wbuf[0] = reg; in adm1026_put8() 423 i2c_tran_pointer->i2c_wbuf[1] = val; in adm1026_put8()
|
H A D | ssc050.c | 266 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in ssc050_get() 294 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in ssc050_set() 295 i2c_tran_pointer->i2c_wbuf[1] = byte; in ssc050_set()
|
H A D | pcf8574.c | 268 i2c_tran_pointer->i2c_wbuf[0] = byte; in pcf8574_set() 270 i2c_tran_pointer->i2c_wbuf[0])); in pcf8574_set()
|
/titanic_41/usr/src/uts/sun4u/snowbird/io/todds1307/ |
H A D | todds1307.c | 280 i2c_tp->i2c_wbuf[0] = (uchar_t)0x00; /* Read 00h */ in todds1307_attach() 300 i2c_tp->i2c_wbuf[0] = 0x00; in todds1307_attach() 301 i2c_tp->i2c_wbuf[1] = in todds1307_attach() 514 i2c_tp->i2c_wbuf[0] = (uchar_t)0x00; /* Start from reg 0x00 */ in todds1307_read_rtc() 530 i2c_tp->i2c_wbuf[0] = (uchar_t)0x00; in todds1307_read_rtc() 597 i2c_tp->i2c_wbuf[0] = (uchar_t)0x00; in todds1307_write_rtc() 598 i2c_tp->i2c_wbuf[1] = rtc->rtc_sec; in todds1307_write_rtc() 599 i2c_tp->i2c_wbuf[2] = rtc->rtc_min; in todds1307_write_rtc() 600 i2c_tp->i2c_wbuf[3] = rtc->rtc_hrs; in todds1307_write_rtc() 601 i2c_tp->i2c_wbuf[4] = rtc->rtc_dow; in todds1307_write_rtc() [all …]
|
/titanic_41/usr/src/uts/sun4u/montecarlo/io/ |
H A D | pcf8574_nct.c | 328 err = uiomove(unitp->i2c_tran->i2c_wbuf, in pcf8574_io() 814 tp->i2c_wbuf[0] = in pcf8574_intr() 842 tp->i2c_wbuf[0] = in pcf8574_intr() 893 wbuf = i2ctp->i2c_wbuf; in call_copyin() 898 i2ctp->i2c_wbuf = wbuf; in call_copyin() 906 if (ddi_copyin(i2ct.i2c_wbuf, (caddr_t)i2ctp->i2c_wbuf, in call_copyin() 1016 unitp->i2c_tran->i2c_wbuf[0] = in pcf8574_ioctl() 1045 unitp->i2c_tran->i2c_wbuf[0] = PCF8574_FAN_SPEED(inval); in pcf8574_ioctl() 1068 unitp->i2c_tran->i2c_wbuf[0] = inval & 0xff; in pcf8574_ioctl() 1409 tp->i2c_wbuf[i] = tp->i2c_rbuf[i] | in pcf8574_write_chip() [all …]
|
H A D | pcf8591_nct.c | 356 unitp->i2c_tran->i2c_wbuf[0] = (unitp->pcf8591_inprog | in pcf8591_io() 420 wbuf = i2ctp->i2c_wbuf; in call_copyin() 425 i2ctp->i2c_wbuf = wbuf; in call_copyin() 433 if (ddi_copyin(i2ct.i2c_wbuf, (caddr_t)i2ctp->i2c_wbuf, in call_copyin() 1055 tp->i2c_wbuf[0] = (unitp->pcf8591_inprog | in pcf8591_read_chip()
|
H A D | scsb.c | 5301 i2cxferp->i2c_wbuf[0] = reg; in scsb_write_mask() 5321 i2cxferp->i2c_wbuf[0] = reg; in scsb_write_mask() 5322 i2cxferp->i2c_wbuf[1] = reg_data; in scsb_write_mask() 5345 i2cxferp->i2c_wbuf[1] : i2cxferp->i2c_rbuf[0]); in scsb_write_mask() 5389 i2cxferp->i2c_wbuf[0] = reg; in scsb_rdwr_register() 5392 i2cxferp->i2c_wbuf[1 + i] = rwbuf[i]; in scsb_rdwr_register() 5402 i2cxferp->i2c_wbuf[0] = reg; in scsb_rdwr_register() 5413 i2cxferp->i2c_wbuf[0] = reg; in scsb_rdwr_register() 6770 i2cxferp->i2c_wbuf[0] = reg; in scsb_reset_slot() 6851 i2cxferp->i2c_wbuf[0] = scsb_fru_op(scsb, SLOT, slotnum, in scsb_reset_slot() [all …]
|
/titanic_41/usr/src/uts/sun4u/sys/i2c/misc/ |
H A D | i2c_svc.h | 59 uchar_t *i2c_wbuf; /* I: pointer to write buffer */ member
|
/titanic_41/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | smbus.c | 1225 a = tp->i2c_wbuf[tp->i2c_wlen - tp->i2c_w_resid--]; in smbus_wr() 1232 a = tp->i2c_wbuf[tp->i2c_wlen - tp->i2c_w_resid--]; in smbus_wr() 1235 b = tp->i2c_wbuf[tp->i2c_wlen - tp->i2c_w_resid--]; in smbus_wr() 1249 a = tp->i2c_wbuf[tp->i2c_wlen - tp->i2c_w_resid--]; in smbus_wr() 1257 a = tp->i2c_wbuf[tp->i2c_wlen - tp->i2c_w_resid--]; in smbus_wr()
|
H A D | pcf8584.c | 1254 pcf8584_put_s0(i2c, tp->i2c_wbuf[tp->i2c_wlen - in pcf8584_process() 1258 tp->i2c_wbuf[tp->i2c_wlen - (tp->i2c_w_resid + 1)])); in pcf8584_process() 1355 pcf8584_put_s0(i2c, tp->i2c_wbuf[tp->i2c_wlen - in pcf8584_process() 1359 tp->i2c_wbuf[tp->i2c_wlen - in pcf8584_process()
|
/titanic_41/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 353 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in hpc3130_get() 405 i2c_tran_pointer->i2c_wbuf[0] = (uchar_t)reg; in hpc3130_set() 406 i2c_tran_pointer->i2c_wbuf[1] = passin_byte; in hpc3130_set() 548 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl() 592 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl() 593 i2c_tran_pointer->i2c_wbuf[1] = (uchar_t)ioctl_reg.reg_value; in hpc3130_ioctl() 1174 i2c_tran_pointer->i2c_wbuf[0] = reg; in hpc3130_rw() 1177 i2c_tran_pointer->i2c_wbuf[1] = *data; in hpc3130_rw()
|
/titanic_41/usr/src/uts/sun4u/littleneck/io/ |
H A D | pcf8574_lneck.c | 280 i2c_tran_pointer->i2c_wbuf[0] = byte; in pcf8574_set() 283 i2c_tran_pointer->i2c_wbuf[0])); in pcf8574_set()
|
/titanic_41/usr/src/uts/sun4u/io/i2c/misc/ |
H A D | i2c_svc.c | 215 i2cw->i2cw_i2ct.i2c_wbuf = (uchar_t *)i2cw + in i2c_transfer_alloc()
|