Lines Matching refs:msg
75 struct i2c_msg msg; in tda9950_write_range() local
85 msg.addr = client->addr; in tda9950_write_range()
86 msg.flags = 0; in tda9950_write_range()
87 msg.len = cnt + 1; in tda9950_write_range()
88 msg.buf = buf; in tda9950_write_range()
92 ret = i2c_transfer(client->adapter, &msg, 1); in tda9950_write_range()
105 struct i2c_msg msg[2]; in tda9950_read_range() local
108 msg[0].addr = client->addr; in tda9950_read_range()
109 msg[0].flags = 0; in tda9950_read_range()
110 msg[0].len = 1; in tda9950_read_range()
111 msg[0].buf = &addr; in tda9950_read_range()
112 msg[1].addr = client->addr; in tda9950_read_range()
113 msg[1].flags = I2C_M_RD; in tda9950_read_range()
114 msg[1].len = cnt; in tda9950_read_range()
115 msg[1].buf = p; in tda9950_read_range()
117 ret = i2c_transfer(client->adapter, msg, 2); in tda9950_read_range()
202 memcpy(priv->rx_msg.msg, buf + 2, priv->rx_msg.len); in tda9950_irq()
216 u32 signal_free_time, struct cec_msg *msg) in tda9950_cec_transmit() argument
221 buf[0] = 2 + msg->len; in tda9950_cec_transmit()
223 memcpy(buf + 2, msg->msg, msg->len); in tda9950_cec_transmit()
230 return tda9950_write_range(priv->client, REG_CDR0, buf, 2 + msg->len); in tda9950_cec_transmit()