struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv; 
struct stv0299_state* state = fe->demodulator_priv; 
static int stv0299_send_diseqc_msg (struct dvb_frontend* fe,				    struct dvb_diseqc_master_cmd *m){        struct stv0299_state* state = (struct stv0299_state*) fe->demodulator_priv;	u8 val;	int i;	dprintk ("%s\n", __FUNCTION__);	if (stv0299_wait_diseqc_idle (state, 100) < 0)		return -ETIMEDOUT;	val = stv0299_readreg (state, 0x08);	if (stv0299_writeregI (state, 0x08, (val & ~0x7) | 0x6))  /* DiSEqC mode */		return -EREMOTEIO;	for (i=0; i<m->msg_len; i++) {		if (stv0299_wait_diseqc_fifo (state, 100) < 0)			return -ETIMEDOUT;		if (stv0299_writeregI (state, 0x09, m->msg[i]))			return -EREMOTEIO;	}	if (stv0299_wait_diseqc_idle (state, 100) < 0)		return -ETIMEDOUT;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b8742700f13163ffa00cddce2a3c940b9ab2ab5a/stv0299.c/clean/drivers/media/dvb/frontends/stv0299.c