Home
last modified time | relevance | path

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

/linux/drivers/hid/i2c-hid/
H A Di2c-hid-core.c72 #define i2c_hid_dbg(ihid, ...) dev_dbg(&(ihid)->client->dev, __VA_ARGS__) argument
170 static int i2c_hid_probe_address(struct i2c_hid *ihid) in i2c_hid_probe_address() argument
180 ret = i2c_smbus_read_byte(ihid->client); in i2c_hid_probe_address()
183 ret = i2c_smbus_read_byte(ihid->client); in i2c_hid_probe_address()
188 static int i2c_hid_xfer(struct i2c_hid *ihid, in i2c_hid_xfer() argument
191 struct i2c_client *client = ihid->client; in i2c_hid_xfer()
197 i2c_hid_dbg(ihid, "%s: cmd=%*ph\n", in i2c_hid_xfer()
224 static int i2c_hid_read_register(struct i2c_hid *ihid, __le16 reg, in i2c_hid_read_register() argument
227 guard(mutex)(&ihid->cmd_lock); in i2c_hid_read_register()
229 *(__le16 *)ihid->cmdbuf = reg; in i2c_hid_read_register()
[all …]