i2c_selectreadbytes(state, PACKET_ERR_COUNTER1, buf, sizeof(buf)); 
switch (state->config->demod_chip) { case LGDT3302: err = i2c_read_demod_bytes(state, LGDT3302_PACKET_ERR_COUNTER1, buf, sizeof(buf)); break; case LGDT3303: err = i2c_read_demod_bytes(state, LGDT3303_PACKET_ERR_COUNTER1, buf, sizeof(buf)); break; default: printk(KERN_WARNING "Only LGDT3302 and LGDT3303 are supported chips.\n"); err = -ENODEV; } 
static int lgdt330x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks){	struct lgdt330x_state* state = (struct lgdt330x_state*) fe->demodulator_priv;	u8 buf[2];	i2c_selectreadbytes(state, PACKET_ERR_COUNTER1, buf, sizeof(buf));	*ucblocks = (buf[0] << 8) | buf[1];	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1963c907b21e140082d081b1c8f8c2154593c7d7/lgdt330x.c/clean/drivers/media/dvb/frontends/lgdt330x.c