struct input_dev *dev = &gf2k->dev; 
struct input_dev *dev = gf2k->dev; 
static void gf2k_read(struct gf2k *gf2k, unsigned char *data){	struct input_dev *dev = &gf2k->dev;	int i, t;	for (i = 0; i < 4 && i < gf2k_axes[gf2k->id]; i++)		input_report_abs(dev, gf2k_abs[i], GB(i<<3,8,0) | GB(i+46,1,8) | GB(i+50,1,9));	for (i = 0; i < 2 && i < gf2k_axes[gf2k->id] - 4; i++)		input_report_abs(dev, gf2k_abs[i], GB(i*9+60,8,0) | GB(i+54,1,9));	t = GB(40,4,0);	for (i = 0; i < gf2k_hats[gf2k->id]; i++)		input_report_abs(dev, ABS_HAT0X + i, gf2k_hat_to_axis[t][i]);	t = GB(44,2,0) | GB(32,8,2) | GB(78,2,10);	for (i = 0; i < gf2k_joys[gf2k->id]; i++)		input_report_key(dev, gf2k_btn_joy[i], (t >> i) & 1);	for (i = 0; i < gf2k_pads[gf2k->id]; i++)		input_report_key(dev, gf2k_btn_pad[i], (t >> i) & 1);	input_sync(dev);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/gf2k.c/buggy/drivers/input/joystick/gf2k.c