Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dfujitsu-laptop.c143 struct platform_device *pf_device; member
559 priv->pf_device = platform_device_alloc("fujitsu-laptop", -1); in fujitsu_laptop_platform_add()
560 if (!priv->pf_device) in fujitsu_laptop_platform_add()
563 platform_set_drvdata(priv->pf_device, priv); in fujitsu_laptop_platform_add()
565 ret = platform_device_add(priv->pf_device); in fujitsu_laptop_platform_add()
569 ret = sysfs_create_group(&priv->pf_device->dev.kobj, in fujitsu_laptop_platform_add()
577 platform_device_del(priv->pf_device); in fujitsu_laptop_platform_add()
579 platform_device_put(priv->pf_device); in fujitsu_laptop_platform_add()
588 sysfs_remove_group(&priv->pf_device->dev.kobj, in fujitsu_laptop_platform_remove()
590 platform_device_unregister(priv->pf_device); in fujitsu_laptop_platform_remove()
Dsony-laptop.c1315 struct platform_device *pf_device) in sony_nc_function_setup() argument
1345 result = sony_nc_touchpad_setup(pf_device, handle); in sony_nc_function_setup()
1353 result = sony_nc_battery_care_setup(pf_device, handle); in sony_nc_function_setup()
1360 result = sony_nc_lid_resume_setup(pf_device, handle); in sony_nc_function_setup()
1366 result = sony_nc_thermal_setup(pf_device); in sony_nc_function_setup()
1374 result = sony_nc_gfx_switch_setup(pf_device, handle); in sony_nc_function_setup()
1380 result = sony_nc_highspeed_charging_setup(pf_device); in sony_nc_function_setup()
1398 result = sony_nc_kbd_backlight_setup(pf_device, handle); in sony_nc_function_setup()
1404 result = sony_nc_lowbatt_setup(pf_device); in sony_nc_function_setup()
1410 result = sony_nc_fanspeed_setup(pf_device); in sony_nc_function_setup()
[all …]