Lines Matching refs:ee
114 dev->ee->tssi_enabled = mt7601u_has_tssi(dev, eeprom) && in mt7601u_set_chip_cap()
141 memset(dev->ee->chan_pwr, trgt_pwr, sizeof(dev->ee->chan_pwr)); in mt7601u_set_channel_target_power()
164 dev->ee->chan_pwr[i] = power; in mt7601u_set_channel_power()
197 dev->ee->reg = chan_bounds[idx]; in mt7601u_set_country_reg()
209 dev->ee->rf_freq_off = field_validate(eeprom[MT_EE_FREQ_OFFSET]); in mt7601u_set_rf_freq_off()
213 dev->ee->rf_freq_off -= comp & 0x7f; in mt7601u_set_rf_freq_off()
215 dev->ee->rf_freq_off += comp; in mt7601u_set_rf_freq_off()
222 s8 *rssi_offset = dev->ee->rssi_offset; in mt7601u_set_rssi_offset()
265 struct mt7601u_rate_power *t = &dev->ee->power_rate_table; in mt7601u_save_power_rate()
272 dev->ee->real_cck_bw20[0] = t->cck[0].bw20; in mt7601u_save_power_rate()
273 dev->ee->real_cck_bw20[1] = t->cck[1].bw20; in mt7601u_save_power_rate()
332 struct tssi_data *d = &dev->ee->tssi_data; in mt7601u_init_tssi_params()
334 if (!dev->ee->tssi_enabled) in mt7601u_init_tssi_params()
354 dev->ee = devm_kzalloc(dev->dev, sizeof(*dev->ee), GFP_KERNEL); in mt7601u_eeprom_init()
355 if (!dev->ee) in mt7601u_eeprom_init()
381 dev->ee->ref_temp = eeprom[MT_EE_REF_TEMP]; in mt7601u_eeprom_init()
382 dev->ee->lna_gain = eeprom[MT_EE_LNA_GAIN]; in mt7601u_eeprom_init()