Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
stv0367_priv.h File Reference

Go to the source code of this file.

Data Structures

struct  stv0367_cab_signal_info
 

Macros

#define TRUE   (1 == 1)
 
#define FALSE   (!TRUE)
 
#define NULL   0
 
#define ABS(X)   ((X) < 0 ? (-1 * (X)) : (X))
 
#define MAX(X, Y)   ((X) >= (Y) ? (X) : (Y))
 
#define MIN(X, Y)   ((X) <= (Y) ? (X) : (Y))
 
#define INRANGE(X, Y, Z)
 
#define MAKEWORD(X, Y)   (((X) << 8) + (Y))
 
#define LSB(X)   (((X) & 0xff))
 
#define MSB(Y)   (((Y) >> 8) & 0xff)
 
#define MMSB(Y)   (((Y) >> 16) & 0xff)
 

Enumerations

enum  stv0367_ter_signal_type {
  FE_TER_NOAGC = 0, FE_TER_AGCOK = 5, FE_TER_NOTPS = 6, FE_TER_TPSOK = 7,
  FE_TER_NOSYMBOL = 8, FE_TER_BAD_CPQ = 9, FE_TER_PRFOUNDOK = 10, FE_TER_NOPRFOUND = 11,
  FE_TER_LOCKOK = 12, FE_TER_NOLOCK = 13, FE_TER_SYMBOLOK = 15, FE_TER_CPAMPOK = 16,
  FE_TER_NOCPAMP = 17, FE_TER_SWNOK = 18
}
 
enum  stv0367_ts_mode {
  STV0367_OUTPUTMODE_DEFAULT, STV0367_SERIAL_PUNCT_CLOCK, STV0367_SERIAL_CONT_CLOCK, STV0367_PARALLEL_PUNCT_CLOCK,
  STV0367_DVBCI_CLOCK
}
 
enum  stv0367_clk_pol { STV0367_CLOCKPOLARITY_DEFAULT, STV0367_RISINGEDGE_CLOCK, STV0367_FALLINGEDGE_CLOCK }
 
enum  stv0367_ter_bw { FE_TER_CHAN_BW_6M = 6, FE_TER_CHAN_BW_7M = 7, FE_TER_CHAN_BW_8M = 8 }
 
enum  stv0367_ter_mode { FE_TER_MODE_2K, FE_TER_MODE_8K, FE_TER_MODE_4K }
 
enum  stv0367_ter_hierarchy { FE_TER_HIER_NONE, FE_TER_HIER_LOW_PRIO, FE_TER_HIER_HIGH_PRIO, FE_TER_HIER_PRIO_ANY }
 
enum  stv0367_ter_if_iq_mode { FE_TER_NORMAL_IF_TUNER = 0, FE_TER_LONGPATH_IF_TUNER = 1, FE_TER_IQ_TUNER = 2 }
 
enum  stv0367_ter_force { FE_TER_FORCENONE = 0, FE_TER_FORCE_M_G = 1 }
 
enum  stv0367cab_mod {
  FE_CAB_MOD_QAM4, FE_CAB_MOD_QAM16, FE_CAB_MOD_QAM32, FE_CAB_MOD_QAM64,
  FE_CAB_MOD_QAM128, FE_CAB_MOD_QAM256, FE_CAB_MOD_QAM512, FE_CAB_MOD_QAM1024
}
 
enum  stv0367_cab_signal_type {
  FE_CAB_NOTUNER, FE_CAB_NOAGC, FE_CAB_NOSIGNAL, FE_CAB_NOTIMING,
  FE_CAB_TIMINGOK, FE_CAB_NOCARRIER, FE_CAB_CARRIEROK, FE_CAB_NOBLIND,
  FE_CAB_BLINDOK, FE_CAB_NODEMOD, FE_CAB_DEMODOK, FE_CAB_DATAOK
}
 

Macro Definition Documentation

#define ABS (   X)    ((X) < 0 ? (-1 * (X)) : (X))

Definition at line 42 of file stv0367_priv.h.

#define FALSE   (!TRUE)

Definition at line 34 of file stv0367_priv.h.

#define INRANGE (   X,
  Y,
  Z 
)
Value:
((((X) <= (Y)) && ((Y) <= (Z))) || \
(((Z) <= (Y)) && ((Y) <= (X))) ? 1 : 0)

