This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tvp5146驱动的数据缓冲队列是在哪里初始化的

Other Parts Discussed in Thread: TVP5146, DM3730

在saMmapLoopback.c 视频采集历程里面,使用

ioctl(*capture_fd, VIDIOC_QBUF, &buf);

函数申请缓冲队列,想问下,上面ioctl这个函数调用后,最终调用到了驱动哪个函数?

我在tvp514x-int.c里面找不到对应的ioctl,不知道内存部分工作是在哪里的做的。

然后看内核源码,找到tvp5146开始采集时会调用

isp_buf_init

函数,这个函数里面也没有关于dma相关的初始化,对你们的这个驱动框架很不理解,找不到对应的代码