Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dsigmadsp-i2c.c41 struct i2c_msg msgs[2]; in sigmadsp_read_i2c() local
47 msgs[0].addr = client->addr; in sigmadsp_read_i2c()
48 msgs[0].len = sizeof(buf); in sigmadsp_read_i2c()
49 msgs[0].buf = buf; in sigmadsp_read_i2c()
50 msgs[0].flags = 0; in sigmadsp_read_i2c()
52 msgs[1].addr = client->addr; in sigmadsp_read_i2c()
53 msgs[1].len = len; in sigmadsp_read_i2c()
54 msgs[1].buf = data; in sigmadsp_read_i2c()
55 msgs[1].flags = I2C_M_RD; in sigmadsp_read_i2c()
57 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in sigmadsp_read_i2c()
[all …]
Dtas571x.c97 struct i2c_msg msgs[2]; in tas571x_reg_read() local
105 msgs[0].addr = client->addr; in tas571x_reg_read()
106 msgs[0].len = sizeof(send_buf); in tas571x_reg_read()
107 msgs[0].buf = &send_buf; in tas571x_reg_read()
108 msgs[0].flags = 0; in tas571x_reg_read()
110 msgs[1].addr = client->addr; in tas571x_reg_read()
111 msgs[1].len = size; in tas571x_reg_read()
112 msgs[1].buf = recv_buf; in tas571x_reg_read()
113 msgs[1].flags = I2C_M_RD; in tas571x_reg_read()
115 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read()
[all …]
Dtas5086.c207 struct i2c_msg msgs[2]; in tas5086_reg_read() local
218 msgs[0].addr = client->addr; in tas5086_reg_read()
219 msgs[0].len = sizeof(send_buf); in tas5086_reg_read()
220 msgs[0].buf = &send_buf; in tas5086_reg_read()
221 msgs[0].flags = 0; in tas5086_reg_read()
223 msgs[1].addr = client->addr; in tas5086_reg_read()
224 msgs[1].len = size; in tas5086_reg_read()
225 msgs[1].buf = recv_buf; in tas5086_reg_read()
226 msgs[1].flags = I2C_M_RD; in tas5086_reg_read()
228 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas5086_reg_read()
[all …]
Dadau1701.c222 struct i2c_msg msgs[2]; in adau1701_reg_read() local
231 msgs[0].addr = client->addr; in adau1701_reg_read()
232 msgs[0].len = sizeof(send_buf); in adau1701_reg_read()
233 msgs[0].buf = send_buf; in adau1701_reg_read()
234 msgs[0].flags = 0; in adau1701_reg_read()
236 msgs[1].addr = client->addr; in adau1701_reg_read()
237 msgs[1].len = size; in adau1701_reg_read()
238 msgs[1].buf = recv_buf; in adau1701_reg_read()
239 msgs[1].flags = I2C_M_RD; in adau1701_reg_read()
241 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in adau1701_reg_read()
[all …]