struct l64781_state* state = (struct l64781_state*) fe->demodulator_priv; 
struct l64781_state* state = fe->demodulator_priv; 
static int l64781_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct l64781_state* state = (struct l64781_state*) fe->demodulator_priv;	int sync = l64781_readreg (state, 0x32);	int gain = l64781_readreg (state, 0x0e);	l64781_readreg (state, 0x00);  /*  clear interrupt registers... */	l64781_readreg (state, 0x01);  /*  dto. */	*status = 0;	if (gain > 5)		*status |= FE_HAS_SIGNAL;	if (sync & 0x02) /* VCXO locked, this criteria should be ok */		*status |= FE_HAS_CARRIER;	if (sync & 0x20)		*status |= FE_HAS_VITERBI;	if (sync & 0x40)		*status |= FE_HAS_SYNC;	if (sync == 0x7f)		*status |= FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/l64781.c/clean/drivers/media/dvb/frontends/l64781.c