Searched refs:coords (Results 1 – 2 of 2) sorted by relevance
56 static int jornada720_ts_average(int coords[4]) in jornada720_ts_average()58 int coord, high_bits = coords[3]; in jornada720_ts_average()60 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average()61 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average()62 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average()
158 struct axis_data *coords) in mpu3050_read_xyz() argument163 coords->x = be16_to_cpu(buffer[0]); in mpu3050_read_xyz()164 coords->y = be16_to_cpu(buffer[1]); in mpu3050_read_xyz()165 coords->z = be16_to_cpu(buffer[2]); in mpu3050_read_xyz()167 coords->x, coords->y, coords->z); in mpu3050_read_xyz()