Lines Matching refs:pcinfo
670 struct ath5k_chan_pcal_info_rf5111 *pcinfo; in ath5k_eeprom_convert_pcal_info_5111() local
678 pcinfo = &chinfo[pier].rf5111_info; in ath5k_eeprom_convert_pcal_info_5111()
724 pd->pd_pwr[point] = 2 * pcinfo->pwr[point]; in ath5k_eeprom_convert_pcal_info_5111()
727 pd->pd_step[point] = pcinfo->pcdac[point]; in ath5k_eeprom_convert_pcal_info_5111()
854 struct ath5k_chan_pcal_info_rf5112 *pcinfo; in ath5k_eeprom_convert_pcal_info_5112() local
861 pcinfo = &chinfo[pier].rf5112_info; in ath5k_eeprom_convert_pcal_info_5112()
900 pd->pd_step[0] = pcinfo->pcdac_x0[0]; in ath5k_eeprom_convert_pcal_info_5112()
901 pd->pd_pwr[0] = pcinfo->pwr_x0[0]; in ath5k_eeprom_convert_pcal_info_5112()
907 pcinfo->pwr_x0[point]; in ath5k_eeprom_convert_pcal_info_5112()
912 pcinfo->pcdac_x0[point]; in ath5k_eeprom_convert_pcal_info_5112()
942 pcinfo->pwr_x3[point]; in ath5k_eeprom_convert_pcal_info_5112()
946 pcinfo->pcdac_x3[point]; in ath5k_eeprom_convert_pcal_info_5112()
1143 struct ath5k_chan_pcal_info_rf2413 *pcinfo; in ath5k_eeprom_convert_pcal_info_2413() local
1150 pcinfo = &chinfo[pier].rf2413_info; in ath5k_eeprom_convert_pcal_info_2413()
1191 pd->pd_step[0] = pcinfo->pddac_i[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1192 pd->pd_pwr[0] = 4 * pcinfo->pwr_i[pdg]; in ath5k_eeprom_convert_pcal_info_2413()
1197 2 * pcinfo->pwr[pdg][point - 1]; in ath5k_eeprom_convert_pcal_info_2413()
1200 pcinfo->pddac[pdg][point - 1]; in ath5k_eeprom_convert_pcal_info_2413()
1223 struct ath5k_chan_pcal_info_rf2413 *pcinfo; in ath5k_eeprom_read_pcal_info_2413() local
1278 pcinfo = &chinfo[i].rf2413_info; in ath5k_eeprom_read_pcal_info_2413()
1285 pcinfo->pwr_i[0] = val & 0x1f; in ath5k_eeprom_read_pcal_info_2413()
1286 pcinfo->pddac_i[0] = (val >> 5) & 0x7f; in ath5k_eeprom_read_pcal_info_2413()
1287 pcinfo->pwr[0][0] = (val >> 12) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1290 pcinfo->pddac[0][0] = val & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1291 pcinfo->pwr[0][1] = (val >> 6) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1292 pcinfo->pddac[0][1] = (val >> 10) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1295 pcinfo->pwr[0][2] = val & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1296 pcinfo->pddac[0][2] = (val >> 4) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1298 pcinfo->pwr[0][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1299 pcinfo->pddac[0][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1307 pcinfo->pwr_i[1] = (val >> 10) & 0x1f; in ath5k_eeprom_read_pcal_info_2413()
1309 pcinfo->pddac_i[1] = (val >> 15) & 0x1; in ath5k_eeprom_read_pcal_info_2413()
1311 pcinfo->pddac_i[1] |= (val & 0x3F) << 1; in ath5k_eeprom_read_pcal_info_2413()
1313 pcinfo->pwr[1][0] = (val >> 6) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1314 pcinfo->pddac[1][0] = (val >> 10) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1317 pcinfo->pwr[1][1] = val & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1318 pcinfo->pddac[1][1] = (val >> 4) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1319 pcinfo->pwr[1][2] = (val >> 10) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1321 pcinfo->pddac[1][2] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1323 pcinfo->pddac[1][2] |= (val & 0xF) << 2; in ath5k_eeprom_read_pcal_info_2413()
1325 pcinfo->pwr[1][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1326 pcinfo->pddac[1][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1332 pcinfo->pwr[0][3] = (val >> 10) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1334 pcinfo->pddac[0][3] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1336 pcinfo->pddac[0][3] |= (val & 0xF) << 2; in ath5k_eeprom_read_pcal_info_2413()
1344 pcinfo->pwr_i[2] = (val >> 4) & 0x1f; in ath5k_eeprom_read_pcal_info_2413()
1345 pcinfo->pddac_i[2] = (val >> 9) & 0x7f; in ath5k_eeprom_read_pcal_info_2413()
1348 pcinfo->pwr[2][0] = (val >> 0) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1349 pcinfo->pddac[2][0] = (val >> 4) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1350 pcinfo->pwr[2][1] = (val >> 10) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1352 pcinfo->pddac[2][1] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1354 pcinfo->pddac[2][1] |= (val & 0xF) << 2; in ath5k_eeprom_read_pcal_info_2413()
1356 pcinfo->pwr[2][2] = (val >> 4) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1357 pcinfo->pddac[2][2] = (val >> 8) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1359 pcinfo->pwr[2][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1360 pcinfo->pddac[2][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1362 pcinfo->pwr[1][3] = (val >> 4) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1363 pcinfo->pddac[1][3] = (val >> 8) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1367 pcinfo->pwr_i[3] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1369 pcinfo->pwr_i[3] |= ((val >> 0) & 0x7) << 2; in ath5k_eeprom_read_pcal_info_2413()
1371 pcinfo->pddac_i[3] = (val >> 3) & 0x7f; in ath5k_eeprom_read_pcal_info_2413()
1372 pcinfo->pwr[3][0] = (val >> 10) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1373 pcinfo->pddac[3][0] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1376 pcinfo->pddac[3][0] |= (val & 0xF) << 2; in ath5k_eeprom_read_pcal_info_2413()
1377 pcinfo->pwr[3][1] = (val >> 4) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1378 pcinfo->pddac[3][1] = (val >> 8) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1380 pcinfo->pwr[3][2] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1382 pcinfo->pwr[3][2] |= ((val >> 0) & 0x3) << 2; in ath5k_eeprom_read_pcal_info_2413()
1384 pcinfo->pddac[3][2] = (val >> 2) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()
1385 pcinfo->pwr[3][3] = (val >> 8) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1387 pcinfo->pddac[3][3] = (val >> 12) & 0xF; in ath5k_eeprom_read_pcal_info_2413()
1389 pcinfo->pddac[3][3] |= ((val >> 0) & 0x3) << 4; in ath5k_eeprom_read_pcal_info_2413()
1391 pcinfo->pwr[2][3] = (val >> 14) & 0x3; in ath5k_eeprom_read_pcal_info_2413()
1393 pcinfo->pwr[2][3] |= ((val >> 0) & 0x3) << 2; in ath5k_eeprom_read_pcal_info_2413()
1395 pcinfo->pddac[2][3] = (val >> 2) & 0x3f; in ath5k_eeprom_read_pcal_info_2413()