struct or51132_state* state = (struct or51132_state*) fe->demodulator_priv; 
struct or51132_state* state = fe->demodulator_priv; 
static int or51132_read_status(struct dvb_frontend* fe, fe_status_t* status){	struct or51132_state* state = (struct or51132_state*) fe->demodulator_priv;	unsigned char rec_buf[2];	unsigned char snd_buf[2];	*status = 0;	/* Receiver Status */	snd_buf[0]=0x04;	snd_buf[1]=0x00;	msleep(30); /* 30ms */	if (i2c_writebytes(state,state->config->demod_address,snd_buf,2)) {		printk(KERN_WARNING "or51132: read_status write error\n");		return -1;	}	msleep(30); /* 30ms */	if (i2c_readbytes(state,state->config->demod_address,rec_buf,2)) {		printk(KERN_WARNING "or51132: read_status read error\n");		return -1;	}	dprintk("read_status %x %x\n",rec_buf[0],rec_buf[1]);	if (rec_buf[1] & 0x01) { /* Receiver Lock */		*status |= FE_HAS_SIGNAL;		*status |= FE_HAS_CARRIER;		*status |= FE_HAS_VITERBI;		*status |= FE_HAS_SYNC;		*status |= FE_HAS_LOCK;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/or51132.c/clean/drivers/media/dvb/frontends/or51132.c