Searched refs:applesmc_read_s16 (Results 1 – 1 of 1) sorted by relevance
501 static int applesmc_read_s16(const char *key, s16 *value) in applesmc_read_s16() function719 applesmc_read_s16(MOTION_SENSOR_X_KEY, &rest_x); in applesmc_calibrate()720 applesmc_read_s16(MOTION_SENSOR_Y_KEY, &rest_y); in applesmc_calibrate()728 if (applesmc_read_s16(MOTION_SENSOR_X_KEY, &x)) in applesmc_idev_poll()730 if (applesmc_read_s16(MOTION_SENSOR_Y_KEY, &y)) in applesmc_idev_poll()753 ret = applesmc_read_s16(MOTION_SENSOR_X_KEY, &x); in applesmc_position_show()756 ret = applesmc_read_s16(MOTION_SENSOR_Y_KEY, &y); in applesmc_position_show()759 ret = applesmc_read_s16(MOTION_SENSOR_Z_KEY, &z); in applesmc_position_show()829 ret = applesmc_read_s16(key, &value); in applesmc_show_temperature()