buffer[0] = (div>>8) & 0x7f; buffer[1] = div      & 0xff; 
buffer[0] = (div>>8) & 0x7f; buffer[1] = div      & 0xff; 
static void default_set_radio_freq(struct i2c_client *c, unsigned int freq){	struct tunertype *tun;	struct tuner *t = i2c_get_clientdata(c);        unsigned char buffer[4];	unsigned div;	int rc;	tun = &tuners[t->type];	div = (20 * freq / 16000) + (int)(20*10.7); /* IF 10.7 MHz */	buffer[2] = (tun->config & ~TUNER_RATIO_MASK) | TUNER_RATIO_SELECT_50; /* 50 kHz step */	switch (t->type) {	case TUNER_TENA_9533_DI:	case TUNER_YMEC_TVF_5533MF:		tuner_dbg ("This tuner doesn't have FM. Most cards has a TEA5767 for FM\n");		return;	case TUNER_PHILIPS_FM1216ME_MK3:	case TUNER_PHILIPS_FM1236_MK3:	case TUNER_PHILIPS_FMD1216ME_MK3:		buffer[3] = 0x19;		break;	case TUNER_PHILIPS_FM1256_IH3:		div = (20 * freq) / 16000 + (int)(33.3 * 20);  /* IF 33.3 MHz */		buffer[3] = 0x19;		break;	case TUNER_LG_PAL_FM:		buffer[3] = 0xa5;		break;	case TUNER_MICROTUNE_4049FM5:		div = (20 * freq) / 16000 + (int)(33.3 * 20); /* IF 33.3 MHz */		buffer[3] = 0xa4;		break;	default:		buffer[3] = 0xa4;		break;	}        buffer[0] = (div>>8) & 0x7f;        buffer[1] = div      & 0xff;	tuner_dbg("radio 0x%02x 0x%02x 0x%02x 0x%02x\n",	       buffer[0],buffer[1],buffer[2],buffer[3]);        if (4 != (rc = i2c_master_send(c,buffer,4)))		tuner_warn("i2c i/o error: rc == %d (should be 4)\n",rc);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4ac97914c6c35f6bf132071c718e034d0846b9f5/tuner-simple.c/clean/drivers/media/video/tuner-simple.c