Lines Matching refs:rc5
206 /* decode raw samples, biphase coding, used by rc5 for example */
256 unsigned int rc5 = 0;
263 rc5 <<= 1;
269 rc5 |= 1;
276 IR_dprintk(1, "ir-common: code=%x, rc5=%x, start=%x, toggle=%x, address=%x, "
277 "instr=%x\n", rc5, org_code, RC5_START(rc5),
278 RC5_TOGGLE(rc5), RC5_ADDR(rc5), RC5_INSTR(rc5));
279 return rc5;
289 u32 rc5 = 0;
317 rc5 = ir_rc5_decode(ir->code);
320 if (RC5_START(rc5) != ir->start) {
321 IR_dprintk(1, "ir-common: rc5 start bits invalid: %u\n", RC5_START(rc5));
324 } else if (RC5_ADDR(rc5) == ir->addr) {
325 u32 toggle = RC5_TOGGLE(rc5);
326 u32 instr = RC5_INSTR(rc5);
343 ir->last_rc5 = rc5;