struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv; 
struct cx24110_state *state = fe->demodulator_priv; 
static int cx24110_get_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p){	struct cx24110_state *state = (struct cx24110_state*) fe->demodulator_priv;	s32 afc; unsigned sclk;/* cannot read back tuner settings (freq). Need to have some private storage */	sclk = cx24110_readreg (state, 0x07) & 0x03;/* ok, real AFC (FEDR) freq. is afc/2^24*fsamp, fsamp=45/60/80/90MHz. * Need 64 bit arithmetic. Is thiss possible in the kernel? */	if (sclk==0) sclk=90999000L/2L;	else if (sclk==1) sclk=60666000L;	else if (sclk==2) sclk=80888000L;	else sclk=90999000L;	sclk>>=8;	afc = sclk*(cx24110_readreg (state, 0x44)&0x1f)+	      ((sclk*cx24110_readreg (state, 0x45))>>8)+	      ((sclk*cx24110_readreg (state, 0x46))>>16);	p->frequency += afc;	p->inversion = (cx24110_readreg (state, 0x22) & 0x10) ?				INVERSION_ON : INVERSION_OFF;	p->u.qpsk.fec_inner = cx24110_get_fec (state);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/cx24110.c/clean/drivers/media/dvb/frontends/cx24110.c