Lines Matching full:en
74 mt7915_tm_set_freq_offset(struct mt7915_phy *phy, bool en, u32 val) in mt7915_tm_set_freq_offset() argument
78 .testmode_en = en, in mt7915_tm_set_freq_offset()
106 mt7915_tm_set_trx(struct mt7915_phy *phy, int type, bool en) in mt7915_tm_set_trx() argument
113 .param.trx.enable = en, in mt7915_tm_set_trx()
404 mt7915_tm_init(struct mt7915_phy *phy, bool en) in mt7915_tm_init() argument
412 mt7915_mcu_set_sku_en(phy, !en); in mt7915_tm_init()
414 mt7915_tm_mode_ctrl(dev, en); in mt7915_tm_init()
416 mt7915_tm_set_trx(phy, TM_MAC_TXRX, !en); in mt7915_tm_init()
418 mt7915_mcu_add_bss_info(phy, phy->monitor_vif, en); in mt7915_tm_init()
419 state = en ? CONN_STATE_PORT_SECURE : CONN_STATE_DISCONNECT; in mt7915_tm_init()
422 if (!en) in mt7915_tm_init()
423 mt7915_tm_set_tam_arb(phy, en, 0); in mt7915_tm_init()
437 mt7915_tm_set_tx_frames(struct mt7915_phy *phy, bool en) in mt7915_tm_set_tx_frames() argument
449 if (en) { in mt7915_tm_set_tx_frames()
458 mt7915_tm_set_tam_arb(phy, en, in mt7915_tm_set_tx_frames()
475 if (!en || !td->tx_skb) in mt7915_tm_set_tx_frames()
481 mt7915_tm_set_trx(phy, TM_MAC_TX, en); in mt7915_tm_set_tx_frames()
485 mt7915_tm_set_rx_frames(struct mt7915_phy *phy, bool en) in mt7915_tm_set_rx_frames() argument
489 if (en) { in mt7915_tm_set_rx_frames()
496 mt7915_tm_set_trx(phy, TM_MAC_RX_RXV, en); in mt7915_tm_set_rx_frames()
512 mt7915_tm_set_tx_cont(struct mt7915_phy *phy, bool en) in mt7915_tm_set_tx_cont() argument
520 u32 func_idx = en ? TX_CONT_START : TX_CONT_STOP; in mt7915_tm_set_tx_cont()
565 if (!en) { in mt7915_tm_set_tx_cont()
619 if (!en) { in mt7915_tm_set_tx_cont()
641 bool en = phy->mt76->test.state != MT76_TM_STATE_OFF; in mt7915_tm_update_params() local
644 mt7915_tm_set_freq_offset(phy, en, en ? td->freq_offset : 0); in mt7915_tm_update_params()