struct saa7127_state *state = (struct saa7127_state *)i2c_get_clientdata(client); 
struct saa7127_state *state = i2c_get_clientdata(client); 
static int saa7127_set_input_type(struct i2c_client *client, int input){	struct saa7127_state *state = (struct saa7127_state *)i2c_get_clientdata(client);	switch (input) {	case SAA7127_INPUT_TYPE_NORMAL:	/* avia */		saa7127_dbg("Selecting Normal Encoder Input\n");		state->reg_3a_cb = 0;		break;	case SAA7127_INPUT_TYPE_TEST_IMAGE:	/* color bar */		saa7127_dbg("Selecting Color Bar generator\n");		state->reg_3a_cb = 0x80;		break;	default:		return -EINVAL;	}	saa7127_write(client, 0x3a, state->reg_3a | state->reg_3a_cb);	state->input_type = input;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/419d4e753a5dbd6e19ad45cb4045ac213f15eac4/saa7127.c/clean/drivers/media/video/saa7127.c