rog_tunables
ac_rog_tunables = kzalloc_obj(*asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC]);
asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC] = ac_rog_tunables;
dc_rog_tunables = kzalloc_obj(*asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_DC]);
asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_DC] = dc_rog_tunables;
kfree(asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC]);
kfree(asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_DC]);
static inline struct rog_tunables *get_current_tunables(void)
return asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC];
return asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_DC];
const struct rog_tunables *const ac_rog_tunables =
asus_armoury.rog_tunables[ASUS_ROG_TUNABLE_AC];
struct rog_tunables *rog_tunables[2];
struct rog_tunables *ac_rog_tunables = NULL, *dc_rog_tunables = NULL;
struct rog_tunables *tunables = get_current_tunables(); \
struct rog_tunables *tunables = get_current_tunables(); \
struct rog_tunables *tunables = get_current_tunables(); \
struct rog_tunables *tunables = get_current_tunables(); \