diff options
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index 8a02f0fec..768de629a 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -1,5 +1,5 @@ /* - * $Id: cx88.h,v 1.36 2004/10/11 13:45:51 kraxel Exp $ + * $Id: cx88.h,v 1.37 2004/10/12 07:33:22 kraxel Exp $ * * v4l2 device driver for cx2388x based TV cards * @@ -359,6 +359,11 @@ struct cx8802_fh { struct videobuf_queue mpegq; }; +struct cx8802_suspend_state { + u32 pci_cfg[64 / sizeof(u32)]; + int disabled; +}; + struct cx8802_dev { struct cx88_core *core; struct semaphore lock; @@ -378,6 +383,9 @@ struct cx8802_dev { u32 error_count; u32 timeout_count; + /* other global state info */ + struct cx8802_suspend_state state; + /* for blackbird only */ struct list_head devlist; struct video_device *mpeg_dev; @@ -536,6 +544,9 @@ void cx8802_cancel_buffers(struct cx8802_dev *dev); int cx8802_init_common(struct cx8802_dev *dev); void cx8802_fini_common(struct cx8802_dev *dev); +int cx8802_suspend_common(struct pci_dev *pci_dev, u32 state); +int cx8802_resume_common(struct pci_dev *pci_dev); + /* * Local variables: * c-basic-offset: 8 |