Lines Matching refs:mag_tx
565 s32 mag_tx, phs_tx, mag_rx, phs_rx;
577 mag_tx = f1 * (mag_a0_d0 - mag_a1_d0) + f3 * (phs_a0_d0 - phs_a1_d0);
581 mag_tx = (mag_tx / f2);
585 mag_rx = mag_a0_d0 - (cos_2phi_1 * mag_tx + sin_2phi_1 * phs_tx) /
588 phs_rx = phs_a0_d0 + (sin_2phi_1 * mag_tx - cos_2phi_1 * phs_tx) /
591 solved_eq[0] = mag_tx;
631 s32 mag_tx, phs_tx, mag_rx, phs_rx;
766 mag_tx = solved_eq[0];
773 chain_idx, mag_tx/res_scale, phs_tx/res_scale);
775 if (res_scale == mag_tx) {
777 "Divide by 0: mag_tx=%d, res_scale=%d\n",
778 mag_tx, res_scale);
783 mag_corr_tx = (mag_tx * res_scale) / (res_scale - mag_tx);