This source file includes following definitions.
- s5h1409_attach
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 #ifndef __S5H1409_H__
  11 #define __S5H1409_H__
  12 
  13 #include <linux/dvb/frontend.h>
  14 
  15 struct s5h1409_config {
  16         
  17         u8 demod_address;
  18 
  19         
  20 #define S5H1409_PARALLEL_OUTPUT 0
  21 #define S5H1409_SERIAL_OUTPUT   1
  22         u8 output_mode;
  23 
  24         
  25 #define S5H1409_GPIO_OFF 0
  26 #define S5H1409_GPIO_ON  1
  27         u8 gpio;
  28 
  29         
  30         u16 qam_if;
  31 
  32         
  33 #define S5H1409_INVERSION_OFF 0
  34 #define S5H1409_INVERSION_ON  1
  35         u8 inversion;
  36 
  37         
  38 #define S5H1409_TUNERLOCKING 0
  39 #define S5H1409_DEMODLOCKING 1
  40         u8 status_mode;
  41 
  42         
  43 #define S5H1409_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK       0
  44 #define S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK    1
  45 #define S5H1409_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK    2
  46 #define S5H1409_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK 3
  47         u16 mpeg_timing;
  48 
  49         
  50 
  51 
  52 #define S5H1409_HVR1600_NOOPTIMIZE 0
  53 #define S5H1409_HVR1600_OPTIMIZE   1
  54         u8 hvr1600_opt;
  55 };
  56 
  57 #if IS_REACHABLE(CONFIG_DVB_S5H1409)
  58 extern struct dvb_frontend *s5h1409_attach(const struct s5h1409_config *config,
  59                                            struct i2c_adapter *i2c);
  60 #else
  61 static inline struct dvb_frontend *s5h1409_attach(
  62         const struct s5h1409_config *config,
  63         struct i2c_adapter *i2c)
  64 {
  65         printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
  66         return NULL;
  67 }
  68 #endif 
  69 
  70 #endif