Lines Matching refs:msgs
97 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()
118 else if (ret != ARRAY_SIZE(msgs)) in tas571x_reg_read()