Searched refs:port_pdev (Results 1 – 3 of 3) sorted by relevance
25 struct platform_device *port_pdev; member31 struct platform_device *port_pdev; in fme_bridge_enable_set() local34 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 …]
1710 struct platform_device *port_pdev; in dfl_fpga_cdev_release_port() local1714 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_release_port()1716 if (!port_pdev) in dfl_fpga_cdev_release_port()1719 if (!device_is_registered(&port_pdev->dev)) { in dfl_fpga_cdev_release_port()1724 pdata = dev_get_platdata(&port_pdev->dev); in dfl_fpga_cdev_release_port()1732 platform_device_del(port_pdev); in dfl_fpga_cdev_release_port()1735 put_device(&port_pdev->dev); in dfl_fpga_cdev_release_port()1756 struct platform_device *port_pdev; in dfl_fpga_cdev_assign_port() local1760 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_assign_port()1762 if (!port_pdev) in dfl_fpga_cdev_assign_port()[all …]
652 struct pci_dev *port_pdev; in apple_pcie_get_port() local656 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()