Searched refs:acc_data (Results 1 – 1 of 1) sorted by relevance
102 s16 acc_data[3]; /* Data bytes from hardware xL, xH, yL, yH, zL, zH */ in kxtj9_report_acceleration_data() local106 err = kxtj9_i2c_read(tj9, XOUT_L, (u8 *)acc_data, 6); in kxtj9_report_acceleration_data()110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data()111 y = le16_to_cpu(acc_data[tj9->pdata.axis_map_y]); in kxtj9_report_acceleration_data()112 z = le16_to_cpu(acc_data[tj9->pdata.axis_map_z]); in kxtj9_report_acceleration_data()
Completed in 3 milliseconds