Searched refs:hwval (Results 1 – 1 of 1) sorted by relevance
203 s32 hwval; in stts751_set_temp_reg16() local206 hwval = stts751_to_hw(temp); in stts751_set_temp_reg16()208 ret = i2c_smbus_write_byte_data(priv->client, hreg, hwval >> 8); in stts751_set_temp_reg16()212 return i2c_smbus_write_byte_data(priv->client, lreg, hwval & 0xff); in stts751_set_temp_reg16()217 s32 hwval; in stts751_set_temp_reg8() local219 hwval = stts751_to_hw(temp); in stts751_set_temp_reg8()220 return i2c_smbus_write_byte_data(priv->client, reg, hwval >> 8); in stts751_set_temp_reg8()