u32 pix_format;
int ch_id;
- dprintk(1, "open dev=%s type=%s\n", video_device_node_name(vdev),
- v4l2_type_names[type]);
-
for (ch_id = 0; ch_id < MAX_VID_CHANNEL_NUM - 1; ch_id++)
if (&dev->channels[ch_id].vdev == vdev)
break;
return err;
}
- dprintk(2, "%s()\n", __func__);
err = cx25821_vidioc_try_fmt_vid_cap(file, priv, f);
if (0 != err)
dev->channels[fh->channel_id].cif_width = fh->width;
medusa_set_resolution(dev, fh->width, SRAM_CH00);
- dprintk(2, "%s(): width=%d height=%d field=%d\n", __func__, fh->width,
- fh->height, fh->vidq.field);
v4l2_fill_mbus_format(&mbus_fmt, &f->fmt.pix, V4L2_MBUS_FMT_FIXED);
cx25821_call_all(dev, video, s_mbus_fmt, &mbus_fmt);
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;
- dprintk(1, "%s()\n", __func__);
-
if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
fh->prio);
};
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
unsigned int n;
- dprintk(1, "%s()\n", __func__);
n = i->index;
if (n >= CX25821_NR_INPUT)
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
*i = dev->input;
- dprintk(1, "%s(): returns %d\n", __func__, *i);
return 0;
}
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;
- dprintk(1, "%s(%d)\n", __func__, i);
-
if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
fh->prio);