Lines Matching refs:temp_dec
76 s32 temp_int, temp_dec; in sbtsi_read() local
94 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_DEC); in sbtsi_read()
98 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_DEC); in sbtsi_read()
105 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_HIGH_DEC); in sbtsi_read()
111 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_LOW_DEC); in sbtsi_read()
121 if (temp_dec < 0) in sbtsi_read()
122 return temp_dec; in sbtsi_read()
124 *val = sbtsi_reg_to_mc(temp_int, temp_dec); in sbtsi_read()
134 u8 temp_int, temp_dec; in sbtsi_write() local
150 sbtsi_mc_to_reg(val, &temp_int, &temp_dec); in sbtsi_write()
157 err = i2c_smbus_write_byte_data(data->client, reg_dec, temp_dec); in sbtsi_write()