struct dib3000_state* state = (struct dib3000_state*) fe->demodulator_priv; 
struct dib3000_state* state = fe->demodulator_priv; 
static int dib3000mb_read_status(struct dvb_frontend* fe, fe_status_t *stat){	struct dib3000_state* state = (struct dib3000_state*) fe->demodulator_priv;	*stat = 0;	if (rd(DIB3000MB_REG_AGC_LOCK))		*stat |= FE_HAS_SIGNAL;	if (rd(DIB3000MB_REG_CARRIER_LOCK))		*stat |= FE_HAS_CARRIER;	if (rd(DIB3000MB_REG_VIT_LCK))		*stat |= FE_HAS_VITERBI;	if (rd(DIB3000MB_REG_TS_SYNC_LOCK))		*stat |= (FE_HAS_SYNC | FE_HAS_LOCK);	deb_getf("actual status is %2x\n",*stat);	deb_getf("autoval: tps: %d, qam: %d, hrch: %d, alpha: %d, hp: %d, lp: %d, guard: %d, fft: %d cell: %d\n",			rd(DIB3000MB_REG_TPS_LOCK),			rd(DIB3000MB_REG_TPS_QAM),			rd(DIB3000MB_REG_TPS_HRCH),			rd(DIB3000MB_REG_TPS_VIT_ALPHA),			rd(DIB3000MB_REG_TPS_CODE_RATE_HP),			rd(DIB3000MB_REG_TPS_CODE_RATE_LP),			rd(DIB3000MB_REG_TPS_GUARD_TIME),			rd(DIB3000MB_REG_TPS_FFT),			rd(DIB3000MB_REG_TPS_CELL_ID));	//*stat = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC | FE_HAS_LOCK;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/dib3000mb.c/clean/drivers/media/dvb/frontends/dib3000mb.c