Definition at line 45 of file stv0367_priv.h.

#define LSB (   X)    (((X) & 0xff))

Definition at line 53 of file stv0367_priv.h.

#define MAKEWORD (   X,
 
)    (((X) << 8) + (Y))

Definition at line 50 of file stv0367_priv.h.

#define MAX (   X,
 
)    ((X) >= (Y) ? (X) : (Y))

Definition at line 43 of file stv0367_priv.h.

#define MIN (   X,
 
)    ((X) <= (Y) ? (X) : (Y))

Definition at line 44 of file stv0367_priv.h.

#define MMSB (   Y)    (((Y) >> 16) & 0xff)

Definition at line 55 of file stv0367_priv.h.

#define MSB (   Y)    (((Y) >> 8) & 0xff)

Definition at line 54 of file stv0367_priv.h.

#define NULL   0

Definition at line 38 of file stv0367_priv.h.

#define TRUE   (1 == 1)

Definition at line 31 of file stv0367_priv.h.

Enumeration Type Documentation

Enumerator:
FE_CAB_NOTUNER 
FE_CAB_NOAGC 
FE_CAB_NOSIGNAL 
FE_CAB_NOTIMING 
FE_CAB_TIMINGOK 
FE_CAB_NOCARRIER 
FE_CAB_CARRIEROK 
FE_CAB_NOBLIND 
FE_CAB_BLINDOK 
FE_CAB_NODEMOD 
FE_CAB_DEMODOK 
FE_CAB_DATAOK 

Definition at line 197 of file stv0367_priv.h.

Enumerator:
STV0367_CLOCKPOLARITY_DEFAULT 
STV0367_RISINGEDGE_CLOCK 
STV0367_FALLINGEDGE_CLOCK 

Definition at line 82 of file stv0367_priv.h.

Enumerator:
FE_TER_CHAN_BW_6M 
FE_TER_CHAN_BW_7M 
FE_TER_CHAN_BW_8M 

Definition at line 88 of file stv0367_priv.h.

Enumerator:
FE_TER_FORCENONE 
FE_TER_FORCE_M_G 

Definition at line 164 of file stv0367_priv.h.

Enumerator:
FE_TER_HIER_NONE 
FE_TER_HIER_LOW_PRIO 
FE_TER_HIER_HIGH_PRIO 
FE_TER_HIER_PRIO_ANY 

Definition at line 117 of file stv0367_priv.h.

Enumerator:
FE_TER_NORMAL_IF_TUNER 
FE_TER_LONGPATH_IF_TUNER 
FE_TER_IQ_TUNER 

Definition at line 133 of file stv0367_priv.h.

Enumerator:
FE_TER_MODE_2K 
FE_TER_MODE_8K 
FE_TER_MODE_4K 

Definition at line 104 of file stv0367_priv.h.

Enumerator:
FE_TER_NOAGC 
FE_TER_AGCOK 
FE_TER_NOTPS 
FE_TER_TPSOK 
FE_TER_NOSYMBOL 
FE_TER_BAD_CPQ 
FE_TER_PRFOUNDOK 
FE_TER_NOPRFOUND 
FE_TER_LOCKOK 
FE_TER_NOLOCK 
FE_TER_SYMBOLOK 
FE_TER_CPAMPOK 
FE_TER_NOCPAMP 
FE_TER_SWNOK 

Definition at line 57 of file stv0367_priv.h.

Enumerator:
STV0367_OUTPUTMODE_DEFAULT 
STV0367_SERIAL_PUNCT_CLOCK 
STV0367_SERIAL_CONT_CLOCK 
STV0367_PARALLEL_PUNCT_CLOCK 
STV0367_DVBCI_CLOCK 

Definition at line 74 of file stv0367_priv.h.

Enumerator:
FE_CAB_MOD_QAM4 
FE_CAB_MOD_QAM16 
FE_CAB_MOD_QAM32 
FE_CAB_MOD_QAM64 
FE_CAB_MOD_QAM128 
FE_CAB_MOD_QAM256 
FE_CAB_MOD_QAM512 
FE_CAB_MOD_QAM1024 

Definition at line 169 of file stv0367_priv.h.