Home
last modified time | relevance | path

Searched refs:temp16 (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/sun4u/io/i2c/clients/
H A Dlm75.c223 int16_t temp16; in lm75_get16() local
250 temp16 = i2c_tran_pointer->i2c_rbuf[0]; in lm75_get16()
251 temp16 = (temp16 << 1); in lm75_get16()
252 temp16 = (temp16 | ((i2c_tran_pointer->i2c_rbuf[1] & 0x80) >> 7)); in lm75_get16()
255 if (temp16 & LM75_COMP_MASK) { in lm75_get16()
256 holder = (temp16 & LM75_COMP_MASK_UPPER); in lm75_get16()
259 temp16 = 0 - holder; in lm75_get16()
261 temp16 = temp16 / 2; in lm75_get16()
263 if (ddi_copyout((caddr_t)&temp16, (caddr_t)arg, in lm75_get16()
278 int16_t temp16; in lm75_set16() local
[all …]
H A Dadm1031.c612 int16_t temp16 = 0, write_value16 = 0; in adm1031_s_ioctl() local
842 temp16 = (int16_t)((int8_t)temp); in adm1031_s_ioctl()
843 if (ddi_copyout((void *)&temp16, (void *)arg, sizeof (temp16), in adm1031_s_ioctl()
H A Dmax1617.c568 int16_t temp16; in get_temp_limit() local
579 temp16 = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]); in get_temp_limit()
580 if (ddi_copyout((caddr_t)&temp16, arg, sizeof (int16_t), in get_temp_limit()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c784 int16_t temp16; in i_psvc_get_device_value_0_0() local
819 status = i_psvc_get_table_value(hdlp, tid, *temp, &temp16); in i_psvc_get_device_value_0_0()
820 *temp = temp16; in i_psvc_get_device_value_0_0()
830 int16_t temp16; in i_psvc_get_device_value_0_1() local
865 status = i_psvc_get_table_value(hdlp, tid, *temp, &temp16); in i_psvc_get_device_value_0_1()
866 *temp = temp16; in i_psvc_get_device_value_0_1()
899 int16_t temp16; in i_psvc_get_device_value_4_0() local
910 status = i_psvc_get_table_value(hdlp, tid, *value, &temp16); in i_psvc_get_device_value_4_0()
911 *value = temp16; in i_psvc_get_device_value_4_0()
972 int16_t temp16; in i_psvc_get_device_value_5_0() local
[all …]