Searched refs:new_msgs (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dtc90522.c648 struct i2c_msg *new_msgs; tc90522_master_xfer() local
661 new_msgs = kmalloc(sizeof(*new_msgs) * (num + rd_num), GFP_KERNEL); tc90522_master_xfer()
662 if (!new_msgs) tc90522_master_xfer()
669 new_msgs[j].addr = state->i2c_client->addr; tc90522_master_xfer()
670 new_msgs[j].flags = msgs[i].flags; tc90522_master_xfer()
673 new_msgs[j].flags &= ~I2C_M_RD; tc90522_master_xfer()
678 new_msgs[j].buf = p; tc90522_master_xfer()
679 new_msgs[j].len = 2; tc90522_master_xfer()
682 new_msgs[j].addr = state->i2c_client->addr; tc90522_master_xfer()
683 new_msgs[j].flags = msgs[i].flags; tc90522_master_xfer()
684 new_msgs[j].buf = msgs[i].buf; tc90522_master_xfer()
685 new_msgs[j].len = msgs[i].len; tc90522_master_xfer()
694 new_msgs[j].buf = p; tc90522_master_xfer()
695 new_msgs[j].len = msgs[i].len + 2; tc90522_master_xfer()
696 p += new_msgs[j].len; tc90522_master_xfer()
702 ret = i2c_transfer(state->i2c_client->adapter, new_msgs, j); tc90522_master_xfer()
705 kfree(new_msgs); tc90522_master_xfer()

Completed in 56 milliseconds