struct at76c651_state* state = (struct at76c651_state*) fe->demodulator_priv; 
struct at76c651_state* state = fe->demodulator_priv; 
static int at76c651_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct at76c651_state* state = (struct at76c651_state*) fe->demodulator_priv;	u8 sync;	/*	 * Bits: FEC, CAR, EQU, TIM, AGC2, AGC1, ADC, PLL (PLL=0)	 */	sync = at76c651_readreg(state, 0x80);	*status = 0;	if (sync & (0x04 | 0x10))	/* AGC1 || TIM */		*status |= FE_HAS_SIGNAL;	if (sync & 0x10)		/* TIM */		*status |= FE_HAS_CARRIER;	if (sync & 0x80)		/* FEC */		*status |= FE_HAS_VITERBI;	if (sync & 0x40)		/* CAR */		*status |= FE_HAS_SYNC;	if ((sync & 0xF0) == 0xF0)	/* TIM && EQU && CAR && FEC */		*status |= FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/at76c651.c/clean/drivers/media/dvb/frontends/at76c651.c