Lines Matching full:nec

699 		} nec;  member
742 poll_reply->nec.system, poll_reply->nec.not_system, in dib0700_rc_urb_completion()
743 poll_reply->nec.data, poll_reply->nec.not_data, in dib0700_rc_urb_completion()
750 /* NEC protocol sends repeat code as 0 0 0 FF */ in dib0700_rc_urb_completion()
751 if (poll_reply->nec.system == 0x00 && in dib0700_rc_urb_completion()
752 poll_reply->nec.not_system == 0x00 && in dib0700_rc_urb_completion()
753 poll_reply->nec.data == 0x00 && in dib0700_rc_urb_completion()
754 poll_reply->nec.not_data == 0xff) { in dib0700_rc_urb_completion()
760 if ((poll_reply->nec.data ^ poll_reply->nec.not_data) != 0xff) { in dib0700_rc_urb_completion()
762 keycode = RC_SCANCODE_NEC32(poll_reply->nec.system << 24 | in dib0700_rc_urb_completion()
763 poll_reply->nec.not_system << 16 | in dib0700_rc_urb_completion()
764 poll_reply->nec.data << 8 | in dib0700_rc_urb_completion()
765 poll_reply->nec.not_data); in dib0700_rc_urb_completion()
767 } else if ((poll_reply->nec.system ^ poll_reply->nec.not_system) != 0xff) { in dib0700_rc_urb_completion()
768 deb_data("NEC extended protocol\n"); in dib0700_rc_urb_completion()
769 keycode = RC_SCANCODE_NECX(poll_reply->nec.system << 8 | in dib0700_rc_urb_completion()
770 poll_reply->nec.not_system, in dib0700_rc_urb_completion()
771 poll_reply->nec.data); in dib0700_rc_urb_completion()
775 deb_data("NEC normal protocol\n"); in dib0700_rc_urb_completion()
776 keycode = RC_SCANCODE_NEC(poll_reply->nec.system, in dib0700_rc_urb_completion()
777 poll_reply->nec.data); in dib0700_rc_urb_completion()