Lines Matching defs:i2c_client
61 struct i2c_client *i2c_client;
63 int (*get_key_i2c)(struct i2c_client *ir, enum rc_proto *protocol,
72 static int em28xx_get_key_terratec(struct i2c_client *i2c_dev,
103 static int em28xx_get_key_em_haup(struct i2c_client *i2c_dev,
133 static int em28xx_get_key_pinnacle_usb_grey(struct i2c_client *i2c_dev,
152 static int em28xx_get_key_winfast_usbii_deluxe(struct i2c_client *i2c_dev,
299 rc = ir->get_key_i2c(ir->i2c_client, &protocol, &scancode);
360 if (ir->i2c_client) /* external i2c device */
768 ir->i2c_client = kzalloc(sizeof(*ir->i2c_client), GFP_KERNEL);
769 if (!ir->i2c_client)
771 ir->i2c_client->adapter = &ir->dev->i2c_adap[dev->def_i2c_bus];
772 ir->i2c_client->addr = i2c_rc_dev_addr;
773 ir->i2c_client->flags = 0;
774 /* NOTE: all other fields of i2c_client are unused */
829 kfree(ir->i2c_client);
857 kfree(ir->i2c_client);