Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/intel/
H A Dvbtn.c72 bool has_switches; member
138 if (priv->has_switches) { in intel_vbtn_input_setup()
164 if (!priv->has_switches) { in notify_handler()
174 priv->has_switches = true; in notify_handler()
276 bool dual_accel, has_buttons, has_switches; in intel_vbtn_probe() local
283 has_switches = intel_vbtn_has_switches(handle, dual_accel); in intel_vbtn_probe()
285 if (!has_buttons && !has_switches) { in intel_vbtn_probe()
297 priv->has_switches = has_switches; in intel_vbtn_probe()
318 if (has_switches) in intel_vbtn_probe()
362 if (priv->has_switches) in intel_vbtn_pm_resume()
/openbmc/qemu/include/hw/misc/
H A Dmps2-fpgaio.h41 bool has_switches; member
/openbmc/qemu/hw/misc/
H A Dmps2-fpgaio.c168 if (!s->has_switches) { in mps2_fpgaio_read()
327 DEFINE_PROP_BOOL("has-switches", MPS2FPGAIO, has_switches, false),