Lines Matching defs:pbutton
92 struct sysmon_pswitch pbutton;
274 memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
275 pbutton.smpsw_name = "PB";
276 pbutton.smpsw_type = PSWITCH_TYPE_POWER;
277 if (sysmon_pswitch_register(&pbutton) != 0)
295 memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
296 pbutton.smpsw_name = "PB";
297 pbutton.smpsw_type = PSWITCH_TYPE_POWER;
298 if (sysmon_pswitch_register(&pbutton) != 0)
617 sysmon_pswitch_event(&pbutton, PSWITCH_EVENT_PRESSED);