Lines Matching refs:temp11
389 s16 temp11[TEMP11_REG_NUM]; member
544 &data->temp11[LOCAL_TEMP]); in lm90_update_device()
548 data->temp11[LOCAL_TEMP] = h << 8; in lm90_update_device()
552 &data->temp11[REMOTE_TEMP]); in lm90_update_device()
555 data->temp11[REMOTE_LOW] = h << 8; in lm90_update_device()
559 data->temp11[REMOTE_LOW] |= l; in lm90_update_device()
562 data->temp11[REMOTE_HIGH] = h << 8; in lm90_update_device()
566 data->temp11[REMOTE_HIGH] |= l; in lm90_update_device()
574 data->temp11[REMOTE_OFFSET] = (h << 8) | l; in lm90_update_device()
593 &data->temp11[REMOTE2_TEMP]); in lm90_update_device()
595 data->temp11[REMOTE2_LOW] = h << 8; in lm90_update_device()
597 data->temp11[REMOTE2_HIGH] = h << 8; in lm90_update_device()
836 temp = temp_from_u16_adt7461(data, data->temp11[attr->index]); in show_temp11()
838 temp = temp_from_u16(data->temp11[attr->index]); in show_temp11()
840 temp = temp_from_s16(data->temp11[attr->index]); in show_temp11()
882 data->temp11[index] = temp_to_u16_adt7461(data, val); in set_temp11()
884 data->temp11[index] = temp_to_u8(val) << 8; in set_temp11()
886 data->temp11[index] = temp_to_s16(val); in set_temp11()
888 data->temp11[index] = temp_to_s8(val) << 8; in set_temp11()
892 data->temp11[index] >> 8); in set_temp11()
895 data->temp11[index] & 0xff); in set_temp11()