struct nxt6000_state* state = (struct nxt6000_state*) fe->demodulator_priv; 
struct nxt6000_state* state = fe->demodulator_priv; 
static int nxt6000_read_status(struct dvb_frontend* fe, fe_status_t* status){	u8 core_status;	struct nxt6000_state* state = (struct nxt6000_state*) fe->demodulator_priv;	*status = 0;	core_status = nxt6000_readreg(state, OFDM_COR_STAT);	if (core_status & AGCLOCKED)		*status |= FE_HAS_SIGNAL;	if (nxt6000_readreg(state, OFDM_SYR_STAT) & GI14_SYR_LOCK)		*status |= FE_HAS_CARRIER;	if (nxt6000_readreg(state, VIT_SYNC_STATUS) & VITINSYNC)		*status |= FE_HAS_VITERBI;	if (nxt6000_readreg(state, RS_COR_STAT) & RSCORESTATUS)		*status |= FE_HAS_SYNC;	if ((core_status & TPSLOCKED) && (*status == (FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC)))		*status |= FE_HAS_LOCK;	if (debug)		nxt6000_dump_status(state);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/nxt6000.c/clean/drivers/media/dvb/frontends/nxt6000.c