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 …]
1567 struct platform_device *port_pdev; in dfl_fpga_cdev_release_port() local1571 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() local1617 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 …]
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()