struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv; 
struct cx24110_state *state = fe->demodulator_priv; 
static int cx24110_read_ber(struct dvb_frontend* fe, u32* ber){	struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv;	/* fixme (maybe): value range is 16 bit. Scale? */	if(cx24110_readreg(state,0x24)&0x10) {		/* the Viterbi error counter has finished one counting window */		cx24110_writereg(state,0x24,0x04); /* select the ber reg */		state->lastber=cx24110_readreg(state,0x25)|			(cx24110_readreg(state,0x26)<<8);		cx24110_writereg(state,0x24,0x04); /* start new count window */		cx24110_writereg(state,0x24,0x14);	}	*ber = state->lastber;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/cx24110.c/clean/drivers/media/dvb/frontends/cx24110.c