Lines Matching refs:cdata
845 struct ath5k_chan_pcal_info_rf5111 *cdata =
849 cdata->pcdac_max = ((val >> 10) & AR5K_EEPROM_PCDAC_M);
850 cdata->pcdac_min = ((val >> 4) & AR5K_EEPROM_PCDAC_M);
851 cdata->pwr[0] = ((val << 2) & AR5K_EEPROM_POWER_M);
854 cdata->pwr[0] |= ((val >> 14) & 0x3);
855 cdata->pwr[1] = ((val >> 8) & AR5K_EEPROM_POWER_M);
856 cdata->pwr[2] = ((val >> 2) & AR5K_EEPROM_POWER_M);
857 cdata->pwr[3] = ((val << 4) & AR5K_EEPROM_POWER_M);
860 cdata->pwr[3] |= ((val >> 12) & 0xf);
861 cdata->pwr[4] = ((val >> 6) & AR5K_EEPROM_POWER_M);
862 cdata->pwr[5] = (val & AR5K_EEPROM_POWER_M);
865 cdata->pwr[6] = ((val >> 10) & AR5K_EEPROM_POWER_M);
866 cdata->pwr[7] = ((val >> 4) & AR5K_EEPROM_POWER_M);
867 cdata->pwr[8] = ((val << 2) & AR5K_EEPROM_POWER_M);
870 cdata->pwr[8] |= ((val >> 14) & 0x3);
871 cdata->pwr[9] = ((val >> 8) & AR5K_EEPROM_POWER_M);
872 cdata->pwr[10] = ((val >> 2) & AR5K_EEPROM_POWER_M);
874 ath5k_get_pcdac_intercepts(ah, cdata->pcdac_min,
875 cdata->pcdac_max, cdata->pcdac);