Home
last modified time | relevance | path

Searched refs:MT76_TM_STATE_OFF (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dtestmode.c70 if (mphy->test.state != MT76_TM_STATE_OFF) in mt7615_tm_set_tx_power()
106 if (phy->mt76->test.state == MT76_TM_STATE_OFF) { in mt7615_tm_reg_backup_restore()
141 mt7615_mcu_set_sku_en(phy, phy->mt76->test.state == MT76_TM_STATE_OFF); in mt7615_tm_init()
246 bool en = phy->mt76->test.state != MT76_TM_STATE_OFF; in mt7615_tm_update_params()
276 prev_state == MT76_TM_STATE_OFF) || in mt7615_tm_set_state()
277 (state == MT76_TM_STATE_OFF && in mt7615_tm_set_state()
306 if (new_state == MT76_TM_STATE_OFF || in mt7615_tm_set_params()
307 td->state == MT76_TM_STATE_OFF) in mt7615_tm_set_params()
Dmain.c446 if (phy->mt76->test.state != MT76_TM_STATE_OFF) { in mt7615_config()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c59 if (phy->mt76->test.state != MT76_TM_STATE_OFF) in mt7915_tm_set_tx_power()
141 .testmode_en = !(phy->mt76->test.state == MT76_TM_STATE_OFF), in mt7915_tm_set_slot_time()
359 if (phy->mt76->test.state == MT76_TM_STATE_OFF) { in mt7915_tm_reg_backup_restore()
643 bool en = phy->mt76->test.state != MT76_TM_STATE_OFF; in mt7915_tm_update_params()
669 else if (prev_state == MT76_TM_STATE_OFF || in mt7915_tm_set_state()
670 state == MT76_TM_STATE_OFF) in mt7915_tm_set_state()
671 mt7915_tm_init(phy, !(state == MT76_TM_STATE_OFF)); in mt7915_tm_set_state()
674 prev_state == MT76_TM_STATE_OFF) || in mt7915_tm_set_state()
675 (state == MT76_TM_STATE_OFF && in mt7915_tm_set_state()
704 if (new_state == MT76_TM_STATE_OFF || in mt7915_tm_set_params()
[all …]
Dmain.c440 if (phy->mt76->test.state != MT76_TM_STATE_OFF) { in mt7915_config()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dtestmode.h159 MT76_TM_STATE_OFF, enumerator
Dtestmode.c368 if (state == td->state && state == MT76_TM_STATE_OFF) in mt76_testmode_set_state()
371 if (state > MT76_TM_STATE_OFF && in mt76_testmode_set_state()
430 mt76_testmode_set_state(phy, MT76_TM_STATE_OFF); in mt76_testmode_cmd()
Dmt76.h1118 return phy->test.state != MT76_TM_STATE_OFF; in mt76_testmode_enabled()
1242 if (disable || phy->test.state == MT76_TM_STATE_OFF) in mt76_testmode_reset()
1243 state = MT76_TM_STATE_OFF; in mt76_testmode_reset()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dtestmode.c76 phy->test.state = MT76_TM_STATE_OFF; in mt7921_tm_set()