Lines Matching defs:event
96 "set this to the mask of event you want to enable (see doc)");
212 -1, /* 0 no event */
373 /* forward event to the input subsystem */
374 static void sony_laptop_report_input_event(u8 event)
381 if (event == SONYPI_EVENT_FNKEY_RELEASED ||
382 event == SONYPI_EVENT_ANYBUTTON_RELEASED) {
383 /* Nothing, not all VAIOs generate this event */
388 switch (event) {
409 if (event >= ARRAY_SIZE(sony_laptop_input_index)) {
410 dprintk("sony_laptop_report_input_event, event not known: %d\n", event);
413 if ((scancode = sony_laptop_input_index[event]) != -1) {
436 dprintk("unknown input event %.2x\n", event);
1070 * New SNC-only Vaios event mapping to driver known keys
1074 u8 event;
1141 static int sony_nc_hotkeys_decode(u32 event, unsigned int handle)
1148 dprintk("Unable to decode event 0x%.2x 0x%.2x\n", handle,
1149 event);
1162 ret = key_event->event;
1169 event, result, handle);
1182 static void sony_nc_notify(struct acpi_device *device, u32 event)
1184 u32 real_ev = event;
1188 dprintk("sony_nc_notify, event: 0x%.2x\n", event);
1190 if (event >= 0x90) {
1194 unsigned int offset = event - 0x90;
1198 event);
1205 /* hotkey event */
1209 ret = sony_nc_hotkeys_decode(event, handle);
1231 /* hw switch event */
1241 dprintk("GFX switch event received (reason: %s)\n",
1257 dprintk("Unknown event 0x%x for handle 0x%x\n",
1258 event, handle);
1262 /* clear the event (and the event reason when present) */
1267 /* old style event */
3400 u8 event;
4284 static void sonypi_compat_report_event(u8 event)
4286 kfifo_in_locked(&sonypi_compat.fifo, (unsigned char *)&event,
4287 sizeof(event), &sonypi_compat.fifo_lock);
4332 static void sonypi_compat_report_event(u8 event) { }
4590 * ISR: some event is available
4609 dprintk("event ([%.2x] [%.2x]) at port 0x%.4x(+0x%.2x)\n",
4625 for (j = 0; dev->event_types[i].events[j].event; j++) {
4628 dev->event_types[i].events[j].event;
4636 /* Still not able to decode the event try to pass
4642 dprintk("unknown event ([%.2x] [%.2x]) at port 0x%.4x(+0x%.2x)\n",