Searched refs:ihid (Results 1 – 1 of 1) sorted by relevance
72 #define i2c_hid_dbg(ihid, ...) dev_dbg(&(ihid)->client->dev, __VA_ARGS__) argument170 static int i2c_hid_probe_address(struct i2c_hid *ihid) in i2c_hid_probe_address() argument180 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() argument191 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() argument227 guard(mutex)(&ihid->cmd_lock); in i2c_hid_read_register()229 *(__le16 *)ihid->cmdbuf = reg; in i2c_hid_read_register()[all …]