Lines Matching refs:t

284 static int yas530_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2)  in yas530_measure()  argument
327 *t = val; in yas530_measure()
341 *t = val; in yas530_measure()
368 static int yas537_measure(struct yas5xx *yas5xx, u16 *t, u16 *x, u16 *y1, u16 *y2) in yas537_measure() argument
402 *t = get_unaligned_be16(&data[0]); in yas537_measure()
474 static s32 yas5xx_calc_temperature(struct yas5xx *yas5xx, u16 t) in yas5xx_calc_temperature() argument
486 to = (min_temp_x10 + ((ref_temp_x10 - min_temp_x10) * t / t_ref)) * 100; in yas5xx_calc_temperature()
505 u16 t_ref, t_comp, t, x, y1, y2; in yas530_get_measure() local
511 ret = yas530_measure(yas5xx, &t, &x, &y1, &y2); in yas530_get_measure()
528 t_comp = t - t_ref; in yas530_get_measure()
530 t_comp = t; in yas530_get_measure()
552 *to = yas5xx_calc_temperature(yas5xx, t); in yas530_get_measure()
587 u16 t, x, y1, y2; in yas537_get_measure() local
591 ret = yas537_measure(yas5xx, &t, &x, &y1, &y2); in yas537_get_measure()
596 *to = yas5xx_calc_temperature(yas5xx, t); in yas537_get_measure()
618 s32 t, x, y, z; in yas5xx_read_raw() local
625 ret = ci->get_measure(yas5xx, &t, &x, &y, &z); in yas5xx_read_raw()
632 *val = t; in yas5xx_read_raw()
662 s32 t, x, y, z; in yas5xx_fill_buffer() local
666 ret = ci->get_measure(yas5xx, &t, &x, &y, &z); in yas5xx_fill_buffer()
673 yas5xx->scan.channels[0] = t; in yas5xx_fill_buffer()
1196 u16 t, x, y1, y2; in yas530_measure_offsets() local
1239 ret = yas530_measure(yas5xx, &t, &x, &y1, &y2); in yas530_measure_offsets()