struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv; 
struct stv0297_state *state = fe->demodulator_priv; 
static int stv0297_init(struct dvb_frontend *fe){	struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv;	int i;	/* soft reset */	stv0297_writereg_mask(state, 0x80, 1, 1);	stv0297_writereg_mask(state, 0x80, 1, 0);	/* reset deinterleaver */	stv0297_writereg_mask(state, 0x81, 1, 1);	stv0297_writereg_mask(state, 0x81, 1, 0);	/* load init table */	for (i = 0; i < sizeof(init_tab); i += 2) {		stv0297_writereg(state, init_tab[i], init_tab[i + 1]);	}	/* set a dummy symbol rate */	stv0297_set_symbolrate(state, 6900);	/* invert AGC1 polarity */	stv0297_writereg_mask(state, 0x88, 0x10, 0x10);	/* setup bit error counting */	stv0297_writereg_mask(state, 0xA0, 0x80, 0x00);	stv0297_writereg_mask(state, 0xA0, 0x10, 0x00);	stv0297_writereg_mask(state, 0xA0, 0x08, 0x00);	stv0297_writereg_mask(state, 0xA0, 0x07, 0x04);	/* min + max PWM */	stv0297_writereg(state, 0x4a, 0x00);	stv0297_writereg(state, 0x4b, state->pwm);	msleep(200);	if (state->config->pll_init)		state->config->pll_init(fe);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/stv0297.c/clean/drivers/media/dvb/frontends/stv0297.c