/openbmc/linux/drivers/fpga/tests/ |
H A D | fpga-bridge-test.c | 103 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 D | fpga-region-test.c | 81 return fpga_bridge_get_to_list(bridge->dev.parent, region->info, ®ion->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 D | fpga-bridge.h | 74 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 D | fpga-region.h | 46 struct list_head bridge_list; member
|
/openbmc/linux/drivers/fpga/ |
H A D | fpga-bridge.c | 166 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 D | of-fpga-region.c | 98 ®ion->bridge_list); in of_fpga_region_get_bridges() 130 ®ion->bridge_list); in of_fpga_region_get_bridges() 135 fpga_bridges_put(®ion->bridge_list); in of_fpga_region_get_bridges() 329 fpga_bridges_disable(®ion->bridge_list); in of_fpga_region_notify_post_remove() 330 fpga_bridges_put(®ion->bridge_list); in of_fpga_region_notify_post_remove()
|
H A D | fpga-region.c | 127 ret = fpga_bridges_disable(®ion->bridge_list); in fpga_region_program_fpga() 139 ret = fpga_bridges_enable(®ion->bridge_list); in fpga_region_program_fpga() 152 fpga_bridges_put(®ion->bridge_list); in fpga_region_program_fpga() 221 INIT_LIST_HEAD(®ion->bridge_list); in __fpga_region_register_full()
|
H A D | dfl-fme-pr.c | 155 fpga_bridges_put(®ion->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 D | dfl-fme.h | 32 struct list_head bridge_list; member
|
H A D | dfl-fme-region.c | 27 return fpga_bridge_get_to_list(dev, region->info, ®ion->bridge_list); in fme_region_get_bridges()
|
/openbmc/linux/drivers/staging/vme_user/ |
H A D | vme.h | 109 struct list_head bridge_list; member
|
H A D | vme.c | 1826 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 D | drm_bridge.c | 199 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 D | acpiphp_glue.c | 44 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 D | prestera_switchdev.c | 31 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 D | fpga-region.rst | 70 (:c:expr:`fpga_region->bridge_list`) or it can have a function that creates
|