Home
last modified time | relevance | path

Searched refs:bridge_list (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/fpga/tests/
H A Dfpga-bridge-test.c103 struct list_head bridge_list; in fpga_bridge_test_get_put_list() local
110 INIT_LIST_HEAD(&bridge_list); in fpga_bridge_test_get_put_list()
113 ret = fpga_bridge_get_to_list(&ctx_0->pdev->dev, NULL, &bridge_list); in fpga_bridge_test_get_put_list()
117 list_first_entry_or_null(&bridge_list, struct fpga_bridge, node)); in fpga_bridge_test_get_put_list()
120 ret = fpga_bridge_get_to_list(&ctx_1->pdev->dev, NULL, &bridge_list); in fpga_bridge_test_get_put_list()
124 list_first_entry_or_null(&bridge_list, struct fpga_bridge, node)); in fpga_bridge_test_get_put_list()
127 ret = fpga_bridges_disable(&bridge_list); in fpga_bridge_test_get_put_list()
133 ret = fpga_bridges_enable(&bridge_list); in fpga_bridge_test_get_put_list()
140 fpga_bridges_put(&bridge_list); in fpga_bridge_test_get_put_list()
142 KUNIT_EXPECT_TRUE(test, list_empty(&bridge_list)); in fpga_bridge_test_get_put_list()
H A Dfpga-region-test.c81 return fpga_bridge_get_to_list(bridge->dev.parent, region->info, &region->bridge_list); in fake_region_get_bridges()
124 fpga_bridges_put(&ctx->region->bridge_list); in fpga_region_test_program_fpga()
132 fpga_bridges_put(&ctx->region->bridge_list); in fpga_region_test_program_fpga()
/openbmc/linux/include/linux/fpga/
H A Dfpga-bridge.h74 int fpga_bridges_enable(struct list_head *bridge_list);
75 int fpga_bridges_disable(struct list_head *bridge_list);
76 void fpga_bridges_put(struct list_head *bridge_list);
79 struct list_head *bridge_list);
82 struct list_head *bridge_list);
H A Dfpga-region.h46 struct list_head bridge_list; member
/openbmc/linux/drivers/fpga/
H A Dfpga-bridge.c166 int fpga_bridges_enable(struct list_head *bridge_list) in fpga_bridges_enable() argument
171 list_for_each_entry(bridge, bridge_list, node) { in fpga_bridges_enable()
190 int fpga_bridges_disable(struct list_head *bridge_list) in fpga_bridges_disable() argument
195 list_for_each_entry(bridge, bridge_list, node) { in fpga_bridges_disable()
213 void fpga_bridges_put(struct list_head *bridge_list) in fpga_bridges_put() argument
218 list_for_each_entry_safe(bridge, next, bridge_list, node) { in fpga_bridges_put()
241 struct list_head *bridge_list) in of_fpga_bridge_get_to_list() argument
251 list_add(&bridge->node, bridge_list); in of_fpga_bridge_get_to_list()
271 struct list_head *bridge_list) in fpga_bridge_get_to_list() argument
281 list_add(&bridge->node, bridge_list); in fpga_bridge_get_to_list()
H A Dof-fpga-region.c98 &region->bridge_list); in of_fpga_region_get_bridges()
130 &region->bridge_list); in of_fpga_region_get_bridges()
135 fpga_bridges_put(&region->bridge_list); in of_fpga_region_get_bridges()
329 fpga_bridges_disable(&region->bridge_list); in of_fpga_region_notify_post_remove()
330 fpga_bridges_put(&region->bridge_list); in of_fpga_region_notify_post_remove()
H A Dfpga-region.c127 ret = fpga_bridges_disable(&region->bridge_list); in fpga_region_program_fpga()
139 ret = fpga_bridges_enable(&region->bridge_list); in fpga_region_program_fpga()
152 fpga_bridges_put(&region->bridge_list); in fpga_region_program_fpga()
221 INIT_LIST_HEAD(&region->bridge_list); in __fpga_region_register_full()
H A Ddfl-fme-pr.c155 fpga_bridges_put(&region->bridge_list); in fme_pr()
284 list_for_each_entry_safe(fbridge, tmp, &priv->bridge_list, node) { in dfl_fme_destroy_bridges()
389 INIT_LIST_HEAD(&priv->bridge_list); in pr_mgmt_init()
414 list_add(&fme_br->node, &priv->bridge_list); in pr_mgmt_init()
H A Ddfl-fme.h32 struct list_head bridge_list; member
H A Ddfl-fme-region.c27 return fpga_bridge_get_to_list(dev, region->info, &region->bridge_list); in fme_region_get_bridges()
/openbmc/linux/drivers/staging/vme_user/
H A Dvme.h109 struct list_head bridge_list; member
H A Dvme.c1826 list_for_each_entry_safe(vdev, tmp, &bridge->devices, bridge_list) { in vme_unregister_bridge()
1828 list_del(&vdev->bridge_list); in vme_unregister_bridge()
1868 list_add_tail(&vdev->bridge_list, &bridge->devices); in __vme_register_driver_bus()
1879 list_del(&vdev->bridge_list); in __vme_register_driver_bus()
1949 list_del(&dev->bridge_list); in vme_unregister_driver()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_bridge.c199 static LIST_HEAD(bridge_list);
211 list_add_tail(&bridge->list, &bridge_list); in drm_bridge_add()
1387 list_for_each_entry(bridge, &bridge_list, list) { in of_drm_find_bridge()
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp_glue.c44 static LIST_HEAD(bridge_list);
920 list_add(&bridge->list, &bridge_list); in acpiphp_enumerate_slots()
969 list_for_each_entry(bridge, &bridge_list, list) in acpiphp_remove_slots()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_switchdev.c31 struct list_head bridge_list; member
102 list_for_each_entry(bridge, &sw->swdev->bridge_list, head) in prestera_bridge_find()
470 list_add(&bridge->head, &swdev->bridge_list); in prestera_bridge_create()
503 list_for_each_entry(bridge, &swdev->bridge_list, head) in prestera_bridge_by_dev()
1883 INIT_LIST_HEAD(&swdev->bridge_list); in prestera_switchdev_init()
/openbmc/linux/Documentation/driver-api/fpga/
H A Dfpga-region.rst70 (:c:expr:`fpga_region->bridge_list`) or it can have a function that creates