Searched refs:ihid (Results 1 – 1 of 1) sorted by relevance
/drivers/hid/i2c-hid/ |
D | i2c-hid-core.c | 64 #define i2c_hid_dbg(ihid, fmt, arg...) \ argument 67 dev_printk(KERN_DEBUG, &(ihid)->client->dev, fmt, ##arg); \ 215 struct i2c_hid *ihid = i2c_get_clientdata(client); in __i2c_hid_command() local 216 union command *cmd = (union command *)ihid->cmdbuf; in __i2c_hid_command() 227 cmd->c.reg = ihid->wHIDDescRegister; in __i2c_hid_command() 229 cmd->data[0] = ihid->hdesc_buffer[registerIndex]; in __i2c_hid_command() 230 cmd->data[1] = ihid->hdesc_buffer[registerIndex + 1]; in __i2c_hid_command() 241 i2c_hid_dbg(ihid, "%s: cmd=%*ph\n", __func__, length, cmd->data); in __i2c_hid_command() 254 set_bit(I2C_HID_READ_PENDING, &ihid->flags); in __i2c_hid_command() 258 set_bit(I2C_HID_RESET_PENDING, &ihid->flags); in __i2c_hid_command() [all …]
|