Searched defs:hwbutton_interrupt (Results 1 – 1 of 1) sorted by relevance
43 struct hwbutton_interrupt { struct44 char *name; /* Name of button */45 int irq; /* Actual LINUX IRQ */46 int eirq; /* Extended IRQ number (0-7) */47 int initial_state; /* The "normal" state of the switch */48 void (*handle_hi)(void *); /* Handler: switch input has gone HI */49 void (*handle_lo)(void *); /* Handler: switch input has gone LO */50 void *data; /* Optional data to pass to handler */