Home
last modified time | relevance | path

Searched refs:force_caps (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/platform/x86/
Dacer-wmi.c257 static int force_caps = -1; variable
267 module_param(force_caps, int, 0444);
273 MODULE_PARM_DESC(force_caps, "Force the capability bitmask to this value");
349 if (force_caps == -1) { in set_force_caps()
350 force_caps = (uintptr_t)dmi->driver_data; in set_force_caps()
351 pr_info("Found %s, set force_caps to 0x%x\n", dmi->ident, force_caps); in set_force_caps()
2408 } else if (!wmi_has_guid(WMID_GUID2) && interface && !has_type_aa && force_caps == -1) { in acer_wmi_init()
2438 if (force_caps != -1) in acer_wmi_init()
2439 interface->capability = force_caps; in acer_wmi_init()