Lines Matching refs:tpacpi_pdev

926 static struct platform_device *tpacpi_pdev;  variable
1261 &tpacpi_pdev->dev, in tpacpi_new_rfkill()
2972 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, in hotkey_radio_sw_notify_change()
2994 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, in hotkey_tablet_mode_notify_change()
3010 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, in hotkey_wakeup_reason_notify_change()
3027 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, in hotkey_wakeup_hotunplug_complete_notify_change()
3158 delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj); in hotkey_exit()
3575 &tpacpi_pdev->dev.kobj, in hotkey_init()
3642 &tpacpi_pdev->dev.kobj); in hotkey_init()
3741 delete_attr_set(hotkey_dev_attributes, &tpacpi_pdev->dev.kobj); in hotkey_init()
3742 sysfs_remove_group(&tpacpi_pdev->dev.kobj, in hotkey_init()
4476 sysfs_remove_group(&tpacpi_pdev->dev.kobj, in bluetooth_exit()
4597 res = sysfs_create_group(&tpacpi_pdev->dev.kobj, in bluetooth_init()
4733 sysfs_remove_group(&tpacpi_pdev->dev.kobj, in wan_exit()
4784 res = sysfs_create_group(&tpacpi_pdev->dev.kobj, in wan_init()
5421 rc = led_classdev_register(&tpacpi_pdev->dev, in kbdlight_init()
5607 rc = led_classdev_register(&tpacpi_pdev->dev, in light_init()
5707 res = device_create_file(&tpacpi_pdev->dev, &dev_attr_cmos_command); in cmos_init()
5716 device_remove_file(&tpacpi_pdev->dev, &dev_attr_cmos_command); in cmos_exit()
5964 return led_classdev_register(&tpacpi_pdev->dev, &tpacpi_leds[led].led_classdev); in tpacpi_init_led()
7604 rc = snd_card_new(&tpacpi_pdev->dev, in volume_create_alsa_mixer()
9292 err = led_classdev_register(&tpacpi_pdev->dev, &mute_led_cdev[i]); in mute_led_init()
9852 sysfs_notify(&tpacpi_pdev->dev.kobj, NULL, "dytc_lapmode"); in dytc_lapmode_notify_change()
9926 err = sysfs_create_group(&tpacpi_pdev->dev.kobj, &dytc_attr_group); in tpacpi_dytc_init()
9932 sysfs_remove_group(&tpacpi_pdev->dev.kobj, &dytc_attr_group); in dytc_exit()
10579 if (tpacpi_pdev) in thinkpad_acpi_module_exit()
10580 platform_device_unregister(tpacpi_pdev); in thinkpad_acpi_module_exit()
10678 tpacpi_pdev = platform_device_register_simple(TPACPI_DRVR_NAME, -1, in thinkpad_acpi_module_init()
10680 if (IS_ERR(tpacpi_pdev)) { in thinkpad_acpi_module_init()
10681 ret = PTR_ERR(tpacpi_pdev); in thinkpad_acpi_module_init()
10682 tpacpi_pdev = NULL; in thinkpad_acpi_module_init()
10721 tpacpi_inputdev->dev.parent = &tpacpi_pdev->dev; in thinkpad_acpi_module_init()