val[5] = (u8) (symcalc >> 12); val[6] = (u8) (symcalc >> 4); val[7] = (u8) (symcalc << 4);
state->tx_tuna[5] = (u8) (symcalc >> 12); state->tx_tuna[6] = (u8) (symcalc >> 4); state->tx_tuna[7] = (u8) (symcalc << 4);
static int dst_set_symbolrate(struct dst_state* state, u32 srate){	u8 *val;	u32 symcalc;	u64 sval;	state->symbol_rate = srate;	if (state->dst_type == DST_TYPE_IS_TERR) {		return 0;	}	if (debug > 4)		dprintk("%s: set symrate %u\n", __FUNCTION__, srate);	srate /= 1000;	val = &state->tx_tuna[0];	if (state->type_flags & DST_TYPE_HAS_SYMDIV) {		sval = srate;		sval <<= 20;		do_div(sval, 88000);		symcalc = (u32) sval;		if (debug > 4)			dprintk("%s: set symcalc %u\n", __FUNCTION__, symcalc);		val[5] = (u8) (symcalc >> 12);		val[6] = (u8) (symcalc >> 4);		val[7] = (u8) (symcalc << 4);	} else {		val[5] = (u8) (srate >> 16) & 0x7f;		val[6] = (u8) (srate >> 8);		val[7] = (u8) srate;	}	val[8] &= ~0x20;	if (srate > 8000)		val[8] |= 0x20;	return 0;}