tda998x.h 408 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __DRM_I2C_TDA998X_H__
  2. #define __DRM_I2C_TDA998X_H__
  3. struct tda998x_encoder_params {
  4. u8 swap_b:3;
  5. u8 mirr_b:1;
  6. u8 swap_a:3;
  7. u8 mirr_a:1;
  8. u8 swap_d:3;
  9. u8 mirr_d:1;
  10. u8 swap_c:3;
  11. u8 mirr_c:1;
  12. u8 swap_f:3;
  13. u8 mirr_f:1;
  14. u8 swap_e:3;
  15. u8 mirr_e:1;
  16. u8 audio_cfg;
  17. u8 audio_clk_cfg;
  18. u8 audio_frame[6];
  19. enum {
  20. AFMT_SPDIF,
  21. AFMT_I2S
  22. } audio_format;
  23. unsigned audio_sample_rate;
  24. };
  25. #endif