Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/fpga/tests/
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()
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()
/linux-6.6.21/include/linux/fpga/
Dfpga-bridge.h72 int fpga_bridges_enable(struct list_head *bridge_list);
73 int fpga_bridges_disable(struct list_head *bridge_list);
74 void fpga_bridges_put(struct list_head *bridge_list);
77 struct list_head *bridge_list);
80 struct list_head *bridge_list);
Dfpga-region.h45 struct list_head bridge_list; member
/linux-6.6.21/drivers/fpga/
Dfpga-bridge.c163 int fpga_bridges_enable(struct list_head *bridge_list) in fpga_bridges_enable() argument
168 list_for_each_entry(bridge, bridge_list, node) { in fpga_bridges_enable()
187 int fpga_bridges_disable(struct list_head *bridge_list) in fpga_bridges_disable() argument
192 list_for_each_entry(bridge, bridge_list, node) { in fpga_bridges_disable()
210 void fpga_bridges_put(struct list_head *bridge_list) in fpga_bridges_put() argument
215 list_for_each_entry_safe(bridge, next, bridge_list, node) { in fpga_bridges_put()
238 struct list_head *bridge_list) in of_fpga_bridge_get_to_list() argument
248 list_add(&bridge->node, bridge_list); in of_fpga_bridge_get_to_list()
268 struct list_head *bridge_list) in fpga_bridge_get_to_list() argument
278 list_add(&bridge->node, bridge_list); in fpga_bridge_get_to_list()
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()
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()
218 INIT_LIST_HEAD(&region->bridge_list); in fpga_region_register_full()
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()
Ddfl-fme.h32 struct list_head bridge_list; member
Ddfl-fme-region.c27 return fpga_bridge_get_to_list(dev, region->info, &region->bridge_list); in fme_region_get_bridges()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_bridge.c198 static LIST_HEAD(bridge_list);
210 list_add_tail(&bridge->list, &bridge_list); in drm_bridge_add()
1337 list_for_each_entry(bridge, &bridge_list, list) { in of_drm_find_bridge()
/linux-6.6.21/drivers/staging/vme_user/
Dvme.h109 struct list_head bridge_list; member
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()
/linux-6.6.21/drivers/pci/hotplug/
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()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
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()
/linux-6.6.21/Documentation/driver-api/fpga/
Dfpga-region.rst67 (:c:expr:`fpga_region->bridge_list`) or it can have a function that creates