topstar            46 drivers/platform/x86/topstar-laptop.c 	struct topstar_laptop *topstar = container_of(led,
topstar            63 drivers/platform/x86/topstar-laptop.c 	status = acpi_evaluate_integer(topstar->device->handle,
topstar            76 drivers/platform/x86/topstar-laptop.c 		status = acpi_execute_simple_method(topstar->device->handle,
topstar            85 drivers/platform/x86/topstar-laptop.c static int topstar_led_init(struct topstar_laptop *topstar)
topstar            87 drivers/platform/x86/topstar-laptop.c 	topstar->led = (struct led_classdev) {
topstar            94 drivers/platform/x86/topstar-laptop.c 	return led_classdev_register(&topstar->platform->dev, &topstar->led);
topstar            97 drivers/platform/x86/topstar-laptop.c static void topstar_led_exit(struct topstar_laptop *topstar)
topstar            99 drivers/platform/x86/topstar-laptop.c 	led_classdev_unregister(&topstar->led);
topstar           136 drivers/platform/x86/topstar-laptop.c static void topstar_input_notify(struct topstar_laptop *topstar, int event)
topstar           138 drivers/platform/x86/topstar-laptop.c 	if (!sparse_keymap_report_event(topstar->input, event, 1, true))
topstar           142 drivers/platform/x86/topstar-laptop.c static int topstar_input_init(struct topstar_laptop *topstar)
topstar           154 drivers/platform/x86/topstar-laptop.c 	input->dev.parent = &topstar->platform->dev;
topstar           168 drivers/platform/x86/topstar-laptop.c 	topstar->input = input;
topstar           176 drivers/platform/x86/topstar-laptop.c static void topstar_input_exit(struct topstar_laptop *topstar)
topstar           178 drivers/platform/x86/topstar-laptop.c 	input_unregister_device(topstar->input);
topstar           191 drivers/platform/x86/topstar-laptop.c static int topstar_platform_init(struct topstar_laptop *topstar)
topstar           195 drivers/platform/x86/topstar-laptop.c 	topstar->platform = platform_device_alloc(TOPSTAR_LAPTOP_CLASS, -1);
topstar           196 drivers/platform/x86/topstar-laptop.c 	if (!topstar->platform)
topstar           199 drivers/platform/x86/topstar-laptop.c 	platform_set_drvdata(topstar->platform, topstar);
topstar           201 drivers/platform/x86/topstar-laptop.c 	err = platform_device_add(topstar->platform);
topstar           208 drivers/platform/x86/topstar-laptop.c 	platform_device_put(topstar->platform);
topstar           212 drivers/platform/x86/topstar-laptop.c static void topstar_platform_exit(struct topstar_laptop *topstar)
topstar           214 drivers/platform/x86/topstar-laptop.c 	platform_device_unregister(topstar->platform);
topstar           237 drivers/platform/x86/topstar-laptop.c 	struct topstar_laptop *topstar = acpi_driver_data(device);
topstar           251 drivers/platform/x86/topstar-laptop.c 	topstar_input_notify(topstar, event);
topstar           254 drivers/platform/x86/topstar-laptop.c static int topstar_acpi_init(struct topstar_laptop *topstar)
topstar           256 drivers/platform/x86/topstar-laptop.c 	return topstar_acpi_fncx_switch(topstar->device, true);
topstar           259 drivers/platform/x86/topstar-laptop.c static void topstar_acpi_exit(struct topstar_laptop *topstar)
topstar           261 drivers/platform/x86/topstar-laptop.c 	topstar_acpi_fncx_switch(topstar->device, false);
topstar           290 drivers/platform/x86/topstar-laptop.c 	struct topstar_laptop *topstar;
topstar           295 drivers/platform/x86/topstar-laptop.c 	topstar = kzalloc(sizeof(struct topstar_laptop), GFP_KERNEL);
topstar           296 drivers/platform/x86/topstar-laptop.c 	if (!topstar)
topstar           301 drivers/platform/x86/topstar-laptop.c 	device->driver_data = topstar;
topstar           302 drivers/platform/x86/topstar-laptop.c 	topstar->device = device;
topstar           304 drivers/platform/x86/topstar-laptop.c 	err = topstar_acpi_init(topstar);
topstar           308 drivers/platform/x86/topstar-laptop.c 	err = topstar_platform_init(topstar);
topstar           312 drivers/platform/x86/topstar-laptop.c 	err = topstar_input_init(topstar);
topstar           317 drivers/platform/x86/topstar-laptop.c 		err = topstar_led_init(topstar);
topstar           325 drivers/platform/x86/topstar-laptop.c 	topstar_input_exit(topstar);
topstar           327 drivers/platform/x86/topstar-laptop.c 	topstar_platform_exit(topstar);
topstar           329 drivers/platform/x86/topstar-laptop.c 	topstar_acpi_exit(topstar);
topstar           331 drivers/platform/x86/topstar-laptop.c 	kfree(topstar);
topstar           337 drivers/platform/x86/topstar-laptop.c 	struct topstar_laptop *topstar = acpi_driver_data(device);
topstar           340 drivers/platform/x86/topstar-laptop.c 		topstar_led_exit(topstar);
topstar           342 drivers/platform/x86/topstar-laptop.c 	topstar_input_exit(topstar);
topstar           343 drivers/platform/x86/topstar-laptop.c 	topstar_platform_exit(topstar);
topstar           344 drivers/platform/x86/topstar-laptop.c 	topstar_acpi_exit(topstar);
topstar           346 drivers/platform/x86/topstar-laptop.c 	kfree(topstar);