freq = freq / 1000; 
static int dst_set_freq(struct dst_state *state, u32 freq){	state->frequency = freq;	dprintk(verbose, DST_INFO, 1, "set Frequency %u", freq);	if (state->dst_type == DST_TYPE_IS_SAT) {		freq = freq / 1000;		if (freq < 950 || freq > 2150)			return -EINVAL;		state->tx_tuna[2] = (freq >> 8);		state->tx_tuna[3] = (u8) freq;		state->tx_tuna[4] = 0x01;		state->tx_tuna[8] &= ~0x04;		if (state->type_flags & DST_TYPE_HAS_OBS_REGS) {			if (freq < 1531)				state->tx_tuna[8] |= 0x04;		}	} else if (state->dst_type == DST_TYPE_IS_TERR) {		freq = freq / 1000;		if (freq < 137000 || freq > 858000)			return -EINVAL;		state->tx_tuna[2] = (freq >> 16) & 0xff;		state->tx_tuna[3] = (freq >> 8) & 0xff;		state->tx_tuna[4] = (u8) freq;	} else if (state->dst_type == DST_TYPE_IS_CABLE) {		state->tx_tuna[2] = (freq >> 16) & 0xff;		state->tx_tuna[3] = (freq >> 8) & 0xff;		state->tx_tuna[4] = (u8) freq;	} else		return -EINVAL;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/62867429d0d79e47e19ceedc3133efe74993932f/dst.c/buggy/drivers/media/dvb/bt8xx/dst.c