Home
last modified time | relevance | path

Searched refs:pf_device (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/x86/
A Dlg-laptop.c64 static struct platform_device *pf_device; variable
640 if (pf_device) in acpi_add()
647 pf_device = platform_device_register_simple(PLATFORM_NAME, in acpi_add()
650 if (IS_ERR(pf_device)) { in acpi_add()
651 ret = PTR_ERR(pf_device); in acpi_add()
652 pf_device = NULL; in acpi_add()
710 led_classdev_register(&pf_device->dev, &kbd_backlight); in acpi_add()
711 led_classdev_register(&pf_device->dev, &tpad_led); in acpi_add()
718 platform_device_unregister(pf_device); in acpi_add()
732 platform_device_unregister(pf_device); in acpi_remove()
[all …]
A Dfujitsu-laptop.c130 struct platform_device *pf_device; member
546 priv->pf_device = platform_device_alloc("fujitsu-laptop", -1); in fujitsu_laptop_platform_add()
547 if (!priv->pf_device) in fujitsu_laptop_platform_add()
550 platform_set_drvdata(priv->pf_device, priv); in fujitsu_laptop_platform_add()
552 ret = platform_device_add(priv->pf_device); in fujitsu_laptop_platform_add()
556 ret = sysfs_create_group(&priv->pf_device->dev.kobj, in fujitsu_laptop_platform_add()
564 platform_device_del(priv->pf_device); in fujitsu_laptop_platform_add()
566 platform_device_put(priv->pf_device); in fujitsu_laptop_platform_add()
575 sysfs_remove_group(&priv->pf_device->dev.kobj, in fujitsu_laptop_platform_remove()
577 platform_device_unregister(priv->pf_device); in fujitsu_laptop_platform_remove()
A Dsony-laptop.c1294 struct platform_device *pf_device) in sony_nc_function_setup() argument
1324 result = sony_nc_touchpad_setup(pf_device, handle); in sony_nc_function_setup()
1339 result = sony_nc_lid_resume_setup(pf_device, handle); in sony_nc_function_setup()
1345 result = sony_nc_thermal_setup(pf_device); in sony_nc_function_setup()
1353 result = sony_nc_gfx_switch_setup(pf_device, handle); in sony_nc_function_setup()
1359 result = sony_nc_highspeed_charging_setup(pf_device); in sony_nc_function_setup()
1383 result = sony_nc_lowbatt_setup(pf_device); in sony_nc_function_setup()
1389 result = sony_nc_fanspeed_setup(pf_device); in sony_nc_function_setup()
1395 result = sony_nc_usb_charge_setup(pf_device); in sony_nc_function_setup()
1401 result = sony_nc_panelid_setup(pf_device); in sony_nc_function_setup()
[all …]

Completed in 17 milliseconds