struct tda10021_state* state = (struct tda10021_state*) fe->demodulator_priv; 
struct tda10021_state* state = fe->demodulator_priv; 
static int tda10021_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct tda10021_state* state = (struct tda10021_state*) fe->demodulator_priv;	int sync;	*status = 0;	//0x11[0] == EQALGO -> Equalizer algorithms state	//0x11[1] == CARLOCK -> Carrier locked	//0x11[2] == FSYNC -> Frame synchronisation	//0x11[3] == FEL -> Front End locked	//0x11[6] == NODVB -> DVB Mode Information	sync = tda10021_readreg (state, 0x11);	if (sync & 2)		*status |= FE_HAS_SIGNAL|FE_HAS_CARRIER;	if (sync & 4)		*status |= FE_HAS_SYNC|FE_HAS_VITERBI;	if (sync & 8)		*status |= FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/tda10021.c/clean/drivers/media/dvb/frontends/tda10021.c