Lines Matching refs:rate_pcal_info
1476 struct ath5k_rate_pcal_info *rate_pcal_info; in ath5k_eeprom_read_target_rate_pwr_info() local
1487 rate_pcal_info = ee->ee_rate_tpwr_a; in ath5k_eeprom_read_target_rate_pwr_info()
1492 rate_pcal_info = ee->ee_rate_tpwr_b; in ath5k_eeprom_read_target_rate_pwr_info()
1497 rate_pcal_info = ee->ee_rate_tpwr_g; in ath5k_eeprom_read_target_rate_pwr_info()
1508 rate_pcal_info[i].freq = in ath5k_eeprom_read_target_rate_pwr_info()
1511 rate_pcal_info[i].target_power_6to24 = ((val >> 3) & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()
1512 rate_pcal_info[i].target_power_36 = (val << 3) & 0x3f; in ath5k_eeprom_read_target_rate_pwr_info()
1516 if (rate_pcal_info[i].freq == AR5K_EEPROM_CHANNEL_DIS || in ath5k_eeprom_read_target_rate_pwr_info()
1522 rate_pcal_info[i].target_power_36 |= ((val >> 13) & 0x7); in ath5k_eeprom_read_target_rate_pwr_info()
1523 rate_pcal_info[i].target_power_48 = ((val >> 7) & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()
1524 rate_pcal_info[i].target_power_54 = ((val >> 1) & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()
1529 rate_pcal_info[i].freq = in ath5k_eeprom_read_target_rate_pwr_info()
1532 rate_pcal_info[i].target_power_6to24 = ((val >> 2) & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()
1533 rate_pcal_info[i].target_power_36 = (val << 4) & 0x3f; in ath5k_eeprom_read_target_rate_pwr_info()
1537 if (rate_pcal_info[i].freq == AR5K_EEPROM_CHANNEL_DIS || in ath5k_eeprom_read_target_rate_pwr_info()
1543 rate_pcal_info[i].target_power_36 |= (val >> 12) & 0xf; in ath5k_eeprom_read_target_rate_pwr_info()
1544 rate_pcal_info[i].target_power_48 = ((val >> 6) & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()
1545 rate_pcal_info[i].target_power_54 = (val & 0x3f); in ath5k_eeprom_read_target_rate_pwr_info()