struct sp887x_state* state = (struct sp887x_state*) fe->demodulator_priv; 
struct sp887x_state* state = fe->demodulator_priv; 
static int sp887x_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct sp887x_state* state = (struct sp887x_state*) fe->demodulator_priv;	u16 snr12 = sp887x_readreg(state, 0xf16);	u16 sync0x200 = sp887x_readreg(state, 0x200);	u16 sync0xf17 = sp887x_readreg(state, 0xf17);	*status = 0;	if (snr12 > 0x00f)		*status |= FE_HAS_SIGNAL;	//if (sync0x200 & 0x004)	//	*status |= FE_HAS_SYNC | FE_HAS_CARRIER;	//if (sync0x200 & 0x008)	//	*status |= FE_HAS_VITERBI;	if ((sync0xf17 & 0x00f) == 0x002) {		*status |= FE_HAS_LOCK;		*status |= FE_HAS_VITERBI | FE_HAS_SYNC | FE_HAS_CARRIER;	}	if (sync0x200 & 0x001) {	/* tuner adjustment requested...*/		int steps = (sync0x200 >> 4) & 0x00f;		if (steps & 0x008)			steps = -steps;		dprintk("sp887x: implement tuner adjustment (%+i steps)!!\n",		       steps);	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/sp887x.c/clean/drivers/media/dvb/frontends/sp887x.c