Lines Matching refs:port_pdev
25 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()
89 put_device(&priv->port_pdev->dev); in fme_br_remove()