Home
last modified time | relevance | path

Searched refs:ppdev (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/acpi/
H A Dplatform_profile.c554 struct device *ppdev; in platform_profile_register() local
601 ppdev = &no_free_ptr(pprof)->dev; in platform_profile_register()
602 err = device_register(ppdev); in platform_profile_register()
604 put_device(ppdev); in platform_profile_register()
614 return ppdev; in platform_profile_register()
617 device_unregister(ppdev); in platform_profile_register()
651 struct device **ppdev = res; in devm_platform_profile_release() local
653 platform_profile_remove(*ppdev); in devm_platform_profile_release()
669 struct device *ppdev; in devm_platform_profile_register() local
676 ppdev = platform_profile_register(dev, name, drvdata, ops); in devm_platform_profile_register()
[all …]
/linux/drivers/platform/x86/lenovo/
H A Dwmi-gamezone.c39 struct device *ppdev; member
105 platform_profile_notify(priv->ppdev); in lwmi_gz_event_call()
367 priv->ppdev = devm_platform_profile_register(&wdev->dev, "lenovo-wmi-gamezone", in lwmi_gz_probe()
369 if (IS_ERR(priv->ppdev)) in lwmi_gz_probe()
H A Dideapad-laptop.c163 struct device *ppdev; /* platform profile device */ member
1114 platform_profile_notify(priv->dytc->ppdev); in dytc_profile_refresh()
1184 priv->dytc->ppdev = devm_platform_profile_register(&priv->platform_device->dev, in ideapad_dytc_profile_init()
1187 if (IS_ERR(priv->dytc->ppdev)) { in ideapad_dytc_profile_init()
1188 err = PTR_ERR(priv->dytc->ppdev); in ideapad_dytc_profile_init()
/linux/drivers/platform/x86/dell/
H A Ddell-pc.c260 struct device *ppdev; in dell_pc_faux_probe() local
270 ppdev = devm_platform_profile_register(&fdev->dev, "dell-pc", NULL, in dell_pc_faux_probe()
273 return PTR_ERR_OR_ZERO(ppdev); in dell_pc_faux_probe()
H A Dalienware-wmi-wmax.c353 struct device *ppdev; member
1367 priv->ppdev = devm_platform_profile_register(&wdev->dev, "alienware-wmi", in awcc_platform_profile_init()
1370 return PTR_ERR_OR_ZERO(priv->ppdev); in awcc_platform_profile_init()
/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_soc_slider.c263 struct device *ppdev; in proc_thermal_soc_power_slider_add() local
267 ppdev = devm_platform_profile_register(&pdev->dev, "SoC Power Slider", proc_priv, in proc_thermal_soc_power_slider_add()
270 return PTR_ERR_OR_ZERO(ppdev); in proc_thermal_soc_power_slider_add()
/linux/drivers/pinctrl/
H A Dpinctrl-falcon.c436 struct platform_device *ppdev; in pinctrl_falcon_probe() local
448 ppdev = of_find_device_by_node(np); in pinctrl_falcon_probe()
449 if (!ppdev) { in pinctrl_falcon_probe()
454 falcon_info.clk[*bank] = clk_get(&ppdev->dev, NULL); in pinctrl_falcon_probe()
455 put_device(&ppdev->dev); in pinctrl_falcon_probe()
457 dev_err(&ppdev->dev, "failed to get clock\n"); in pinctrl_falcon_probe()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c692 struct platform_device **ppdev) in etnaviv_create_platform_device() argument
707 *ppdev = pdev; in etnaviv_create_platform_device()
712 static void etnaviv_destroy_platform_device(struct platform_device **ppdev) in etnaviv_destroy_platform_device() argument
714 struct platform_device *pdev = *ppdev; in etnaviv_destroy_platform_device()
721 *ppdev = NULL; in etnaviv_destroy_platform_device()
/linux/drivers/platform/x86/amd/pmf/
H A Dsps.c437 dev->ppdev = devm_platform_profile_register(dev->dev, "amd-pmf", dev, in amd_pmf_init_sps()
439 if (IS_ERR(dev->ppdev)) in amd_pmf_init_sps()
441 PTR_ERR(dev->ppdev)); in amd_pmf_init_sps()
443 return PTR_ERR_OR_ZERO(dev->ppdev); in amd_pmf_init_sps()
H A Dpmf.h630 struct device *ppdev; /* platform profile class device */ member
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c1043 struct pcan_usb_fd_device *ppdev = in pcan_usb_fd_init() local
1047 pdev->usb_if = ppdev->usb_if; in pcan_usb_fd_init()
1048 pdev->cmd_buffer_addr = ppdev->cmd_buffer_addr; in pcan_usb_fd_init()
1051 dev->can.ctrlmode = ppdev->dev.can.ctrlmode; in pcan_usb_fd_init()
1052 dev->can.ctrlmode_supported = ppdev->dev.can.ctrlmode_supported; in pcan_usb_fd_init()
/linux/drivers/cpufreq/
H A Damd-pstate.c1269 if (cpudata->ppdev) { in amd_pstate_clear_dynamic_epp()
1270 platform_profile_remove(cpudata->ppdev); in amd_pstate_clear_dynamic_epp()
1271 cpudata->ppdev = NULL; in amd_pstate_clear_dynamic_epp()
1298 cpudata->ppdev = platform_profile_register(get_cpu_device(policy->cpu), in amd_pstate_set_dynamic_epp()
1302 if (IS_ERR(cpudata->ppdev)) { in amd_pstate_set_dynamic_epp()
1303 ret = PTR_ERR(cpudata->ppdev); in amd_pstate_set_dynamic_epp()
/linux/tools/testing/cxl/test/
H A Dcxl.c1689 struct platform_device **ppdev) in cxl_mock_platform_device_add() argument
1693 if (ppdev) in cxl_mock_platform_device_add()
1694 *ppdev = pdev; in cxl_mock_platform_device_add()
1698 if (ppdev) in cxl_mock_platform_device_add()
1699 *ppdev = NULL; in cxl_mock_platform_device_add()
/linux/arch/powerpc/kernel/
H A Diommu.c997 struct pci_dev **ppdev = data; in dev_has_iommu_table() local
1003 *ppdev = pdev; in dev_has_iommu_table()
/linux/drivers/platform/x86/
H A Dasus-wmi.c322 struct device *ppdev; member
4190 platform_profile_notify(asus->ppdev); in throttle_thermal_policy_store()
4293 asus->ppdev = devm_platform_profile_register(dev, "asus-wmi", asus, in platform_profile_setup()
4295 if (IS_ERR(asus->ppdev)) { in platform_profile_setup()
4297 return PTR_ERR(asus->ppdev); in platform_profile_setup()
/linux/Documentation/userspace-api/ioctl/
H A Dioctl-number.rst285 'p' 80-9F linux/ppdev.h user-space parport
/linux/
H A DCREDITS273 D: Various parport/ppdev hacks and fixes
H A DMAINTAINERS20713 F: drivers/char/ppdev.c
20716 F: include/uapi/linux/ppdev.h