struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv; 
struct stv0299_state* state = fe->demodulator_priv; 
static int stv0299_set_voltage (struct dvb_frontend* fe, fe_sec_voltage_t voltage){        struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv;	u8 reg0x08;	u8 reg0x0c;	dprintk("%s: %s\n", __FUNCTION__,		voltage == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" :		voltage == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??");	reg0x08 = stv0299_readreg (state, 0x08);	reg0x0c = stv0299_readreg (state, 0x0c);	/**	 *  H/V switching over OP0, OP1 and OP2 are LNB power enable bits	 */	reg0x0c &= 0x0f;	if (voltage == SEC_VOLTAGE_OFF) {		stv0299_writeregI (state, 0x0c, 0x00); /*	LNB power off! */		return stv0299_writeregI (state, 0x08, 0x00); /*	LNB power off! */	}	stv0299_writeregI (state, 0x08, (reg0x08 & 0x3f) | (state->config->lock_output << 6));	switch (voltage) {	case SEC_VOLTAGE_13:		if (state->config->volt13_op0_op1 == STV0299_VOLT13_OP0) reg0x0c |= 0x10;		else reg0x0c |= 0x40;		return stv0299_writeregI(state, 0x0c, reg0x0c);	case SEC_VOLTAGE_18:		return stv0299_writeregI(state, 0x0c, reg0x0c | 0x50);	default:		return -EINVAL;	};}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/stv0299.c/clean/drivers/media/dvb/frontends/stv0299.c