Searched refs:ppdev (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/broadcom/genet/ |
D | bcmmii.c | 420 struct platform_device *ppdev; in bcmgenet_mii_register() local 448 ppdev = platform_device_alloc(UNIMAC_MDIO_DRV_NAME, id); in bcmgenet_mii_register() 449 if (!ppdev) in bcmgenet_mii_register() 453 priv->mii_pdev = ppdev; in bcmgenet_mii_register() 454 ppdev->dev.parent = &pdev->dev; in bcmgenet_mii_register() 456 ppdev->dev.of_node = bcmgenet_mii_of_find_mdio(priv); in bcmgenet_mii_register() 462 ret = platform_device_add_resources(ppdev, &res, 1); in bcmgenet_mii_register() 466 ret = platform_device_add_data(ppdev, &ppd, sizeof(ppd)); in bcmgenet_mii_register() 470 ret = platform_device_add(ppdev); in bcmgenet_mii_register() 476 platform_device_put(ppdev); in bcmgenet_mii_register()
|
/drivers/pci/ |
D | of.c | 417 struct pci_dev *ppdev; in of_irq_parse_pci() local 448 ppdev = pdev->bus->self; in of_irq_parse_pci() 451 if (ppdev == NULL) { in of_irq_parse_pci() 461 ppnode = pci_device_to_OF_node(ppdev); in of_irq_parse_pci() 484 pdev = ppdev; in of_irq_parse_pci()
|
/drivers/pinctrl/ |
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()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 919 struct pcan_usb_fd_device *ppdev = in pcan_usb_fd_init() local 923 pdev->usb_if = ppdev->usb_if; in pcan_usb_fd_init() 924 pdev->cmd_buffer_addr = ppdev->cmd_buffer_addr; in pcan_usb_fd_init() 927 dev->can.ctrlmode = ppdev->dev.can.ctrlmode; in pcan_usb_fd_init() 928 dev->can.ctrlmode_supported = ppdev->dev.can.ctrlmode_supported; in pcan_usb_fd_init()
|
/drivers/char/ |
D | Makefile | 29 obj-$(CONFIG_PPDEV) += ppdev.o
|
D | Kconfig | 90 module will be called ppdev.
|
/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 2701 struct platform_device *ppdev; in mv643xx_eth_shared_of_add_port() local 2753 ppdev = platform_device_alloc(MV643XX_ETH_NAME, dev_num); in mv643xx_eth_shared_of_add_port() 2754 if (!ppdev) in mv643xx_eth_shared_of_add_port() 2756 ppdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); in mv643xx_eth_shared_of_add_port() 2757 ppdev->dev.of_node = pnp; in mv643xx_eth_shared_of_add_port() 2759 ret = platform_device_add_resources(ppdev, &res, 1); in mv643xx_eth_shared_of_add_port() 2763 ret = platform_device_add_data(ppdev, &ppd, sizeof(ppd)); in mv643xx_eth_shared_of_add_port() 2767 ret = platform_device_add(ppdev); in mv643xx_eth_shared_of_add_port() 2771 port_platdev[dev_num] = ppdev; in mv643xx_eth_shared_of_add_port() 2776 platform_device_put(ppdev); in mv643xx_eth_shared_of_add_port()
|
/drivers/xen/xen-pciback/ |
D | pci_stub.c | 117 struct physdev_pci_device ppdev = { in pcistub_device_release() local 123 &ppdev); in pcistub_device_release() 404 struct physdev_pci_device ppdev = { in pcistub_init_device() local 410 err = HYPERVISOR_physdev_op(PHYSDEVOP_prepare_msix, &ppdev); in pcistub_init_device()
|