/linux/drivers/acpi/ |
H A D | platform_profile.c | 551 struct device *ppdev; in platform_profile_register() local 598 /* device_register() takes ownership of pprof/ppdev */ in platform_profile_register() 599 ppdev = &no_free_ptr(pprof)->dev; in platform_profile_register() 600 err = device_register(ppdev); in platform_profile_register() 602 put_device(ppdev); in platform_profile_register() 612 return ppdev; in platform_profile_register() 615 device_unregister(ppdev); in platform_profile_register() 649 struct device **ppdev = res; in devm_platform_profile_release() local 651 platform_profile_remove(*ppdev); in devm_platform_profile_release() 667 struct device *ppdev; in devm_platform_profile_register() local [all...] |
/linux/drivers/platform/x86/lenovo/ |
H A D | wmi-gamezone.c | 43 struct device *ppdev; member 109 platform_profile_notify(priv->ppdev); in lwmi_gz_event_call() 364 priv->ppdev = devm_platform_profile_register(&wdev->dev, "lenovo-wmi-gamezone", in lwmi_gz_probe() 366 if (IS_ERR(priv->ppdev)) in lwmi_gz_probe()
|
H A D | ideapad-laptop.c | 148 struct device *ppdev; /* platform profile device */ member 1081 platform_profile_notify(priv->dytc->ppdev); in dytc_profile_refresh() 1151 priv->dytc->ppdev = devm_platform_profile_register(&priv->platform_device->dev, in ideapad_dytc_profile_init() 1154 if (IS_ERR(priv->dytc->ppdev)) { in ideapad_dytc_profile_init() 1155 err = PTR_ERR(priv->dytc->ppdev); in ideapad_dytc_profile_init()
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-pc.c | 251 struct device *ppdev; in dell_pc_faux_probe() local 261 ppdev = devm_platform_profile_register(&fdev->dev, "dell-pc", NULL, in dell_pc_faux_probe() 264 return PTR_ERR_OR_ZERO(ppdev); in dell_pc_faux_probe()
|
H A D | alienware-wmi-wmax.c | 373 struct device *ppdev; member 1393 priv->ppdev = devm_platform_profile_register(&wdev->dev, "alienware-wmi", in awcc_platform_profile_init() 1396 return PTR_ERR_OR_ZERO(priv->ppdev); in awcc_platform_profile_init()
|
/linux/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 43 struct device *ppdev; member 233 tpd->ppdev = devm_platform_profile_register(&sdev->dev, "Surface Platform Profile", in surface_platform_profile_probe() 236 return PTR_ERR_OR_ZERO(tpd->ppdev); in surface_platform_profile_probe()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-falcon.c | 436 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/platform/x86/amd/pmf/ |
H A D | sps.c | 437 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 D | pmf.h | 344 struct device *ppdev; /* platform profile class device */ member
|
/linux/drivers/pci/ |
H A D | of.c | 466 struct pci_dev *ppdev; in of_irq_parse_pci() local 503 ppdev = pdev->bus->self; in of_irq_parse_pci() 506 if (ppdev == NULL) { in of_irq_parse_pci() 516 ppnode = pci_device_to_OF_node(ppdev); in of_irq_parse_pci() 542 pdev = ppdev; in of_irq_parse_pci()
|
/linux/drivers/soc/ti/ |
H A D | pruss.c | 60 struct platform_device *ppdev; in pruss_get() local 71 ppdev = to_platform_device(dev->parent->parent); in pruss_get() 72 pruss = platform_get_drvdata(ppdev); in pruss_get()
|
/linux/drivers/char/ |
H A D | Makefile | 27 obj-$(CONFIG_PPDEV) += ppdev.o
|
H A D | Kconfig | 92 module will be called ppdev.
|
/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 1004 struct pcan_usb_fd_device *ppdev = in pcan_usb_fd_init() local 1008 pdev->usb_if = ppdev->usb_if; in pcan_usb_fd_init() 1009 pdev->cmd_buffer_addr = ppdev->cmd_buffer_addr; in pcan_usb_fd_init() 1012 dev->can.ctrlmode = ppdev->dev.can.ctrlmode; in pcan_usb_fd_init() 1013 dev->can.ctrlmode_supported = ppdev->dev.can.ctrlmode_supported; in pcan_usb_fd_init()
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 2725 struct platform_device *ppdev; in mv643xx_eth_shared_of_add_port() local 2778 ppdev = platform_device_alloc(MV643XX_ETH_NAME, dev_num); in mv643xx_eth_shared_of_add_port() 2779 if (!ppdev) { in mv643xx_eth_shared_of_add_port() 2783 ppdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); in mv643xx_eth_shared_of_add_port() 2784 ppdev->dev.of_node = pnp; in mv643xx_eth_shared_of_add_port() 2786 ret = platform_device_add_resources(ppdev, &res, 1); in mv643xx_eth_shared_of_add_port() 2790 ret = platform_device_add_data(ppdev, &ppd, sizeof(ppd)); in mv643xx_eth_shared_of_add_port() 2794 ret = platform_device_add(ppdev); in mv643xx_eth_shared_of_add_port() 2798 port_platdev[dev_num] = ppdev; in mv643xx_eth_shared_of_add_port() 2803 platform_device_put(ppdev); in mv643xx_eth_shared_of_add_port() [all...] |
/linux/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 137 struct physdev_pci_device ppdev = { in pcistub_device_release() local 143 &ppdev); in pcistub_device_release() 429 struct physdev_pci_device ppdev = { in pcistub_init_device() local 435 err = HYPERVISOR_physdev_op(PHYSDEVOP_prepare_msix, &ppdev); in pcistub_init_device()
|
/linux/drivers/remoteproc/ |
H A D | pru_rproc.c | 992 struct platform_device *ppdev = to_platform_device(dev->parent); in pru_rproc_probe() local 1038 pru->pruss = platform_get_drvdata(ppdev); in pru_rproc_probe()
|
/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 996 struct pci_dev **ppdev = data; in dev_has_iommu_table() local 1002 *ppdev = pdev; in dev_has_iommu_table()
|
/linux/drivers/platform/x86/ |
H A D | asus-wmi.c | 318 struct device *ppdev; member 3828 platform_profile_notify(asus->ppdev); in throttle_thermal_policy_store() 3930 asus->ppdev = devm_platform_profile_register(dev, "asus-wmi", asus, in platform_profile_setup() 3932 if (IS_ERR(asus->ppdev)) { in platform_profile_setup() 3934 return PTR_ERR(asus->ppdev); in platform_profile_setup()
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | ioctl-number.rst | 287 'p' 80-9F linux/ppdev.h user-space parport
|
/linux/ |
H A D | CREDITS | 271 D: Various parport/ppdev hacks and fixes
|
H A D | MAINTAINERS | 19121 F: drivers/char/ppdev.c 19124 F: include/uapi/linux/ppdev.h
|