Searched refs:tmp_z (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/ |
| H A D | da228e.c | 187 int tmp_x = 0, tmp_y = 0, tmp_z = 0; in sensor_report_value() local 214 tmp_z = z * DA228E_GRAVITY_STEP; in sensor_report_value() 216 __func__, tmp_x, tmp_y, tmp_z); in sensor_report_value() 219 (pdata->orientation[2]) * tmp_z; in sensor_report_value() 221 (pdata->orientation[5]) * tmp_z; in sensor_report_value() 223 (pdata->orientation[8]) * tmp_z; in sensor_report_value()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/ |
| H A D | da215s.c | 186 int tmp_x = 0, tmp_y = 0, tmp_z = 0; in sensor_report_value() local 214 tmp_z = z * DA215S_GRAVITY_STEP; in sensor_report_value() 216 __func__, tmp_x, tmp_y, tmp_z); in sensor_report_value() 219 (pdata->orientation[2]) * tmp_z; in sensor_report_value() 221 (pdata->orientation[5]) * tmp_z; in sensor_report_value() 223 (pdata->orientation[8]) * tmp_z; in sensor_report_value()
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | da223_cust.c | 650 int tmp_x=0,tmp_y=0,tmp_z=0; local 667 tmp_z = z*DA311_GRAVITY_STEP; 671 ….x = (pdata->orientation[0])*tmp_x + (pdata->orientation[1])*tmp_y + (pdata->orientation[2])*tmp_z; 672 ….y = (pdata->orientation[3])*tmp_x + (pdata->orientation[4])*tmp_y + (pdata->orientation[5])*tmp_z; 674 …a->orientation[6])*tmp_x + (pdata->orientation[7])*tmp_y + (bzstk?1:(pdata->orientation[8]))*tmp_z; 676 ….z = (pdata->orientation[6])*tmp_x + (pdata->orientation[7])*tmp_y + (pdata->orientation[8])*tmp_z;
|