Lines Matching refs:code
55 dprintk("irq gpio=0x%x code=%d | %s%s%s\n",
90 dprintk("gpio=0x%x code=%d | %s\n",
101 dprintk("(cnt) gpio=0x%x code=%d | %s\n",
151 /* decode raw bit pattern to RC5 code */
152 static u32 bttv_rc5_decode(unsigned int code)
154 unsigned int org_code = code;
160 pair = code & 0x3;
161 code >>= 2;
172 dprintk("rc5_decode(%x) bad code\n",
177 dprintk("code=%x, rc5=%x, start=%x, toggle=%x, address=%x, instr=%x\n",
198 /* signal we're ready to start a new code */
209 dprintk("short code: %x\n", ir->code);
213 ir->code = (ir->code << ir->shift_by) | 1;
214 rc5 = bttv_rc5_decode(ir->code);
263 /* active code => add bit */
265 /* only if in the code (otherwise spurious IRQ or timer
270 ir->code |= 1 << ir->last_bit;
272 /* starting new code */
275 ir->code = 0;
297 /* set timer_end for code completion */
345 * lirc_i2c maps the pv951 code as: