adbhid 231 drivers/macintosh/adbhid.c static struct adbhid *adbhid[16]; adbhid 270 drivers/macintosh/adbhid.c if (!adbhid[id]) { adbhid 287 drivers/macintosh/adbhid.c struct adbhid *ahid = adbhid[id]; adbhid 394 drivers/macintosh/adbhid.c key = adbhid[id]->keycode[keycode]; adbhid 396 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, key, !up_flag); adbhid 397 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); adbhid 409 drivers/macintosh/adbhid.c if (!adbhid[id]) { adbhid 458 drivers/macintosh/adbhid.c switch (adbhid[id]->mouse_kind) adbhid 488 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_LEFT, !((data[1] >> 7) & 1)); adbhid 489 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1)); adbhid 491 drivers/macintosh/adbhid.c if (nb >= 4 && adbhid[id]->mouse_kind != ADBMOUSE_TRACKPAD) adbhid 492 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_RIGHT, !((data[3] >> 7) & 1)); adbhid 494 drivers/macintosh/adbhid.c input_report_rel(adbhid[id]->input, REL_X, adbhid 496 drivers/macintosh/adbhid.c input_report_rel(adbhid[id]->input, REL_Y, adbhid 499 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); adbhid 507 drivers/macintosh/adbhid.c if (!adbhid[id]) { adbhid 512 drivers/macintosh/adbhid.c switch (adbhid[id]->original_handler_id) { adbhid 520 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_SOUND, down); adbhid 524 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_MUTE, down); adbhid 528 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEDOWN, down); adbhid 532 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEUP, down); adbhid 554 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_MUTE, down); adbhid 558 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEDOWN, down); adbhid 562 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEUP, down); adbhid 566 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_EJECTCD, down); adbhid 574 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_BRIGHTNESSDOWN, down); adbhid 582 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_BRIGHTNESSUP, down); adbhid 586 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_SWITCHVIDEOMODE, down); adbhid 590 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMTOGGLE, down); adbhid 594 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMDOWN, down); adbhid 602 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMUP, down); adbhid 625 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); adbhid 686 drivers/macintosh/adbhid.c struct adbhid *adbhid = input_get_drvdata(dev); adbhid 694 drivers/macintosh/adbhid.c real_leds(leds, adbhid->id); adbhid 704 drivers/macintosh/adbhid.c struct adbhid *ahid; adbhid 708 drivers/macintosh/adbhid.c ahid = adbhid[i]; adbhid 726 drivers/macintosh/adbhid.c if (adbhid[i]) adbhid 727 drivers/macintosh/adbhid.c del_timer_sync(&adbhid[i]->input->timer); adbhid 756 drivers/macintosh/adbhid.c struct adbhid *hid; adbhid 762 drivers/macintosh/adbhid.c if (adbhid[id]) { adbhid 767 drivers/macintosh/adbhid.c adbhid[id] = hid = kzalloc(sizeof(struct adbhid), GFP_KERNEL); adbhid 913 drivers/macintosh/adbhid.c adbhid[id] = NULL; adbhid 919 drivers/macintosh/adbhid.c input_unregister_device(adbhid[id]->input); adbhid 920 drivers/macintosh/adbhid.c kfree(adbhid[id]->keycode); adbhid 921 drivers/macintosh/adbhid.c kfree(adbhid[id]); adbhid 922 drivers/macintosh/adbhid.c adbhid[id] = NULL; adbhid 930 drivers/macintosh/adbhid.c if (adbhid[id]) { adbhid 931 drivers/macintosh/adbhid.c if (adbhid[id]->input->id.product != adbhid 948 drivers/macintosh/adbhid.c if (adbhid[i] && !(exist&(1<<i)))