Lines Matching defs:dev
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr()
95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw()
111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set()
117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear()
122 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr()
144 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr()
182 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw()
195 static u8 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmc()
209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready()
228 u32 mt7601u_bbp_set_ctrlch(struct mt7601u_dev *dev, bool below) in mt7601u_bbp_set_ctrlch()
233 int mt7601u_phy_get_rssi(struct mt7601u_dev *dev, in mt7601u_phy_get_rssi()
263 static void mt7601u_vco_cal(struct mt7601u_dev *dev) in mt7601u_vco_cal()
271 static int mt7601u_set_bw_filter(struct mt7601u_dev *dev, bool cal) in mt7601u_set_bw_filter()
289 static int mt7601u_load_bbp_temp_table_bw(struct mt7601u_dev *dev) in mt7601u_load_bbp_temp_table_bw()
301 static int mt7601u_bbp_temp(struct mt7601u_dev *dev, int mode, const char *name) in mt7601u_bbp_temp()
322 static void mt7601u_apply_ch14_fixup(struct mt7601u_dev *dev, int hw_chan) in mt7601u_apply_ch14_fixup()
342 static int __mt7601u_phy_set_channel(struct mt7601u_dev *dev, in __mt7601u_phy_set_channel()
442 int mt7601u_phy_set_channel(struct mt7601u_dev *dev, in mt7601u_phy_set_channel()
484 static u8 mt7601u_bbp_r47_get(struct mt7601u_dev *dev, u8 reg, u8 flag) in mt7601u_bbp_r47_get()
492 static s8 mt7601u_read_bootup_temp(struct mt7601u_dev *dev) in mt7601u_read_bootup_temp()
530 static s8 mt7601u_read_temp(struct mt7601u_dev *dev) in mt7601u_read_temp()
548 static void mt7601u_rxdc_cal(struct mt7601u_dev *dev) in mt7601u_rxdc_cal()
587 void mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev) in mt7601u_phy_recalibrate_after_assoc()
630 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) in mt7601u_set_initial_tssi()
641 static void mt7601u_tssi_dc_gain_cal(struct mt7601u_dev *dev) in mt7601u_tssi_dc_gain_cal()
722 static int mt7601u_temp_comp(struct mt7601u_dev *dev, bool on) in mt7601u_temp_comp()
774 static int mt7601u_current_tx_power(struct mt7601u_dev *dev) in mt7601u_current_tx_power()
779 static bool mt7601u_use_hvga(struct mt7601u_dev *dev) in mt7601u_use_hvga()
785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev *dev, int phy_mode, int tx_rate) in mt7601u_phy_rf_pa_mode_val()
806 mt7601u_tssi_params_get(struct mt7601u_dev *dev) in mt7601u_tssi_params_get()
871 static bool mt7601u_tssi_read_ready(struct mt7601u_dev *dev) in mt7601u_tssi_read_ready()
876 static int mt7601u_tssi_cal(struct mt7601u_dev *dev) in mt7601u_tssi_cal()
948 static u8 mt7601u_agc_default(struct mt7601u_dev *dev) in mt7601u_agc_default()
953 static void mt7601u_agc_reset(struct mt7601u_dev *dev) in mt7601u_agc_reset()
960 void mt7601u_agc_save(struct mt7601u_dev *dev) in mt7601u_agc_save()
965 void mt7601u_agc_restore(struct mt7601u_dev *dev) in mt7601u_agc_restore()
970 static void mt7601u_agc_tune(struct mt7601u_dev *dev) in mt7601u_agc_tune()
1004 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_phy_calibrate() local
1019 __mt7601u_phy_freq_cal(struct mt7601u_dev *dev, s8 last_offset, u8 phy_mode) in __mt7601u_phy_freq_cal()
1078 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, in mt7601u_phy_freq_cal() local
1097 void mt7601u_phy_con_cal_onoff(struct mt7601u_dev *dev, in mt7601u_phy_con_cal_onoff()
1119 static int mt7601u_init_cal(struct mt7601u_dev *dev) in mt7601u_init_cal()
1177 int mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw) in mt7601u_bbp_set_bw()
1208 void mt7601u_set_rx_path(struct mt7601u_dev *dev, u8 path) in mt7601u_set_rx_path()
1218 void mt7601u_set_tx_dac(struct mt7601u_dev *dev, u8 dac) in mt7601u_set_tx_dac()
1223 int mt7601u_phy_init(struct mt7601u_dev *dev) in mt7601u_phy_init()