Lines Matching refs:ee

257 	val -= dev->ee->lna_gain;  in mt7601u_phy_get_rssi()
258 val -= dev->ee->rssi_offset[0]; in mt7601u_phy_get_rssi()
324 struct mt7601u_rate_power *t = &dev->ee->power_rate_table; in mt7601u_apply_ch14_fixup()
330 t->cck[0].bw20 = dev->ee->real_cck_bw20[0]; in mt7601u_apply_ch14_fixup()
331 t->cck[1].bw20 = dev->ee->real_cck_bw20[1]; in mt7601u_apply_ch14_fixup()
337 t->cck[0].bw20 = dev->ee->real_cck_bw20[0] - 2; in mt7601u_apply_ch14_fixup()
338 t->cck[1].bw20 = dev->ee->real_cck_bw20[1] - 2; in mt7601u_apply_ch14_fixup()
366 { 62, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel()
367 { 63, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel()
368 { 64, 0x37 - dev->ee->lna_gain }, in __mt7601u_phy_set_channel()
374 struct mt7601u_rate_power *t = &dev->ee->power_rate_table; in __mt7601u_phy_set_channel()
415 dev->ee->chan_pwr[chan_idx] & 0x3f); in __mt7601u_phy_set_channel()
632 struct tssi_data *d = &dev->ee->tssi_data; in mt7601u_set_initial_tssi()
726 temp = (dev->raw_temp - dev->ee->ref_temp) * MT_EE_TEMPERATURE_SLOPE; in mt7601u_temp_comp()
776 return dev->ee->chan_pwr[dev->chandef.chan->hw_value - 1]; in mt7601u_current_tx_power()
825 rate_table = dev->ee->power_rate_table.cck; in mt7601u_tssi_params_get()
830 rate_table = dev->ee->power_rate_table.ofdm; in mt7601u_tssi_params_get()
836 rate_table = dev->ee->power_rate_table.ht; in mt7601u_tssi_params_get()
862 p.trgt_power += dev->ee->tssi_data.tx0_delta_offset; in mt7601u_tssi_params_get()
886 if (!dev->ee->tssi_enabled) in mt7601u_tssi_cal()
905 tssi_offset = dev->ee->tssi_data.offset[0]; in mt7601u_tssi_cal()
907 tssi_offset = dev->ee->tssi_data.offset[1]; in mt7601u_tssi_cal()
909 tssi_offset = dev->ee->tssi_data.offset[2]; in mt7601u_tssi_cal()
914 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()
950 return (dev->ee->lna_gain - 8) * 2 + 0x34; in mt7601u_agc_default()
1010 if (!dev->ee->tssi_enabled) in mt7601u_phy_calibrate()
1113 dev->freq_cal.freq = dev->ee->rf_freq_off; in mt7601u_phy_con_cal_onoff()
1128 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
1233 ret = mt7601u_rf_wr(dev, 0, 12, dev->ee->rf_freq_off); in mt7601u_phy_init()