23 #include <linux/slab.h>
25 #define MODULE_NAME "cx231xx-input"
27 static int get_key_isdbt(
struct IR_i2c *
ir,
u32 *ir_key,
33 dev_dbg(&ir->
rc->input_dev->dev,
"%s\n", __func__);
50 ((cmd & 0x01) ? 0x80 : 0) |
51 ((cmd & 0x02) ? 0x40 : 0) |
52 ((cmd & 0x04) ? 0x20 : 0) |
53 ((cmd & 0x08) ? 0x10 : 0) |
54 ((cmd & 0x10) ? 0x08 : 0) |
55 ((cmd & 0x20) ? 0x04 : 0) |
56 ((cmd & 0x40) ? 0x02 : 0) |
57 ((cmd & 0x80) ? 0x01 : 0);
59 dev_dbg(&ir->
rc->input_dev->dev,
"cmd %02x, scan = %02x\n",
78 request_module(
"ir-kbd-i2c");
101 dev->
init_data.rc_dev->driver_name =
"cx231xx";
107 dev_dbg(&dev->
udev->dev,
"Trying to bind ir at bus %d, addr 0x%02x\n",
108 ir_i2c_bus, info.
addr);