aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx231xx/cx231xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx.h')
-rw-r--r--drivers/media/video/cx231xx/cx231xx.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx.h b/drivers/media/video/cx231xx/cx231xx.h
index d658e3599d86..aa4a23ef491a 100644
--- a/drivers/media/video/cx231xx/cx231xx.h
+++ b/drivers/media/video/cx231xx/cx231xx.h
@@ -46,9 +46,9 @@
46#define PWR_SLEEP_INTERVAL 5 46#define PWR_SLEEP_INTERVAL 5
47 47
48/* I2C addresses for control block in Cx231xx */ 48/* I2C addresses for control block in Cx231xx */
49#define Colibri_DEVICE_ADDRESS 0x60 49#define AFE_DEVICE_ADDRESS 0x60
50#define Flatrion_DEVICE_ADDRESS 0x98 50#define I2S_BLK_DEVICE_ADDRESS 0x98
51#define HAMMERHEAD_I2C_ADDRESS 0x88 51#define VID_BLK_I2C_ADDRESS 0x88
52#define DIF_USE_BASEBAND 0xFFFFFFFF 52#define DIF_USE_BASEBAND 0xFFFFFFFF
53 53
54/* Boards supported by driver */ 54/* Boards supported by driver */
@@ -540,9 +540,9 @@ struct cx231xx {
540 /* Power Modes */ 540 /* Power Modes */
541 int power_mode; 541 int power_mode;
542 542
543 /* colibri parameters */ 543 /* afe parameters */
544 enum AFE_MODE colibri_mode; 544 enum AFE_MODE afe_mode;
545 u32 colibri_ref_count; 545 u32 afe_ref_count;
546 546
547 /* video related parameters */ 547 /* video related parameters */
548 u32 video_input; 548 u32 video_input;
@@ -588,21 +588,21 @@ int cx231xx_read_modify_write_i2c_dword(struct cx231xx *dev, u8 dev_addr,
588 u16 saddr, u32 mask, u32 value); 588 u16 saddr, u32 mask, u32 value);
589u32 cx231xx_set_field(u32 field_mask, u32 data); 589u32 cx231xx_set_field(u32 field_mask, u32 data);
590 590
591/* Colibri related functions */ 591/* afe related functions */
592int cx231xx_colibri_init_super_block(struct cx231xx *dev, u32 ref_count); 592int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count);
593int cx231xx_colibri_init_channels(struct cx231xx *dev); 593int cx231xx_afe_init_channels(struct cx231xx *dev);
594int cx231xx_colibri_setup_AFE_for_baseband(struct cx231xx *dev); 594int cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev);
595int cx231xx_colibri_set_input_mux(struct cx231xx *dev, u32 input_mux); 595int cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux);
596int cx231xx_colibri_set_mode(struct cx231xx *dev, enum AFE_MODE mode); 596int cx231xx_afe_set_mode(struct cx231xx *dev, enum AFE_MODE mode);
597int cx231xx_colibri_update_power_control(struct cx231xx *dev, 597int cx231xx_afe_update_power_control(struct cx231xx *dev,
598 enum AV_MODE avmode); 598 enum AV_MODE avmode);
599int cx231xx_colibri_adjust_ref_count(struct cx231xx *dev, u32 video_input); 599int cx231xx_afe_adjust_ref_count(struct cx231xx *dev, u32 video_input);
600 600
601/* flatiron related functions */ 601/* i2s block related functions */
602int cx231xx_flatiron_initialize(struct cx231xx *dev); 602int cx231xx_i2s_blk_initialize(struct cx231xx *dev);
603int cx231xx_flatiron_update_power_control(struct cx231xx *dev, 603int cx231xx_i2s_blk_update_power_control(struct cx231xx *dev,
604 enum AV_MODE avmode); 604 enum AV_MODE avmode);
605int cx231xx_flatiron_set_audio_input(struct cx231xx *dev, u8 audio_input); 605int cx231xx_i2s_blk_set_audio_input(struct cx231xx *dev, u8 audio_input);
606 606
607/* DIF related functions */ 607/* DIF related functions */
608int cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx *dev, u32 mode, 608int cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx *dev, u32 mode,