Lines Matching refs:temp_int
77 s32 temp_int, temp_dec; in sbtsi_read() local
96 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_INT); in sbtsi_read()
98 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_INT); in sbtsi_read()
105 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_HIGH_INT); in sbtsi_read()
111 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_LOW_INT); in sbtsi_read()
120 if (temp_int < 0) in sbtsi_read()
121 return temp_int; in sbtsi_read()
125 *val = sbtsi_reg_to_mc(temp_int, temp_dec); in sbtsi_read()
135 u8 temp_int, temp_dec; in sbtsi_write() local
151 sbtsi_mc_to_reg(val, &temp_int, &temp_dec); in sbtsi_write()
154 err = i2c_smbus_write_byte_data(data->client, reg_int, temp_int); in sbtsi_write()