#include "wil6210.h"
#include <linux/jiffies.h>
#include <linux/pm_runtime.h>
#define WIL6210_AUTOSUSPEND_DELAY_MS …
static void wil_pm_wake_connected_net_queues(struct wil6210_priv *wil)
{ … }
static void wil_pm_stop_all_net_queues(struct wil6210_priv *wil)
{ … }
static bool
wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif,
bool is_runtime)
{ … }
int wil_can_suspend(struct wil6210_priv *wil, bool is_runtime)
{ … }
static int wil_resume_keep_radio_on(struct wil6210_priv *wil)
{ … }
static int wil_suspend_keep_radio_on(struct wil6210_priv *wil)
{ … }
static int wil_suspend_radio_off(struct wil6210_priv *wil)
{ … }
static int wil_resume_radio_off(struct wil6210_priv *wil)
{ … }
int wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on)
{ … }
int wil_resume(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on)
{ … }
void wil_pm_runtime_allow(struct wil6210_priv *wil)
{ … }
void wil_pm_runtime_forbid(struct wil6210_priv *wil)
{ … }
int wil_pm_runtime_get(struct wil6210_priv *wil)
{ … }
void wil_pm_runtime_put(struct wil6210_priv *wil)
{ … }