Lines Matching refs:kp
763 struct sonypi_keypress kp; in input_keyrelease() local
765 while (kfifo_out_locked(&sonypi_device.input_fifo, (unsigned char *)&kp, in input_keyrelease()
766 sizeof(kp), &sonypi_device.input_fifo_lock) in input_keyrelease()
767 == sizeof(kp)) { in input_keyrelease()
769 input_report_key(kp.dev, kp.key, 0); in input_keyrelease()
770 input_sync(kp.dev); in input_keyrelease()
778 struct sonypi_keypress kp = { NULL }; in sonypi_report_input_event() local
795 kp.key = BTN_MIDDLE; in sonypi_report_input_event()
796 kp.dev = jog_dev; in sonypi_report_input_event()
806 kp.dev = key_dev; in sonypi_report_input_event()
807 kp.key = sonypi_inputkeys[i].inputev; in sonypi_report_input_event()
813 if (kp.dev) { in sonypi_report_input_event()
814 input_report_key(kp.dev, kp.key, 1); in sonypi_report_input_event()
815 input_sync(kp.dev); in sonypi_report_input_event()
817 (unsigned char *)&kp, sizeof(kp), in sonypi_report_input_event()