|
@@ -69,28 +69,6 @@
|
|
|
int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
|
|
|
struct dentry *dbgfs_dir);
|
|
|
|
|
|
-static inline void iwl_fw_cancel_timestamp(struct iwl_fw_runtime *fwrt)
|
|
|
-{
|
|
|
- fwrt->timestamp.delay = 0;
|
|
|
- cancel_delayed_work_sync(&fwrt->timestamp.wk);
|
|
|
-}
|
|
|
-
|
|
|
-static inline void iwl_fw_suspend_timestamp(struct iwl_fw_runtime *fwrt)
|
|
|
-{
|
|
|
- cancel_delayed_work_sync(&fwrt->timestamp.wk);
|
|
|
-}
|
|
|
-
|
|
|
-static inline void iwl_fw_resume_timestamp(struct iwl_fw_runtime *fwrt)
|
|
|
-{
|
|
|
- if (!fwrt->timestamp.delay)
|
|
|
- return;
|
|
|
-
|
|
|
- schedule_delayed_work(&fwrt->timestamp.wk,
|
|
|
- round_jiffies_relative(fwrt->timestamp.delay));
|
|
|
-}
|
|
|
-
|
|
|
-void iwl_fw_trigger_timestamp(struct iwl_fw_runtime *fwrt, u32 delay);
|
|
|
-
|
|
|
#else
|
|
|
static inline int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
|
|
|
struct dentry *dbgfs_dir)
|
|
@@ -98,13 +76,4 @@ static inline int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline void iwl_fw_cancel_timestamp(struct iwl_fw_runtime *fwrt) {}
|
|
|
-
|
|
|
-static inline void iwl_fw_suspend_timestamp(struct iwl_fw_runtime *fwrt) {}
|
|
|
-
|
|
|
-static inline void iwl_fw_resume_timestamp(struct iwl_fw_runtime *fwrt) {}
|
|
|
-
|
|
|
-static inline void iwl_fw_trigger_timestamp(struct iwl_fw_runtime *fwrt,
|
|
|
- u32 delay) {}
|
|
|
-
|
|
|
#endif /* CONFIG_IWLWIFI_DEBUGFS */
|