Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/
Dvbtn.c72 bool has_switches; member
138 if (priv->has_switches) { in intel_vbtn_input_setup()
166 if (!priv->has_switches) { in notify_handler()
176 priv->has_switches = true; in notify_handler()
278 bool dual_accel, has_buttons, has_switches; in intel_vbtn_probe() local
285 has_switches = intel_vbtn_has_switches(handle, dual_accel); in intel_vbtn_probe()
287 if (!has_buttons && !has_switches) { in intel_vbtn_probe()
299 priv->has_switches = has_switches; in intel_vbtn_probe()
367 if (priv->has_switches) in intel_vbtn_pm_resume()