atkbd->dev.name = atkbd->name; atkbd->dev.phys = atkbd->phys; atkbd->dev.id.bustype = BUS_I8042; atkbd->dev.id.vendor = 0x0001; atkbd->dev.id.product = atkbd->translated ? 1 : atkbd->set; atkbd->dev.id.version = atkbd->id; atkbd->dev.event = atkbd_event; atkbd->dev.private = atkbd; atkbd->dev.dev = &atkbd->ps2dev.serio->dev; 
input_dev->name = atkbd->name; input_dev->phys = atkbd->phys; input_dev->id.bustype = BUS_I8042; input_dev->id.vendor = 0x0001; input_dev->id.product = atkbd->translated ? 1 : atkbd->set; input_dev->id.version = atkbd->id; input_dev->event = atkbd_event; input_dev->private = atkbd; input_dev->cdev.dev = &atkbd->ps2dev.serio->dev; 
static void atkbd_set_device_attrs(struct atkbd *atkbd){	int i;	memset(&atkbd->dev, 0, sizeof(struct input_dev));	init_input_dev(&atkbd->dev);	atkbd->dev.name = atkbd->name;	atkbd->dev.phys = atkbd->phys;	atkbd->dev.id.bustype = BUS_I8042;	atkbd->dev.id.vendor = 0x0001;	atkbd->dev.id.product = atkbd->translated ? 1 : atkbd->set;	atkbd->dev.id.version = atkbd->id;	atkbd->dev.event = atkbd_event;	atkbd->dev.private = atkbd;	atkbd->dev.dev = &atkbd->ps2dev.serio->dev;	atkbd->dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REP) | BIT(EV_MSC);	if (atkbd->write) {		atkbd->dev.evbit[0] |= BIT(EV_LED);		atkbd->dev.ledbit[0] = BIT(LED_NUML) | BIT(LED_CAPSL) | BIT(LED_SCROLLL);	}	if (atkbd->extra)		atkbd->dev.ledbit[0] |= BIT(LED_COMPOSE) | BIT(LED_SUSPEND) |					BIT(LED_SLEEP) | BIT(LED_MUTE) | BIT(LED_MISC);	if (!atkbd->softrepeat) {		atkbd->dev.rep[REP_DELAY] = 250;		atkbd->dev.rep[REP_PERIOD] = 33;	}	atkbd->dev.mscbit[0] = atkbd->softraw ? BIT(MSC_SCAN) : BIT(MSC_RAW) | BIT(MSC_SCAN);	if (atkbd->scroll) {		atkbd->dev.evbit[0] |= BIT(EV_REL);		atkbd->dev.relbit[0] = BIT(REL_WHEEL) | BIT(REL_HWHEEL);		set_bit(BTN_MIDDLE, atkbd->dev.keybit);	}	atkbd->dev.keycode = atkbd->keycode;	atkbd->dev.keycodesize = sizeof(unsigned char);	atkbd->dev.keycodemax = ARRAY_SIZE(atkbd_set2_keycode);	for (i = 0; i < 512; i++)		if (atkbd->keycode[i] && atkbd->keycode[i] < ATKBD_SPECIAL)			set_bit(atkbd->keycode[i], atkbd->dev.keybit);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c42f0c3dde8feb59fc87df45cadb847d5511c0a/atkbd.c/clean/drivers/input/keyboard/atkbd.c