Home
last modified time | relevance | path

Searched refs:sensor_convert_data (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dmxc622x.c148 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
207 x = sensor_convert_data(sensor->client, 0, buffer[0]); //buffer[1]:high bit in sensor_report_value()
208 y = sensor_convert_data(sensor->client, 0, buffer[1]); in sensor_report_value()
209 z = sensor_convert_data(sensor->client, 0, buffer[2]); in sensor_report_value()
H A Dmxc6655xa.c116 static int sensor_convert_data(struct i2c_client *client, in sensor_convert_data() function
174 x = sensor_convert_data(sensor->client, buffer[0], buffer[1]); in sensor_report_value()
175 y = sensor_convert_data(sensor->client, buffer[2], buffer[3]); in sensor_report_value()
176 z = sensor_convert_data(sensor->client, buffer[4], buffer[5]); in sensor_report_value()
H A Dmma7660.c113 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
168 x = sensor_convert_data(sensor->client, 0, buffer[0]); in sensor_report_value()
169 y = sensor_convert_data(sensor->client, 0, buffer[1]); in sensor_report_value()
170 z = sensor_convert_data(sensor->client, 0, buffer[2]); in sensor_report_value()
H A Dkxtj9.c189 static short sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
254 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
255 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
256 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
H A Dlsm303d.c208 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
285 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
286 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
287 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
H A Dkxtik.c216 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
283 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
284 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
285 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
H A Dmma8452.c242 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
347 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
348 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
349 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
H A Ddmard10.c323 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
376 x = sensor_convert_data(sensor->client, buffer[3], buffer[2]); //buffer[1]:high bit in sensor_report_value()
377 y = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
378 z = sensor_convert_data(sensor->client, buffer[7], buffer[6]); in sensor_report_value()
H A Dsc7a30.c1027 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() function
1081 x = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); //buffer[1]:high bit in sensor_report_value()
1089 y = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
1096 z = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
1110 x = sensor_convert_data(sensor->client, buffer[1], buffer[0], 0); //buffer[1]:high bit in sensor_report_value()
1111 y = sensor_convert_data(sensor->client, buffer[3], buffer[2], 0); in sensor_report_value()
1112 z = sensor_convert_data(sensor->client, buffer[5], buffer[4], 0); in sensor_report_value()
H A Dsc7a20.c1493 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() function
1629 x = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); //buffer[1]:high bit in sensor_report_value()
1637 y = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
1645 z = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
H A Dsc7660.c1410 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte ,s16 off) in sensor_convert_data() function
1544 x = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); //buffer[1]:high bit in sensor_report_value()
1552 y = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
1559 z = sensor_convert_data(sensor->client, buffer2[0], buffer1[0],0); in sensor_report_value()
/OK3568_Linux_fs/kernel/drivers/input/sensors/angle/
H A Dangle_lis3dh.c181 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
257 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
258 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
259 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
H A Dangle_kxtik.c245 static int sensor_convert_data(struct i2c_client *client, char high_byte, char low_byte) in sensor_convert_data() function
315 x = sensor_convert_data(sensor->client, buffer[1], buffer[0]); //buffer[1]:high bit in sensor_report_value()
316 y = sensor_convert_data(sensor->client, buffer[3], buffer[2]); in sensor_report_value()
317 z = sensor_convert_data(sensor->client, buffer[5], buffer[4]); in sensor_report_value()
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/
H A Dda228e.c150 static int sensor_convert_data(struct i2c_client *client, in sensor_convert_data() function
204 x = sensor_convert_data(sensor->client, buffer[0], buffer[1]); in sensor_report_value()
205 y = sensor_convert_data(sensor->client, buffer[2], buffer[3]); in sensor_report_value()
206 z = sensor_convert_data(sensor->client, buffer[4], buffer[5]); in sensor_report_value()
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/
H A Dda215s.c149 static int sensor_convert_data(struct i2c_client *client, in sensor_convert_data() function
203 x = sensor_convert_data(sensor->client, buffer[0], buffer[1]); in sensor_report_value()
204 y = sensor_convert_data(sensor->client, buffer[2], buffer[3]); in sensor_report_value()
205 z = sensor_convert_data(sensor->client, buffer[4], buffer[5]); in sensor_report_value()