msleep(8); 
stv0299_sleep_until (&nexttime, 8000); } if (debug_legacy_dish_switch) { printk ("%s(%d): switch delay (should be 32k followed by all 8k\n", __FUNCTION__, fe->dvb->num); for (i=1; i < 10; i++) printk ("%d: %d\n", i, stv0299_calc_usec_delay (tv[i-1] , tv[i])); 
static int stv0299_send_legacy_dish_cmd(struct dvb_frontend* fe, u32 cmd){	u8 last = 1;	int i;	/* reset voltage at the end	if((0x50 & stv0299_readreg (i2c, 0x0c)) == 0x50)		cmd |= 0x80;	else		cmd &= 0x7F;	*/	cmd = cmd << 1;	dprintk("%s switch command: 0x%04x\n",__FUNCTION__, cmd);	stv0299_set_voltage(fe,SEC_VOLTAGE_18);	msleep(32);	for (i=0; i<9; i++) {		if((cmd & 0x01) != last) {			stv0299_set_voltage(fe, last ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18);			last = (last) ? 0 : 1;		}		cmd = cmd >> 1;		if (i != 8)			msleep(8);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/591ad98db3be2cd596ac5e0cfba7b164c3bdfb52/stv0299.c/buggy/drivers/media/dvb/frontends/stv0299.c