#include "aspm.h"
#define ASPM_TIMER_MS …
#define ASPM_RESCHED_TIMER_MS …
#define ASPM_TRIGGER_MS …
#define ASPM_TRIGGER_NS …
#define ASPM_L1_SUPPORTED(reg) …
uint aspm_mode = …;
module_param_named(aspm, aspm_mode, uint, 0444);
MODULE_PARM_DESC(…) …;
static bool aspm_hw_l1_supported(struct hfi1_devdata *dd)
{ … }
static void aspm_hw_set_l1_ent_latency(struct hfi1_devdata *dd)
{ … }
static void aspm_hw_enable_l1(struct hfi1_devdata *dd)
{ … }
void aspm_hw_disable_l1(struct hfi1_devdata *dd)
{ … }
static void aspm_enable(struct hfi1_devdata *dd)
{ … }
static void aspm_disable(struct hfi1_devdata *dd)
{ … }
static void aspm_disable_inc(struct hfi1_devdata *dd)
{ … }
static void aspm_enable_dec(struct hfi1_devdata *dd)
{ … }
void __aspm_ctx_disable(struct hfi1_ctxtdata *rcd)
{ … }
static void aspm_ctx_timer_function(struct timer_list *t)
{ … }
void aspm_disable_all(struct hfi1_devdata *dd)
{ … }
void aspm_enable_all(struct hfi1_devdata *dd)
{ … }
static void aspm_ctx_init(struct hfi1_ctxtdata *rcd)
{ … }
void aspm_init(struct hfi1_devdata *dd)
{ … }
void aspm_exit(struct hfi1_devdata *dd)
{ … }