struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; 
static int philips_su1278_tt_pll_set(struct dvb_frontend *fe,				     struct dvb_frontend_parameters *params){	struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv;	u32 div;	u8 buf[4];	struct i2c_msg msg = {.addr = 0x60,.flags = 0,.buf = buf,.len = sizeof(buf) };	if ((params->frequency < 950000) || (params->frequency > 2150000))		return -EINVAL;	div = (params->frequency + (500 - 1)) / 500;	// round correctly	buf[0] = (div >> 8) & 0x7f;	buf[1] = div & 0xff;	buf[2] = 0x80 | ((div & 0x18000) >> 10) | 2;	buf[3] = 0x20;	if (params->u.qpsk.symbol_rate < 4000000)		buf[3] |= 1;	if (params->frequency < 1250000)		buf[3] |= 0;	else if (params->frequency < 1550000)		buf[3] |= 0x40;	else if (params->frequency < 2050000)		buf[3] |= 0x80;	else if (params->frequency < 2150000)		buf[3] |= 0xC0;	if (i2c_transfer(&budget_ci->budget.i2c_adap, &msg, 1) != 1)		return -EIO;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cfbfce1566f11c0dbad8a16173f0448b0c78cecb/budget-ci.c/clean/drivers/media/dvb/ttpci/budget-ci.c