Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dlm75.c224 int16_t temp16; in lm75_get16() local
249 temp16 = i2c_tran_pointer->i2c_rbuf[0]; in lm75_get16()
250 temp16 = (temp16 << 1); in lm75_get16()
251 temp16 = (temp16 | ((i2c_tran_pointer->i2c_rbuf[1] & 0x80) >> 7)); in lm75_get16()
254 if (temp16 & LM75_COMP_MASK) { in lm75_get16()
255 holder = (temp16 & LM75_COMP_MASK_UPPER); in lm75_get16()
258 temp16 = 0 - holder; in lm75_get16()
260 temp16 = temp16 / 2; in lm75_get16()
262 if (ddi_copyout((caddr_t)&temp16, (caddr_t)arg, in lm75_get16()
277 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.c563 int16_t temp16; in get_temp_limit() local
574 temp16 = (int16_t)((int8_t)i2ctp->i2c_rbuf[0]); in get_temp_limit()
575 if (ddi_copyout((caddr_t)&temp16, arg, sizeof (int16_t), in get_temp_limit()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c782 int16_t temp16; in i_psvc_get_device_value_0_0() local
817 status = i_psvc_get_table_value(hdlp, tid, *temp, &temp16); in i_psvc_get_device_value_0_0()
818 *temp = temp16; in i_psvc_get_device_value_0_0()
828 int16_t temp16; in i_psvc_get_device_value_0_1() local
863 status = i_psvc_get_table_value(hdlp, tid, *temp, &temp16); in i_psvc_get_device_value_0_1()
864 *temp = temp16; in i_psvc_get_device_value_0_1()
897 int16_t temp16; in i_psvc_get_device_value_4_0() local
908 status = i_psvc_get_table_value(hdlp, tid, *value, &temp16); in i_psvc_get_device_value_4_0()
909 *value = temp16; in i_psvc_get_device_value_4_0()
970 int16_t temp16; in i_psvc_get_device_value_5_0() local
[all …]