struct cx22702_state* state = (struct cx22702_state*) fe->demodulator_priv; 
struct cx22702_state* state = fe->demodulator_priv; 
static int cx22702_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct cx22702_state* state = (struct cx22702_state*) fe->demodulator_priv;	u8 reg0A;	u8 reg23;	*status = 0;	reg0A = cx22702_readreg (state, 0x0A);	reg23 = cx22702_readreg (state, 0x23);	dprintk ("%s: status demod=0x%02x agc=0x%02x\n"		,__FUNCTION__,reg0A,reg23);	if(reg0A & 0x10) {		*status |= FE_HAS_LOCK;		*status |= FE_HAS_VITERBI;		*status |= FE_HAS_SYNC;	}	if(reg0A & 0x20)		*status |= FE_HAS_CARRIER;	if(reg23 < 0xf0)		*status |= FE_HAS_SIGNAL;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/cx22702.c/buggy/drivers/media/dvb/frontends/cx22702.c