struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv; 
struct cx24110_state *state = fe->demodulator_priv; 
static int cx24110_read_snr(struct dvb_frontend* fe, u16* snr){	struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv;	/* no provision in hardware. Can be computed from the Es/N0 estimator, but I don't know how. */	if(cx24110_readreg(state,0x6a)&0x80) {		/* the Es/N0 error counter has finished one counting window */		state->lastesn0=cx24110_readreg(state,0x69)|			(cx24110_readreg(state,0x68)<<8);		cx24110_writereg(state,0x6a,0x84); /* start new count window */	}	*snr = state->lastesn0;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/cx24110.c/clean/drivers/media/dvb/frontends/cx24110.c