Lines Matching full:nec
2 // ir-nec-decoder.c - handle NEC IR Pulse/Space protocol
13 #define NECX_HEADER_PULSE (8 * NEC_UNIT) /* Less common NEC variant */
33 * ir_nec_decode() - Decode one NEC pulse or space
41 struct nec_dec *data = &dev->raw->nec; in ir_nec_decode()
52 dev_dbg(&dev->dev, "NEC decode started at state %d (%uus %s)\n", in ir_nec_decode()
165 dev_dbg(&dev->dev, "NEC decode failed at count %d state %d (%uus %s)\n", in ir_nec_decode()
172 * ir_nec_scancode_to_raw() - encode an NEC scancode ready for modulation.
174 * @scancode: a single NEC scancode.
183 /* 32-bit NEC (used by Apple and TiVo remotes) */ in ir_nec_scancode_to_raw()
189 /* Extended NEC */ in ir_nec_scancode_to_raw()
195 /* Normal NEC */ in ir_nec_scancode_to_raw()
239 /* Convert a NEC scancode to raw NEC data */ in ir_nec_encode()
263 printk(KERN_INFO "IR NEC protocol handler initialized\n"); in ir_nec_decode_init()
278 MODULE_DESCRIPTION("NEC IR protocol decoder");