Searched refs:accel_data (Results 1 – 2 of 2) sorted by relevance
52 static struct ipso_accel_data accel_data[MAX_INSTANCE_COUNT]; variable101 (void)memset(&accel_data[avail], 0, sizeof(accel_data[avail])); in accel_create()109 &accel_data[avail].x_value, in accel_create()110 sizeof(accel_data[avail].x_value)); in accel_create()112 &accel_data[avail].y_value, in accel_create()113 sizeof(accel_data[avail].y_value)); in accel_create()115 &accel_data[avail].z_value, in accel_create()116 sizeof(accel_data[avail].z_value)); in accel_create()120 j, &accel_data[avail].min_range, in accel_create()121 sizeof(accel_data[avail].min_range)); in accel_create()[all …]
480 struct adxl372_xyz_accel_data *accel_data) in adxl372_get_accel_data() argument496 accel_data->x = (buf[0] << 8) | (buf[1] & 0xF0); in adxl372_get_accel_data()497 accel_data->y = (buf[2] << 8) | (buf[3] & 0xF0); in adxl372_get_accel_data()498 accel_data->z = (buf[4] << 8) | (buf[5] & 0xF0); in adxl372_get_accel_data()