Lines Matching full:region
3 * FPGA Region Driver for FPGA Management Engine (FME)
18 #include <linux/fpga/fpga-region.h>
22 static int fme_region_get_bridges(struct fpga_region *region) in fme_region_get_bridges() argument
24 struct dfl_fme_region_pdata *pdata = region->priv; in fme_region_get_bridges()
27 return fpga_bridge_get_to_list(dev, region->info, ®ion->bridge_list); in fme_region_get_bridges()
35 struct fpga_region *region; in fme_region_probe() local
47 region = fpga_region_register_full(dev, &info); in fme_region_probe()
48 if (IS_ERR(region)) { in fme_region_probe()
49 ret = PTR_ERR(region); in fme_region_probe()
53 platform_set_drvdata(pdev, region); in fme_region_probe()
55 dev_dbg(dev, "DFL FME FPGA Region probed\n"); in fme_region_probe()
66 struct fpga_region *region = platform_get_drvdata(pdev); in fme_region_remove() local
67 struct fpga_manager *mgr = region->mgr; in fme_region_remove()
69 fpga_region_unregister(region); in fme_region_remove()
83 MODULE_DESCRIPTION("FPGA Region for DFL FPGA Management Engine");
86 MODULE_ALIAS("platform:dfl-fme-region");