struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv; 
struct stv0297_state *state = fe->demodulator_priv; 
static int stv0297_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p){	struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv;	int reg_00, reg_83;	reg_00 = stv0297_readreg(state, 0x00);	reg_83 = stv0297_readreg(state, 0x83);	p->frequency = state->base_freq;	p->inversion = (reg_83 & 0x08) ? INVERSION_ON : INVERSION_OFF;	if (state->config->invert)		p->inversion = (p->inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON;	p->u.qam.symbol_rate = stv0297_get_symbolrate(state) * 1000;	p->u.qam.fec_inner = FEC_NONE;	switch ((reg_00 >> 4) & 0x7) {	case 0:		p->u.qam.modulation = QAM_16;		break;	case 1:		p->u.qam.modulation = QAM_32;		break;	case 2:		p->u.qam.modulation = QAM_128;		break;	case 3:		p->u.qam.modulation = QAM_256;		break;	case 4:		p->u.qam.modulation = QAM_64;		break;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/stv0297.c/clean/drivers/media/dvb/frontends/stv0297.c