• Home
  • Raw
  • Download

Lines Matching refs:client

79 	struct i2c_client *client = context;  in tas571x_reg_write()  local
80 struct tas571x_private *priv = i2c_get_clientdata(client); in tas571x_reg_write()
93 ret = i2c_master_send(client, buf, size + 1); in tas571x_reg_write()
105 struct i2c_client *client = context; in tas571x_reg_read() local
106 struct tas571x_private *priv = i2c_get_clientdata(client); in tas571x_reg_read()
116 msgs[0].addr = client->addr; in tas571x_reg_read()
121 msgs[1].addr = client->addr; in tas571x_reg_read()
126 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read()
145 static int tas571x_reg_write_multiword(struct i2c_client *client, in tas571x_reg_write_multiword() argument
161 ret = i2c_master_send(client, buf, send_size); in tas571x_reg_write_multiword()
176 static int tas571x_reg_read_multiword(struct i2c_client *client, in tas571x_reg_read_multiword() argument
192 msgs[0].addr = client->addr; in tas571x_reg_read_multiword()
197 msgs[1].addr = client->addr; in tas571x_reg_read_multiword()
202 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read_multiword()
777 static int tas571x_i2c_probe(struct i2c_client *client, in tas571x_i2c_probe() argument
781 struct device *dev = &client->dev; in tas571x_i2c_probe()
788 i2c_set_clientdata(client, priv); in tas571x_i2c_probe()
821 priv->regmap = devm_regmap_init(dev, NULL, client, in tas571x_i2c_probe()
867 return devm_snd_soc_register_component(&client->dev, in tas571x_i2c_probe()
872 static int tas571x_i2c_remove(struct i2c_client *client) in tas571x_i2c_remove() argument
874 struct tas571x_private *priv = i2c_get_clientdata(client); in tas571x_i2c_remove()