Searched refs:ihid (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/hid/i2c-hid/ |
| H A D | i2c-hid-core.c | 69 #define i2c_hid_dbg(ihid, fmt, arg...) \ argument 72 dev_printk(KERN_DEBUG, &(ihid)->client->dev, fmt, ##arg); \ 220 struct i2c_hid *ihid = i2c_get_clientdata(client); in __i2c_hid_command() local 221 union command *cmd = (union command *)ihid->cmdbuf; in __i2c_hid_command() 232 cmd->c.reg = ihid->wHIDDescRegister; in __i2c_hid_command() 234 cmd->data[0] = ihid->hdesc_buffer[registerIndex]; in __i2c_hid_command() 235 cmd->data[1] = ihid->hdesc_buffer[registerIndex + 1]; in __i2c_hid_command() 246 i2c_hid_dbg(ihid, "%s: cmd=%*ph\n", __func__, length, cmd->data); in __i2c_hid_command() 259 set_bit(I2C_HID_READ_PENDING, &ihid->flags); in __i2c_hid_command() 263 set_bit(I2C_HID_RESET_PENDING, &ihid->flags); in __i2c_hid_command() [all …]
|