• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/winbond/

Lines Matching refs:PHY_DEBUG

345     PHY_DEBUG(("[CAL] -> [1]_rxadc_dc_offset_cancellation()\n"));
353 PHY_DEBUG(("[CAL] W89RF242/11G/Channel=2390Mhz\n"));
404 PHY_DEBUG(("[CAL] REG_OFFSET_READ = 0x%08X\n", val));
406 PHY_DEBUG(("[CAL] ** adc_dc_cal_i = %d (0x%04X)\n",
408 PHY_DEBUG(("[CAL] ** adc_dc_cal_q = %d (0x%04X)\n",
447 PHY_DEBUG(("[CAL] -> [2]_txidac_dc_offset_cancellation()\n"));
477 PHY_DEBUG(("[CAL] MODE_CTRL (read) = 0x%08X\n", reg_mode_ctrl));
489 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
492 PHY_DEBUG(("[CAL] DC_CANCEL (read) = 0x%08X\n", reg_dc_cancel));
495 PHY_DEBUG(("[CAL] [%d.] ==================================\n", loop));
499 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
503 PHY_DEBUG(("[CAL] CALIB_READ2 = 0x%08X\n", val));
509 PHY_DEBUG(("[CAL] mag_0=%d (iqcal_image_i=%d, iqcal_image_q=%d)\n",
514 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
518 PHY_DEBUG(("[CAL] CALIB_READ2 = 0x%08X\n", val));
524 PHY_DEBUG(("[CAL] mag_1=%d (iqcal_image_i=%d, iqcal_image_q=%d)\n",
532 PHY_DEBUG(("[CAL] ***** mag_0 = mag_1 !!\n"));
536 PHY_DEBUG(("[CAL] ** fix_cancel_dc_i = %d (0x%04X)\n",
549 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
554 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
572 PHY_DEBUG(("[CAL] -> [3]_txqdac_dc_offset_cacellation()\n"));
598 PHY_DEBUG(("[CAL] MODE_CTRL (read) = 0x%08X\n", reg_mode_ctrl));
604 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
607 PHY_DEBUG(("[CAL] DC_CANCEL (read) = 0x%08X\n", reg_dc_cancel));
610 PHY_DEBUG(("[CAL] [%d.] ==================================\n", loop));
614 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
618 PHY_DEBUG(("[CAL] CALIB_READ2 = 0x%08X\n", val));
624 PHY_DEBUG(("[CAL] mag_0=%d (iqcal_image_i=%d, iqcal_image_q=%d)\n",
629 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
633 PHY_DEBUG(("[CAL] CALIB_READ2 = 0x%08X\n", val));
639 PHY_DEBUG(("[CAL] mag_1=%d (iqcal_image_i=%d, iqcal_image_q=%d)\n",
647 PHY_DEBUG(("[CAL] ***** mag_0 = mag_1 !!\n"));
651 PHY_DEBUG(("[CAL] ** fix_cancel_dc_q = %d (0x%04X)\n",
664 PHY_DEBUG(("[CAL] DC_CANCEL (write) = 0x%08X\n", reg_dc_cancel));
670 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
701 PHY_DEBUG(("[CAL] -> _tx_iq_calibration_loop()\n"));
702 PHY_DEBUG(("[CAL] ** a_2_threshold = %d\n", a_2_threshold));
703 PHY_DEBUG(("[CAL] ** b_2_threshold = %d\n", b_2_threshold));
708 PHY_DEBUG(("[CAL] MODE_CTRL (read) = 0x%08X\n", reg_mode_ctrl));
713 PHY_DEBUG(("[CAL] [%d.] <_tx_iq_calibration_loop>\n", (LOOP_TIMES-loop+1)));
729 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
733 PHY_DEBUG(("[CAL] CALIB_READ1 = 0x%08X\n", val));
737 PHY_DEBUG(("[CAL] ** iqcal_tone_i0=%d, iqcal_tone_q0=%d\n",
743 PHY_DEBUG(("[CAL] ** iq_mag_0_tx=%d\n", iq_mag_0_tx));
748 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
759 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
763 PHY_DEBUG(("[CAL] CALIB_READ1 = 0x%08X\n", val));
767 PHY_DEBUG(("[CAL] ** iqcal_tone_i = %d, iqcal_tone_q = %d\n",
785 PHY_DEBUG(("[CAL] ** rot_i_b = %d, rot_q_b = %d\n",
792 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> ERROR *******\n"));
793 PHY_DEBUG(("[CAL] ** divisor=0 to calculate EPS and THETA !!\n"));
794 PHY_DEBUG(("[CAL] ******************************************\n"));
800 PHY_DEBUG(("[CAL] ***** EPSILON/2 = %d\n", a_2));
801 PHY_DEBUG(("[CAL] ***** THETA/2 = %d\n", b_2));
811 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> *************\n"));
812 PHY_DEBUG(("[CAL] ** VERIFY OK # %d !!\n", verify_count));
813 PHY_DEBUG(("[CAL] ******************************************\n"));
816 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> *********\n"));
817 PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION (EPS,THETA) OK !!\n"));
818 PHY_DEBUG(("[CAL] **************************************\n"));
828 PHY_DEBUG(("[CAL] ** sin(b/2)=%d, cos(b/2)=%d\n", sin_b, cos_b));
829 PHY_DEBUG(("[CAL] ** sin(b)=%d, cos(b)=%d\n", sin_2b, cos_2b));
832 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> ERROR *******\n"));
833 PHY_DEBUG(("[CAL] ** cos(b)=0 !!\n"));
834 PHY_DEBUG(("[CAL] ******************************************\n"));
851 PHY_DEBUG(("[CAL] ** tx_cal_flt_b[0] = %d\n", tx_cal_flt_b[0]));
852 PHY_DEBUG(("[CAL] tx_cal_flt_b[1] = %d\n", tx_cal_flt_b[1]));
853 PHY_DEBUG(("[CAL] tx_cal_flt_b[2] = %d\n", tx_cal_flt_b[2]));
854 PHY_DEBUG(("[CAL] tx_cal_flt_b[3] = %d\n", tx_cal_flt_b[3]));
862 PHY_DEBUG(("[CAL] tx_cal[0] = %d\n", tx_cal[0]));
863 PHY_DEBUG(("[CAL] tx_cal[1] = %d\n", tx_cal[1]));
864 PHY_DEBUG(("[CAL] tx_cal[2] = %d\n", tx_cal[2]));
865 PHY_DEBUG(("[CAL] tx_cal[3] = %d\n", tx_cal[3]));
870 /* PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> *************\n"));
871 * PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION COMPLETE !!\n"));
872 * PHY_DEBUG(("[CAL] ******************************************\n"));
879 PHY_DEBUG(("[CAL] ** 0x54 = 0x%08X\n", val));
886 PHY_DEBUG(("[CAL] ** 0x3C = 0x%08X\n", val));
894 PHY_DEBUG(("[CAL] ** tx_cal_reg[0] = %d\n", tx_cal_reg[0]));
895 PHY_DEBUG(("[CAL] tx_cal_reg[1] = %d\n", tx_cal_reg[1]));
896 PHY_DEBUG(("[CAL] tx_cal_reg[2] = %d\n", tx_cal_reg[2]));
897 PHY_DEBUG(("[CAL] tx_cal_reg[3] = %d\n", tx_cal_reg[3]));
902 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> *********\n"));
903 PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION SATUATION !!\n"));
904 PHY_DEBUG(("[CAL] **************************************\n"));
910 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration_loop> *********\n"));
911 PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION SATUATION !!\n"));
912 PHY_DEBUG(("[CAL] **************************************\n"));
921 PHY_DEBUG(("[CAL] ** apply tx_cal[0] = %d\n", tx_cal[0]));
922 PHY_DEBUG(("[CAL] apply tx_cal[1] = %d\n", tx_cal[1]));
923 PHY_DEBUG(("[CAL] apply tx_cal[2] = %d\n", tx_cal[2]));
924 PHY_DEBUG(("[CAL] apply tx_cal[3] = %d\n", tx_cal[3]));
933 PHY_DEBUG(("[CAL] ** CALIB_DATA = 0x%08X\n", val));
942 PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION = 0x%08X\n", val));
949 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
968 PHY_DEBUG(("[CAL] -> [4]_tx_iq_calibration()\n"));
1041 PHY_DEBUG(("[CAL] ** <_tx_iq_calibration> **************\n"));
1042 PHY_DEBUG(("[CAL] ** TX_IQ_CALIBRATION FAILURE !!\n"));
1043 PHY_DEBUG(("[CAL] **************************************\n"));
1063 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
1074 PHY_DEBUG(("[CAL] ** 0x54 = 0x%08X\n", val));
1081 PHY_DEBUG(("[CAL] ** 0x3C = 0x%08X\n", val));
1089 PHY_DEBUG(("[CAL] ** tx_cal_reg[0] = %d\n", tx_cal_reg[0]));
1090 PHY_DEBUG(("[CAL] tx_cal_reg[1] = %d\n", tx_cal_reg[1]));
1091 PHY_DEBUG(("[CAL] tx_cal_reg[2] = %d\n", tx_cal_reg[2]));
1092 PHY_DEBUG(("[CAL] tx_cal_reg[3] = %d\n", tx_cal_reg[3]));
1132 PHY_DEBUG(("[CAL] -> [5]_rx_iq_calibration_loop()\n"));
1133 PHY_DEBUG(("[CAL] ** factor = %d\n", factor));
1145 PHY_DEBUG(("[CAL] ** RF_CTRL(0xE4) = 0x%08X", val));
1152 PHY_DEBUG(("[CAL] MODE_CTRL (read) = 0x%08X\n", reg_mode_ctrl));
1160 PHY_DEBUG(("[CAL] [%d.] <_rx_iq_calibration_loop>\n", (LOOP_TIMES-loop+1)));
1172 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
1177 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
1181 PHY_DEBUG(("[CAL] CALIB_READ1 = 0x%08X\n", val));
1185 PHY_DEBUG(("[CAL] ** iqcal_tone_i = %d, iqcal_tone_q = %d\n",
1189 PHY_DEBUG(("[CAL] CALIB_READ2 = 0x%08X\n", val));
1193 PHY_DEBUG(("[CAL] ** iqcal_image_i = %d, iqcal_image_q = %d\n",
1221 PHY_DEBUG(("[CAL] ** rot_tone_i_b = %d\n", rot_tone_i_b));
1222 PHY_DEBUG(("[CAL] ** rot_tone_q_b = %d\n", rot_tone_q_b));
1223 PHY_DEBUG(("[CAL] ** rot_image_i_b = %d\n", rot_image_i_b));
1224 PHY_DEBUG(("[CAL] ** rot_image_q_b = %d\n", rot_image_q_b));
1228 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> ERROR *******\n"));
1229 PHY_DEBUG(("[CAL] ** rot_tone_i_b=0 to calculate EPS and THETA !!\n"));
1230 PHY_DEBUG(("[CAL] ******************************************\n"));
1239 PHY_DEBUG(("[CAL] ** iq_rsdl_gain_tx_d2 = %d\n", phw_data->iq_rsdl_gain_tx_d2));
1240 PHY_DEBUG(("[CAL] ** iq_rsdl_phase_tx_d2= %d\n", phw_data->iq_rsdl_phase_tx_d2));
1241 PHY_DEBUG(("[CAL] ***** EPSILON/2 = %d\n", a_2));
1242 PHY_DEBUG(("[CAL] ***** THETA/2 = %d\n", b_2));
1246 PHY_DEBUG(("[CAL] ** sin(b/2)=%d, cos(b/2)=%d\n", sin_b, cos_b));
1247 PHY_DEBUG(("[CAL] ** sin(b)=%d, cos(b)=%d\n", sin_2b, cos_2b));
1250 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> ERROR *******\n"));
1251 PHY_DEBUG(("[CAL] ** cos(b)=0 !!\n"));
1252 PHY_DEBUG(("[CAL] ******************************************\n"));
1270 PHY_DEBUG(("[CAL] ** rx_cal_flt_b[0] = %d\n", rx_cal_flt_b[0]));
1271 PHY_DEBUG(("[CAL] rx_cal_flt_b[1] = %d\n", rx_cal_flt_b[1]));
1272 PHY_DEBUG(("[CAL] rx_cal_flt_b[2] = %d\n", rx_cal_flt_b[2]));
1273 PHY_DEBUG(("[CAL] rx_cal_flt_b[3] = %d\n", rx_cal_flt_b[3]));
1279 PHY_DEBUG(("[CAL] ** rx_cal[0] = %d\n", rx_cal[0]));
1280 PHY_DEBUG(("[CAL] rx_cal[1] = %d\n", rx_cal[1]));
1281 PHY_DEBUG(("[CAL] rx_cal[2] = %d\n", rx_cal[2]));
1282 PHY_DEBUG(("[CAL] rx_cal[3] = %d\n", rx_cal[3]));
1288 PHY_DEBUG(("[CAL] ** pwr_tone = %d\n", pwr_tone));
1289 PHY_DEBUG(("[CAL] ** pwr_image = %d\n", pwr_image));
1294 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> *************\n"));
1295 PHY_DEBUG(("[CAL] ** VERIFY OK # %d !!\n", verify_count));
1296 PHY_DEBUG(("[CAL] ******************************************\n"));
1299 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> *********\n"));
1300 PHY_DEBUG(("[CAL] ** RX_IQ_CALIBRATION OK !!\n"));
1301 PHY_DEBUG(("[CAL] **************************************\n"));
1309 PHY_DEBUG(("[CAL] ** 0x54 = 0x%08X\n", val));
1323 PHY_DEBUG(("[CAL] ** rx_cal_reg[0] = %d\n", rx_cal_reg[0]));
1324 PHY_DEBUG(("[CAL] rx_cal_reg[1] = %d\n", rx_cal_reg[1]));
1325 PHY_DEBUG(("[CAL] rx_cal_reg[2] = %d\n", rx_cal_reg[2]));
1326 PHY_DEBUG(("[CAL] rx_cal_reg[3] = %d\n", rx_cal_reg[3]));
1331 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> *********\n"));
1332 PHY_DEBUG(("[CAL] ** RX_IQ_CALIBRATION SATUATION !!\n"));
1333 PHY_DEBUG(("[CAL] **************************************\n"));
1339 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration_loop> *********\n"));
1340 PHY_DEBUG(("[CAL] ** RX_IQ_CALIBRATION SATUATION !!\n"));
1341 PHY_DEBUG(("[CAL] **************************************\n"));
1350 PHY_DEBUG(("[CAL] ** apply rx_cal[0] = %d\n", rx_cal[0]));
1351 PHY_DEBUG(("[CAL] apply rx_cal[1] = %d\n", rx_cal[1]));
1352 PHY_DEBUG(("[CAL] apply rx_cal[2] = %d\n", rx_cal[2]));
1353 PHY_DEBUG(("[CAL] apply rx_cal[3] = %d\n", rx_cal[3]));
1374 PHY_DEBUG(("[CAL] ** CALIB_DATA = 0x%08X\n", val));
1395 PHY_DEBUG(("[CAL] -> [5]_rx_iq_calibration()\n"));
1424 PHY_DEBUG(("[CAL] ** <_rx_iq_calibration> **************\n"));
1425 PHY_DEBUG(("[CAL] ** RX_IQ_CALIBRATION FAILURE !!\n"));
1426 PHY_DEBUG(("[CAL] **************************************\n"));
1434 PHY_DEBUG(("[CAL] ** 0x54 = 0x%08X\n", val));
1448 PHY_DEBUG(("[CAL] ** rx_cal_reg[0] = %d\n", rx_cal_reg[0]));
1449 PHY_DEBUG(("[CAL] rx_cal_reg[1] = %d\n", rx_cal_reg[1]));
1450 PHY_DEBUG(("[CAL] rx_cal_reg[2] = %d\n", rx_cal_reg[2]));
1451 PHY_DEBUG(("[CAL] rx_cal_reg[3] = %d\n", rx_cal_reg[3]));
1462 PHY_DEBUG(("[CAL] -> phy_calibration_winbond()\n"));
1482 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
1561 PHY_DEBUG(("[CAL] MODE_CTRL (read) = 0x%08X\n", reg_mode_ctrl));
1572 PHY_DEBUG(("[CAL] MODE_CTRL (write) = 0x%08X\n", reg_mode_ctrl));
1581 PHY_DEBUG(("[CAL] CALIB_READ1 = 0x%08X\n", val));
1586 PHY_DEBUG(("[CAL] ** iqcal_tone_i0=%d, iqcal_tone_q0=%d\n",
1591 PHY_DEBUG(("[CAL] ** auto_adjust_txvga_for_iq_mag_0_tx=%d\n", iq_mag_0_tx));