• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx23885/

Lines Matching refs:fh

1128 	struct cx23885_fh *fh = q->priv_data;
1130 fh->dev->ts1.ts_packet_size = mpeglinesize;
1131 fh->dev->ts1.ts_packet_count = mpeglines;
1133 *size = fh->dev->ts1.ts_packet_size * fh->dev->ts1.ts_packet_count;
1142 struct cx23885_fh *fh = q->priv_data;
1143 return cx23885_buf_prepare(q, &fh->dev->ts1,
1151 struct cx23885_fh *fh = q->priv_data;
1152 cx23885_buf_queue(&fh->dev->ts1, (struct cx23885_buffer *)vb);
1202 struct cx23885_fh *fh = file->private_data;
1203 struct cx23885_dev *dev = fh->dev;
1218 struct cx23885_fh *fh = file->private_data;
1219 struct cx23885_dev *dev = fh->dev;
1246 struct cx23885_fh *fh = file->private_data;
1247 struct cx23885_dev *dev = fh->dev;
1264 struct cx23885_fh *fh = file->private_data;
1265 struct cx23885_dev *dev = fh->dev;
1282 struct cx23885_fh *fh = file->private_data;
1283 struct cx23885_dev *dev = fh->dev;
1297 struct cx23885_fh *fh = file->private_data;
1298 struct cx23885_dev *dev = fh->dev;
1313 struct cx23885_fh *fh = file->private_data;
1314 struct cx23885_dev *dev = fh->dev;
1316 cx23885_api_cmd(fh->dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
1342 struct cx23885_fh *fh = file->private_data;
1343 struct cx23885_dev *dev = fh->dev;
1353 struct cx23885_fh *fh = file->private_data;
1354 struct cx23885_dev *dev = fh->dev;
1388 struct cx23885_fh *fh = file->private_data;
1389 struct cx23885_dev *dev = fh->dev;
1398 f->fmt.pix.field = fh->mpegq.field;
1400 dev->ts1.width, dev->ts1.height, fh->mpegq.field);
1407 struct cx23885_fh *fh = file->private_data;
1408 struct cx23885_dev *dev = fh->dev;
1416 dev->ts1.width, dev->ts1.height, fh->mpegq.field);
1423 struct cx23885_fh *fh = file->private_data;
1424 struct cx23885_dev *dev = fh->dev;
1439 struct cx23885_fh *fh = file->private_data;
1441 return videobuf_reqbufs(&fh->mpegq, p);
1447 struct cx23885_fh *fh = file->private_data;
1449 return videobuf_querybuf(&fh->mpegq, p);
1455 struct cx23885_fh *fh = file->private_data;
1457 return videobuf_qbuf(&fh->mpegq, p);
1462 struct cx23885_fh *fh = priv;
1464 return videobuf_dqbuf(&fh->mpegq, b, file->f_flags & O_NONBLOCK);
1471 struct cx23885_fh *fh = file->private_data;
1473 return videobuf_streamon(&fh->mpegq);
1478 struct cx23885_fh *fh = file->private_data;
1480 return videobuf_streamoff(&fh->mpegq);
1486 struct cx23885_fh *fh = priv;
1487 struct cx23885_dev *dev = fh->dev;
1497 struct cx23885_fh *fh = priv;
1498 struct cx23885_dev *dev = fh->dev;
1519 struct cx23885_fh *fh = priv;
1520 struct cx23885_dev *dev = fh->dev;
1534 struct cx23885_fh *fh = priv;
1535 struct cx23885_dev *dev = fh->dev;
1553 struct cx23885_fh *fh = priv;
1554 struct cx23885_dev *dev = fh->dev;
1562 struct cx23885_fh *fh = priv;
1563 struct cx23885_dev *dev = fh->dev;
1571 struct cx23885_fh *fh;
1576 fh = kzalloc(sizeof(*fh), GFP_KERNEL);
1577 if (NULL == fh) {
1584 file->private_data = fh;
1585 fh->dev = dev;
1587 videobuf_queue_sg_init(&fh->mpegq, &cx23885_qops,
1592 fh);
1600 struct cx23885_fh *fh = file->private_data;
1601 struct cx23885_dev *dev = fh->dev;
1606 if (atomic_cmpxchg(&fh->v4l_reading, 1, 0) == 1) {
1609 cx23885_api_cmd(fh->dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
1616 cx23885_cancel_buffers(&fh->dev->ts1);
1620 if (fh->mpegq.streaming)
1621 videobuf_streamoff(&fh->mpegq);
1622 if (fh->mpegq.reading)
1623 videobuf_read_stop(&fh->mpegq);
1625 videobuf_mmap_free(&fh->mpegq);
1627 kfree(fh);
1635 struct cx23885_fh *fh = file->private_data;
1636 struct cx23885_dev *dev = fh->dev;
1642 if (atomic_cmpxchg(&fh->v4l_reading, 0, 1) == 0) {
1649 return videobuf_read_stream(&fh->mpegq, data, count, ppos, 0,
1656 struct cx23885_fh *fh = file->private_data;
1657 struct cx23885_dev *dev = fh->dev;
1661 return videobuf_poll_stream(file, &fh->mpegq, wait);
1666 struct cx23885_fh *fh = file->private_data;
1667 struct cx23885_dev *dev = fh->dev;
1671 return videobuf_mmap_mapper(&fh->mpegq, vma);