#include <linux/kernel.h>
#include <linux/moduleparam.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "i915_driver.h"
#include "i915_drv.h"
#include "i915_mitigations.h"
static unsigned long mitigations __read_mostly = …;
enum { … };
static const char * const names[] = …;
bool i915_mitigate_clear_residuals(void)
{ … }
static int mitigations_set(const char *val, const struct kernel_param *kp)
{ … }
static int mitigations_get(char *buffer, const struct kernel_param *kp)
{ … }
static const struct kernel_param_ops ops = …;
module_param_cb_unsafe(…);
MODULE_PARM_DESC(…) …;