Lines Matching refs:msg
44 struct i2c_msg msg[] = { in read_pwm() local
49 if ((i2c_transfer(adapter, msg, 2) != 2) in read_pwm()
63 struct i2c_msg msg = {.addr = 0x60, .flags = 0, .buf = buf, .len = sizeof(buf)}; in tda1002x_cu1216_tuner_set() local
82 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set()
86 msg.flags = I2C_M_RD; in tda1002x_cu1216_tuner_set()
87 msg.len = 1; in tda1002x_cu1216_tuner_set()
92 if (i2c_transfer(adapter, &msg, 1) == 1 && (buf[0] & 0x40)) in tda1002x_cu1216_tuner_set()
99 msg.flags = 0; in tda1002x_cu1216_tuner_set()
100 msg.len = 2; in tda1002x_cu1216_tuner_set()
101 msg.buf = &buf[2]; in tda1002x_cu1216_tuner_set()
106 if (i2c_transfer(adapter, &msg, 1) != 1) in tda1002x_cu1216_tuner_set()