aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r--drivers/media/video/saa7134/saa7134.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index a0884f639f65..a1e0dad1267b 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -462,6 +462,12 @@ struct saa7134_mpeg_ops {
462 void (*signal_change)(struct saa7134_dev *dev); 462 void (*signal_change)(struct saa7134_dev *dev);
463}; 463};
464 464
465enum saa7134_ts_status {
466 SAA7134_TS_STOPPED,
467 SAA7134_TS_BUFF_DONE,
468 SAA7134_TS_STARTED,
469};
470
465/* global device status */ 471/* global device status */
466struct saa7134_dev { 472struct saa7134_dev {
467 struct list_head devlist; 473 struct list_head devlist;
@@ -555,6 +561,8 @@ struct saa7134_dev {
555 /* SAA7134_MPEG_* */ 561 /* SAA7134_MPEG_* */
556 struct saa7134_ts ts; 562 struct saa7134_ts ts;
557 struct saa7134_dmaqueue ts_q; 563 struct saa7134_dmaqueue ts_q;
564 enum saa7134_ts_status ts_state;
565 unsigned int buff_cnt;
558 struct saa7134_mpeg_ops *mops; 566 struct saa7134_mpeg_ops *mops;
559 struct i2c_client *mpeg_i2c_client; 567 struct i2c_client *mpeg_i2c_client;
560 568