Searched refs:mtx (Results 1 – 2 of 2) sorted by relevance
137 signed char *mtx = mldl_cfg->pdata->accel.orientation; in inv_get_accel_data() local178 data[ii] = ((long)tmp[0] * mtx[3 * ii] + in inv_get_accel_data()179 (long)tmp[1] * mtx[3 * ii + 1] + in inv_get_accel_data()180 (long)tmp[2] * mtx[3 * ii + 2]); in inv_get_accel_data()
112 unsigned short inv_orientation_matrix_to_scalar(const signed char *mtx);1469 unsigned short inv_orientation_matrix_to_scalar(const signed char *mtx) in inv_orientation_matrix_to_scalar() argument1481 scalar = inv_row_2_scale(mtx); in inv_orientation_matrix_to_scalar()1482 scalar |= inv_row_2_scale(mtx + 3) << 3; in inv_orientation_matrix_to_scalar()1483 scalar |= inv_row_2_scale(mtx + 6) << 6; in inv_orientation_matrix_to_scalar()