Home
last modified time | relevance | path

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

/linux-6.15/drivers/acpi/
H A Dplatform_profile.c551 struct device *ppdev; in platform_profile_register() local
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
667 struct device *ppdev; in devm_platform_profile_register() local
675 if (IS_ERR(ppdev)) { in devm_platform_profile_register()
677 return ppdev; in devm_platform_profile_register()
680 *dr = ppdev; in devm_platform_profile_register()
[all …]
/linux-6.15/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c468 struct platform_device *ppdev; in bcmgenet_mii_register() local
500 ppdev = platform_device_alloc(UNIMAC_MDIO_DRV_NAME, id); in bcmgenet_mii_register()
501 if (!ppdev) in bcmgenet_mii_register()
505 priv->mii_pdev = ppdev; in bcmgenet_mii_register()
506 ppdev->dev.parent = &pdev->dev; in bcmgenet_mii_register()
508 ppdev->dev.of_node = bcmgenet_mii_of_find_mdio(priv); in bcmgenet_mii_register()
514 ret = platform_device_add_resources(ppdev, &res, 1); in bcmgenet_mii_register()
518 ret = platform_device_add_data(ppdev, &ppd, sizeof(ppd)); in bcmgenet_mii_register()
522 ret = platform_device_add(ppdev); in bcmgenet_mii_register()
528 platform_device_put(ppdev); in bcmgenet_mii_register()
/linux-6.15/drivers/platform/x86/dell/
H A Ddell-pc.c255 struct device *ppdev; in thermal_init() local
273 ppdev = devm_platform_profile_register(&platform_device->dev, "dell-pc", in thermal_init()
275 if (IS_ERR(ppdev)) { in thermal_init()
276 ret = PTR_ERR(ppdev); in thermal_init()
H A Dalienware-wmi-wmax.c268 struct device *ppdev; member
704 priv->ppdev = devm_platform_profile_register(&wdev->dev, "alienware-wmi", in awcc_platform_profile_init()
707 return PTR_ERR_OR_ZERO(priv->ppdev); in awcc_platform_profile_init()
/linux-6.15/drivers/platform/x86/
H A Dinspur_platform_profile.c35 struct device *ppdev; member
193 priv->ppdev = devm_platform_profile_register(&wdev->dev, "inspur-wmi", priv, in inspur_wmi_probe()
196 return PTR_ERR_OR_ZERO(priv->ppdev); in inspur_wmi_probe()
H A Dideapad-laptop.c145 struct device *ppdev; /* platform profile device */ member
1054 platform_profile_notify(priv->dytc->ppdev); in dytc_profile_refresh()
1124 priv->dytc->ppdev = devm_platform_profile_register(&priv->platform_device->dev, in ideapad_dytc_profile_init()
1127 if (IS_ERR(priv->dytc->ppdev)) { in ideapad_dytc_profile_init()
1128 err = PTR_ERR(priv->dytc->ppdev); in ideapad_dytc_profile_init()
H A Dasus-wmi.c317 struct device *ppdev; member
3786 platform_profile_notify(asus->ppdev); in throttle_thermal_policy_store()
3888 asus->ppdev = devm_platform_profile_register(dev, "asus-wmi", asus, in platform_profile_setup()
3890 if (IS_ERR(asus->ppdev)) { in platform_profile_setup()
3892 return PTR_ERR(asus->ppdev); in platform_profile_setup()
/linux-6.15/drivers/platform/surface/
H A Dsurface_platform_profile.c43 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-6.15/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-6.15/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.h344 struct device *ppdev; /* platform profile class device */ member
/linux-6.15/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c688 struct platform_device **ppdev) in etnaviv_create_platform_device() argument
703 *ppdev = pdev; in etnaviv_create_platform_device()
708 static void etnaviv_destroy_platform_device(struct platform_device **ppdev) in etnaviv_destroy_platform_device() argument
710 struct platform_device *pdev = *ppdev; in etnaviv_destroy_platform_device()
717 *ppdev = NULL; in etnaviv_destroy_platform_device()
/linux-6.15/drivers/pci/
H A Dof.c466 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-6.15/drivers/soc/ti/
H A Dpruss.c60 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-6.15/drivers/char/
H A DMakefile27 obj-$(CONFIG_PPDEV) += ppdev.o
H A DKconfig92 module will be called ppdev.
/linux-6.15/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c1003 struct pcan_usb_fd_device *ppdev = in pcan_usb_fd_init() local
1007 pdev->usb_if = ppdev->usb_if; in pcan_usb_fd_init()
1008 pdev->cmd_buffer_addr = ppdev->cmd_buffer_addr; in pcan_usb_fd_init()
1011 dev->can.ctrlmode = ppdev->dev.can.ctrlmode; in pcan_usb_fd_init()
1012 dev->can.ctrlmode_supported = ppdev->dev.can.ctrlmode_supported; in pcan_usb_fd_init()
/linux-6.15/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c2724 struct platform_device *ppdev; in mv643xx_eth_shared_of_add_port() local
2777 ppdev = platform_device_alloc(MV643XX_ETH_NAME, dev_num); in mv643xx_eth_shared_of_add_port()
2778 if (!ppdev) { in mv643xx_eth_shared_of_add_port()
2782 ppdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); in mv643xx_eth_shared_of_add_port()
2783 ppdev->dev.of_node = pnp; in mv643xx_eth_shared_of_add_port()
2785 ret = platform_device_add_resources(ppdev, &res, 1); in mv643xx_eth_shared_of_add_port()
2789 ret = platform_device_add_data(ppdev, &ppd, sizeof(ppd)); in mv643xx_eth_shared_of_add_port()
2793 ret = platform_device_add(ppdev); in mv643xx_eth_shared_of_add_port()
2797 port_platdev[dev_num] = ppdev; in mv643xx_eth_shared_of_add_port()
2802 platform_device_put(ppdev); in mv643xx_eth_shared_of_add_port()
/linux-6.15/drivers/xen/xen-pciback/
H A Dpci_stub.c137 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-6.15/drivers/remoteproc/
H A Dpru_rproc.c992 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-6.15/arch/powerpc/kernel/
H A Diommu.c995 struct pci_dev **ppdev = data; in dev_has_iommu_table() local
1001 *ppdev = pdev; in dev_has_iommu_table()
/linux-6.15/Documentation/userspace-api/ioctl/
H A Dioctl-number.rst285 'p' 80-9F linux/ppdev.h user-space parport
/linux-6.15/
H A DCREDITS271 D: Various parport/ppdev hacks and fixes
H A DMAINTAINERS18504 F: drivers/char/ppdev.c
18507 F: include/uapi/linux/ppdev.h