struct cx22700_state* state = (struct cx22700_state*) fe->demodulator_priv; 
struct cx22700_state* state = fe->demodulator_priv; 
static int cx22700_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct cx22700_state* state = (struct cx22700_state*) fe->demodulator_priv;	u16 rs_ber = (cx22700_readreg (state, 0x0d) << 9)		   | (cx22700_readreg (state, 0x0e) << 1);	u8 sync = cx22700_readreg (state, 0x07);	*status = 0;	if (rs_ber < 0xff00)		*status |= FE_HAS_SIGNAL;	if (sync & 0x20)		*status |= FE_HAS_CARRIER;	if (sync & 0x10)		*status |= FE_HAS_VITERBI;	if (sync & 0x10)		*status |= FE_HAS_SYNC;	if (*status == 0x0f)		*status |= FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/cx22700.c/clean/drivers/media/dvb/frontends/cx22700.c