Lines Matching refs:trig
52 enum iwl_fw_dbg_trigger trig, const char *str,
77 iwl_fw_dbg_trigger_vif_match(struct iwl_fw_dbg_trigger_tlv *trig, in iwl_fw_dbg_trigger_vif_match() argument
80 u32 trig_vif = le32_to_cpu(trig->vif_type); in iwl_fw_dbg_trigger_vif_match()
88 struct iwl_fw_dbg_trigger_tlv *trig) in iwl_fw_dbg_trigger_stop_conf_match() argument
90 return ((trig->mode & IWL_FW_DBG_TRIGGER_STOP) && in iwl_fw_dbg_trigger_stop_conf_match()
92 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match()
113 struct iwl_fw_dbg_trigger_tlv *trig) in iwl_fw_dbg_trigger_check_stop() argument
115 u32 usec = le16_to_cpu(trig->trig_dis_ms) * USEC_PER_MSEC; in iwl_fw_dbg_trigger_check_stop()
117 if (wdev && !iwl_fw_dbg_trigger_vif_match(trig, wdev)) in iwl_fw_dbg_trigger_check_stop()
120 if (iwl_fw_dbg_no_trig_window(fwrt, le32_to_cpu(trig->id), usec)) { in iwl_fw_dbg_trigger_check_stop()
122 trig->id); in iwl_fw_dbg_trigger_check_stop()
126 return iwl_fw_dbg_trigger_stop_conf_match(fwrt, trig); in iwl_fw_dbg_trigger_check_stop()
134 struct iwl_fw_dbg_trigger_tlv *trig; in _iwl_fw_dbg_trigger_on() local
142 trig = _iwl_fw_dbg_get_trigger(fwrt->fw, id); in _iwl_fw_dbg_trigger_on()
144 if (!iwl_fw_dbg_trigger_check_stop(fwrt, wdev, trig)) in _iwl_fw_dbg_trigger_on()
147 return trig; in _iwl_fw_dbg_trigger_on()
170 #define iwl_fw_dbg_trigger_simple_stop(fwrt, wdev, trig) \ argument
173 (trig)))