aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2007-09-27 19:34:25 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 23:02:59 -0400
commitcb71201f20e43581857043a1f856fb61ce44bdf8 (patch)
treefc16d5eebc8dbf48d0dcb7b0c0eb35609a5231d7 /drivers/media/video/saa7134/saa7134.h
parentf5a1ac64cc444cf19c8817d61a410b70bbb619d9 (diff)
V4L/DVB (6271): V4L: Add basic support for suspend/resume for saa7134
This adds support for suspend/resume for core of saa7134 Should fix bug#7220 Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r--drivers/media/video/saa7134/saa7134.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index cb617c8dbb71..5b1f22606558 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -522,6 +522,7 @@ struct saa7134_dev {
522 struct saa7134_input *input; 522 struct saa7134_input *input;
523 struct saa7134_input *hw_input; 523 struct saa7134_input *hw_input;
524 unsigned int hw_mute; 524 unsigned int hw_mute;
525 unsigned int force_mute_update;
525 int last_carrier; 526 int last_carrier;
526 int nosignal; 527 int nosignal;
527 528
@@ -594,6 +595,9 @@ void saa7134_buffer_next(struct saa7134_dev *dev, struct saa7134_dmaqueue *q);
594void saa7134_buffer_timeout(unsigned long data); 595void saa7134_buffer_timeout(unsigned long data);
595void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); 596void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf);
596 597
598int saa7134_buffer_requeue(struct saa7134_dev *dev,
599 struct saa7134_dmaqueue *q);
600
597int saa7134_set_dmabits(struct saa7134_dev *dev); 601int saa7134_set_dmabits(struct saa7134_dev *dev);
598 602
599extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); 603extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev);
@@ -626,6 +630,10 @@ void saa7134_i2c_call_clients(struct saa7134_dev *dev,
626extern struct video_device saa7134_video_template; 630extern struct video_device saa7134_video_template;
627extern struct video_device saa7134_radio_template; 631extern struct video_device saa7134_radio_template;
628 632
633void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm);
634int saa7134_videoport_init(struct saa7134_dev *dev);
635void saa7134_set_decoder(struct saa7134_dev *dev);
636
629int saa7134_common_ioctl(struct saa7134_dev *dev, 637int saa7134_common_ioctl(struct saa7134_dev *dev,
630 unsigned int cmd, void *arg); 638 unsigned int cmd, void *arg);
631 639
@@ -649,6 +657,8 @@ void saa7134_irq_ts_done(struct saa7134_dev *dev, unsigned long status);
649int saa7134_ts_register(struct saa7134_mpeg_ops *ops); 657int saa7134_ts_register(struct saa7134_mpeg_ops *ops);
650void saa7134_ts_unregister(struct saa7134_mpeg_ops *ops); 658void saa7134_ts_unregister(struct saa7134_mpeg_ops *ops);
651 659
660int saa7134_ts_init_hw(struct saa7134_dev *dev);
661
652/* ----------------------------------------------------------- */ 662/* ----------------------------------------------------------- */
653/* saa7134-vbi.c */ 663/* saa7134-vbi.c */
654 664
@@ -677,6 +687,8 @@ int saa7134_tvaudio_do_scan(struct saa7134_dev *dev);
677 687
678int saa_dsp_writel(struct saa7134_dev *dev, int reg, u32 value); 688int saa_dsp_writel(struct saa7134_dev *dev, int reg, u32 value);
679 689
690void saa7134_enable_i2s(struct saa7134_dev *dev);
691
680/* ----------------------------------------------------------- */ 692/* ----------------------------------------------------------- */
681/* saa7134-oss.c */ 693/* saa7134-oss.c */
682 694