如何调用i2c_driver下的command函数
如 in lnx/driver/media/video/tvp5150.c----------------------------------------------------------------------- */
1137
1138 static struct i2c_driver driver = {
1139 .driver = {
1140 .name = "tvp5150",
1141 },
1142 .id = I2C_DRIVERID_TVP5150,
1143
1144 .attach_adapter = tvp5150_attach_adapter,
1145 .detach_client = tvp5150_detach_client,
1146
1147 .command = tvp5150_command,
1148 };
什么地方调用command呢?或者是在应用层如何调用它? saa711* 系列的driver是如何调用的?找了半天 还是很迷惑video4linux体系是如何的呢? 我也想知道这个,刚开始弄tvp5150,也卡在这了 driver/i2c/i2c-core.c i2c_clients_command 函数
页:
[1]