• 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/common/

Lines Matching refs:fh

211 	struct saa7146_fh *fh = file->private_data;
212 struct saa7146_dev *dev = fh->dev;
281 struct saa7146_fh *fh = file->private_data;
282 struct saa7146_dev *dev = fh->dev;
293 struct saa7146_fh *fh = file->private_data;
294 struct saa7146_dev *dev = fh->dev;
310 static void vbi_stop(struct saa7146_fh *fh, struct file *file)
312 struct saa7146_dev *dev = fh->dev;
315 DEB_VBI(("dev:%p, fh:%p\n",dev, fh));
332 videobuf_queue_cancel(&fh->vbi_q);
337 del_timer(&fh->vbi_read_timeout);
345 struct saa7146_fh *fh = file->private_data;
346 struct saa7146_dev *dev = fh->dev;
348 DEB_VBI(("dev:%p, fh:%p\n",dev, fh));
350 vbi_stop(fh, file);
369 struct saa7146_fh *fh = file->private_data;
374 DEB_VBI(("dev:%p, fh:%p\n",dev,fh));
376 ret = saa7146_res_get(fh, RESOURCE_DMA3_BRS);
388 memset(&fh->vbi_fmt,0,sizeof(fh->vbi_fmt));
390 fh->vbi_fmt.sampling_rate = 27000000;
391 fh->vbi_fmt.offset = 248; /* todo */
392 fh->vbi_fmt.samples_per_line = vbi_pixel_to_capture;
393 fh->vbi_fmt.sample_format = V4L2_PIX_FMT_GREY;
395 fh->vbi_fmt.start[0] = 5;
396 fh->vbi_fmt.count[0] = 16;
397 fh->vbi_fmt.start[1] = 312;
398 fh->vbi_fmt.count[1] = 16;
400 videobuf_queue_sg_init(&fh->vbi_q, &vbi_qops,
407 init_timer(&fh->vbi_read_timeout);
408 fh->vbi_read_timeout.function = vbi_read_timeout;
409 fh->vbi_read_timeout.data = (unsigned long)file;
430 struct saa7146_fh *fh = file->private_data;
432 DEB_VBI(("dev:%p, fh:%p\n",dev,fh));
434 if( fh == vv->vbi_streaming ) {
435 vbi_stop(fh, file);
437 saa7146_res_free(fh, RESOURCE_DMA3_BRS);
461 struct saa7146_fh *fh = file->private_data;
462 struct saa7146_dev *dev = fh->dev;
466 DEB_VBI(("dev:%p, fh:%p\n",dev,fh));
469 vv->vbi_streaming = fh;
472 if( fh != vv->vbi_streaming ) {
477 mod_timer(&fh->vbi_read_timeout, jiffies+BUFFER_TIMEOUT);
478 ret = videobuf_read_stream(&fh->vbi_q, data, count, ppos, 1,