Lines Matching defs:fwrt

120 	debugfs_create_file(alias, mode, parent, fwrt,			\
126 static int iwl_dbgfs_enabled_severities_write(struct iwl_fw_runtime *fwrt,
144 if (fwrt->ops && fwrt->ops->send_hcmd)
145 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd);
149 IWL_INFO(fwrt,
161 struct iwl_fw_runtime *fwrt =
163 unsigned long delay = fwrt->timestamp.delay;
165 ret = iwl_fw_send_timestamp_marker_cmd(fwrt);
167 schedule_delayed_work(&fwrt->timestamp.wk,
170 IWL_INFO(fwrt,
175 void iwl_fw_trigger_timestamp(struct iwl_fw_runtime *fwrt, u32 delay)
177 IWL_INFO(fwrt,
181 iwl_fw_cancel_timestamp(fwrt);
183 fwrt->timestamp.delay = msecs_to_jiffies(delay * 1000);
185 schedule_delayed_work(&fwrt->timestamp.wk,
186 round_jiffies_relative(fwrt->timestamp.delay));
189 static ssize_t iwl_dbgfs_timestamp_marker_write(struct iwl_fw_runtime *fwrt,
199 iwl_fw_trigger_timestamp(fwrt, delay);
204 static ssize_t iwl_dbgfs_timestamp_marker_read(struct iwl_fw_runtime *fwrt,
207 u32 delay_secs = jiffies_to_msecs(fwrt->timestamp.delay) / 1000;
221 static ssize_t iwl_dbgfs_send_hcmd_write(struct iwl_fw_runtime *fwrt, char *buf,
233 if (!iwl_trans_fw_running(fwrt->trans))
253 IWL_ERR(fwrt,
259 if (fwrt->ops && fwrt->ops->send_hcmd)
260 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd);
276 static ssize_t iwl_dbgfs_fw_dbg_domain_read(struct iwl_fw_runtime *fwrt,
280 fwrt->trans->dbg.domains_bitmap);
286 struct iwl_fw_runtime *fwrt;
298 const struct iwl_fw *fw = priv->fwrt->fw;
318 const struct iwl_fw *fw = priv->fwrt->fw;
335 const struct iwl_fw *fw = priv->fwrt->fw;
363 iwl_get_cmd_string(priv->fwrt->trans, cmd_id));
386 priv->fwrt = inode->i_private;
398 void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
401 INIT_DELAYED_WORK(&fwrt->timestamp.wk, iwl_fw_timestamp_marker_wk);