struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv; 
struct stv0299_state* state = fe->demodulator_priv; 
static int stv0299_read_status(struct dvb_frontend* fe, fe_status_t* status){        struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv;	u8 signal = 0xff - stv0299_readreg (state, 0x18);	u8 sync = stv0299_readreg (state, 0x1b);	dprintk ("%s : FE_READ_STATUS : VSTATUS: 0x%02x\n", __FUNCTION__, sync);	*status = 0;	if (signal > 10)		*status |= FE_HAS_SIGNAL;	if (sync & 0x80)		*status |= FE_HAS_CARRIER;	if (sync & 0x10)		*status |= FE_HAS_VITERBI;	if (sync & 0x08)		*status |= FE_HAS_SYNC;	if ((sync & 0x98) == 0x98)		*status |= FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/stv0299.c/clean/drivers/media/dvb/frontends/stv0299.c