Lines Matching refs:CHARS_TO_SHORT
143 #define CHARS_TO_SHORT(d) ((((short)(d)[0])<<8)+(d)[1]) macro
420 packet_count = CHARS_TO_SHORT(dataout) / 6; in inv_test_gyro_3050()
431 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]); in inv_test_gyro_3050()
432 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]); in inv_test_gyro_3050()
433 z[total_count + i] = CHARS_TO_SHORT(&dataout[4]); in inv_test_gyro_3050()
461 temperature += (short)CHARS_TO_SHORT(dataout); in inv_test_gyro_3050()
689 packet_count = CHARS_TO_SHORT(dataout) / 6; in inv_test_gyro_6050()
703 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]); in inv_test_gyro_6050()
704 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]); in inv_test_gyro_6050()
705 z[total_count + i] = CHARS_TO_SHORT(&dataout[4]); in inv_test_gyro_6050()
737 temperature += (short)CHARS_TO_SHORT(dataout); in inv_test_gyro_6050()
1373 vals[0] = CHARS_TO_SHORT(&data[0]); in test_get_data()
1374 vals[1] = CHARS_TO_SHORT(&data[2]); in test_get_data()
1375 vals[2] = CHARS_TO_SHORT(&data[4]); in test_get_data()