int camif_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
{
camif_cfg_t *cfg = file->private_data;
struct yuv_control *ctrl;
int ret = -1;
switch (cmd)
{
...................
case VIDIOC_DQBUF:
ret = camif_yuv_dqbuf(cfg, arg);
break;
...........