Home
last modified time | relevance | path

Searched refs:ihid (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/hid/i2c-hid/
Di2c-hid-core.c68 #define i2c_hid_dbg(ihid, fmt, arg...) \ argument
71 dev_printk(KERN_DEBUG, &(ihid)->client->dev, fmt, ##arg); \
213 struct i2c_hid *ihid = i2c_get_clientdata(client); in __i2c_hid_command() local
214 union command *cmd = (union command *)ihid->cmdbuf; in __i2c_hid_command()
225 cmd->c.reg = ihid->wHIDDescRegister; in __i2c_hid_command()
227 cmd->data[0] = ihid->hdesc_buffer[registerIndex]; in __i2c_hid_command()
228 cmd->data[1] = ihid->hdesc_buffer[registerIndex + 1]; in __i2c_hid_command()
239 i2c_hid_dbg(ihid, "%s: cmd=%*ph\n", __func__, length, cmd->data); in __i2c_hid_command()
252 set_bit(I2C_HID_READ_PENDING, &ihid->flags); in __i2c_hid_command()
256 set_bit(I2C_HID_RESET_PENDING, &ihid->flags); in __i2c_hid_command()
[all …]