Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/platform/x86/intel/
H A 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()
361 if (priv->has_switches) in intel_vbtn_pm_resume()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel-vbtn.c71 bool has_switches; member
105 if (priv->has_switches) { in intel_vbtn_input_setup()
126 if (priv->has_switches) in intel_vbtn_input_setup()
251 bool has_buttons, has_switches; in intel_vbtn_probe() local
257 has_switches = intel_vbtn_has_switches(handle); in intel_vbtn_probe()
259 if (!has_buttons && !has_switches) { in intel_vbtn_probe()
270 priv->has_switches = has_switches; in intel_vbtn_probe()

Completed in 2 milliseconds