Home
last modified time | relevance | path

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

/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.c1082 struct platform_device *port_pdev; in dfl_fpga_cdev_release_port() local
1086 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_release_port()
1088 if (!port_pdev) in dfl_fpga_cdev_release_port()
1091 if (!device_is_registered(&port_pdev->dev)) { in dfl_fpga_cdev_release_port()
1096 ret = dfl_feature_dev_use_begin(dev_get_platdata(&port_pdev->dev)); in dfl_fpga_cdev_release_port()
1100 platform_device_del(port_pdev); in dfl_fpga_cdev_release_port()
1103 put_device(&port_pdev->dev); in dfl_fpga_cdev_release_port()
1123 struct platform_device *port_pdev; in dfl_fpga_cdev_assign_port() local
1127 port_pdev = __dfl_fpga_cdev_find_port(cdev, &port_id, in dfl_fpga_cdev_assign_port()
1129 if (!port_pdev) in dfl_fpga_cdev_assign_port()
[all …]