Lines Matching defs:client
27 static int write_reg(struct i2c_client *client, int reg, int value)
30 i2c_smbus_write_word_data(client, reg, swab16(value));
34 static int wis_uda1342_command(struct i2c_client *client,
44 write_reg(client, 0x00, 0x1441); /* select input 2 */
47 write_reg(client, 0x00, 0x1241); /* select input 1 */
62 static int wis_uda1342_probe(struct i2c_client *client,
65 struct i2c_adapter *adapter = client->adapter;
72 client->addr, adapter->name);
74 write_reg(client, 0x00, 0x8000); /* reset registers */
75 write_reg(client, 0x00, 0x1241); /* select input 1 */
80 static int wis_uda1342_remove(struct i2c_client *client)