Home
last modified time | relevance | path

Searched refs:port_pdev (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/fpga/
Ddfl-fme-br.c25 struct platform_device *port_pdev; member
31 struct platform_device *port_pdev; in fme_bridge_enable_set() local
34 if (!priv->port_pdev) { in fme_bridge_enable_set()
35 port_pdev = dfl_fpga_cdev_find_port(priv->pdata->cdev, in fme_bridge_enable_set()
38 if (!port_pdev) in fme_bridge_enable_set()
41 priv->port_pdev = port_pdev; in fme_bridge_enable_set()
44 if (priv->port_pdev && !priv->port_ops) { in fme_bridge_enable_set()
45 ops = dfl_fpga_port_ops_get(priv->port_pdev); in fme_bridge_enable_set()
52 return priv->port_ops->enable_set(priv->port_pdev, enable); in fme_bridge_enable_set()
88 if (priv->port_pdev) in fme_br_remove()
[all …]
Ddfl.c1567 struct platform_device *port_pdev; in dfl_fpga_cdev_release_port() local
1571 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_release_port()
1573 if (!port_pdev) in dfl_fpga_cdev_release_port()
1576 if (!device_is_registered(&port_pdev->dev)) { in dfl_fpga_cdev_release_port()
1581 pdata = dev_get_platdata(&port_pdev->dev); in dfl_fpga_cdev_release_port()
1589 platform_device_del(port_pdev); in dfl_fpga_cdev_release_port()
1592 put_device(&port_pdev->dev); in dfl_fpga_cdev_release_port()
1613 struct platform_device *port_pdev; in dfl_fpga_cdev_assign_port() local
1617 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_assign_port()
1619 if (!port_pdev) in dfl_fpga_cdev_assign_port()
[all …]
/linux-5.19.10/drivers/pci/controller/
Dpcie-apple.c652 struct pci_dev *port_pdev; in apple_pcie_get_port() local
656 port_pdev = pcie_find_root_port(pdev); in apple_pcie_get_port()
659 if (WARN_ON(!port_pdev) || pdev == port_pdev) in apple_pcie_get_port()
663 if (port->idx == PCI_SLOT(port_pdev->devfn)) in apple_pcie_get_port()