Lines Matching refs:kp
777 struct sonypi_keypress kp; in input_keyrelease() local
779 while (kfifo_get(sonypi_device.input_fifo, (unsigned char *)&kp, in input_keyrelease()
780 sizeof(kp)) == sizeof(kp)) { in input_keyrelease()
782 input_report_key(kp.dev, kp.key, 0); in input_keyrelease()
783 input_sync(kp.dev); in input_keyrelease()
791 struct sonypi_keypress kp = { NULL }; in sonypi_report_input_event() local
808 kp.key = BTN_MIDDLE; in sonypi_report_input_event()
809 kp.dev = jog_dev; in sonypi_report_input_event()
819 kp.dev = key_dev; in sonypi_report_input_event()
820 kp.key = sonypi_inputkeys[i].inputev; in sonypi_report_input_event()
826 if (kp.dev) { in sonypi_report_input_event()
827 input_report_key(kp.dev, kp.key, 1); in sonypi_report_input_event()
828 input_sync(kp.dev); in sonypi_report_input_event()
830 (unsigned char *)&kp, sizeof(kp)); in sonypi_report_input_event()