diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2007-09-27 19:34:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 23:02:59 -0400 |
commit | cb71201f20e43581857043a1f856fb61ce44bdf8 (patch) | |
tree | fc16d5eebc8dbf48d0dcb7b0c0eb35609a5231d7 /drivers/media/video/saa7134/saa7134.h | |
parent | f5a1ac64cc444cf19c8817d61a410b70bbb619d9 (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.h | 12 |
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); | |||
594 | void saa7134_buffer_timeout(unsigned long data); | 595 | void saa7134_buffer_timeout(unsigned long data); |
595 | void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); | 596 | void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf); |
596 | 597 | ||
598 | int saa7134_buffer_requeue(struct saa7134_dev *dev, | ||
599 | struct saa7134_dmaqueue *q); | ||
600 | |||
597 | int saa7134_set_dmabits(struct saa7134_dev *dev); | 601 | int saa7134_set_dmabits(struct saa7134_dev *dev); |
598 | 602 | ||
599 | extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); | 603 | extern int (*saa7134_dmasound_init)(struct saa7134_dev *dev); |
@@ -626,6 +630,10 @@ void saa7134_i2c_call_clients(struct saa7134_dev *dev, | |||
626 | extern struct video_device saa7134_video_template; | 630 | extern struct video_device saa7134_video_template; |
627 | extern struct video_device saa7134_radio_template; | 631 | extern struct video_device saa7134_radio_template; |
628 | 632 | ||
633 | void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm); | ||
634 | int saa7134_videoport_init(struct saa7134_dev *dev); | ||
635 | void saa7134_set_decoder(struct saa7134_dev *dev); | ||
636 | |||
629 | int saa7134_common_ioctl(struct saa7134_dev *dev, | 637 | int 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); | |||
649 | int saa7134_ts_register(struct saa7134_mpeg_ops *ops); | 657 | int saa7134_ts_register(struct saa7134_mpeg_ops *ops); |
650 | void saa7134_ts_unregister(struct saa7134_mpeg_ops *ops); | 658 | void saa7134_ts_unregister(struct saa7134_mpeg_ops *ops); |
651 | 659 | ||
660 | int 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 | ||
678 | int saa_dsp_writel(struct saa7134_dev *dev, int reg, u32 value); | 688 | int saa_dsp_writel(struct saa7134_dev *dev, int reg, u32 value); |
679 | 689 | ||
690 | void saa7134_enable_i2s(struct saa7134_dev *dev); | ||
691 | |||
680 | /* ----------------------------------------------------------- */ | 692 | /* ----------------------------------------------------------- */ |
681 | /* saa7134-oss.c */ | 693 | /* saa7134-oss.c */ |
682 | 694 | ||