Lines Matching +full:buffer +full:- +full:enable
1 In-kernel API for FPGA Programming
5 --------
7 The in-kernel API for FPGA programming is a combination of APIs from
18 * program the FPGA using info passed in :c:member:`fpga_region->info`.
19 * re-enable the bridges
27 -------------------------------------
34 #include <linux/fpga/fpga-mgr.h>
35 #include <linux/fpga/fpga-region.h>
46 return -ENOMEM;
49 info->flags = FPGA_MGR_PARTIAL_RECONFIG;
52 * Indicate where the FPGA image is. This is pseudo-code; you're
57 info->sgt = [your scatter gather table]
59 } else if (image is in a buffer) {
61 info->buf = [your image buffer]
62 info->count = [image buffer size]
66 info->firmware_name = devm_kstrdup(dev, firmware_name,
72 region->info = info;
76 region->info = NULL;
85 ---------------------------
92 .. kernel-doc:: drivers/fpga/fpga-region.c
97 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
100 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
103 .. kernel-doc:: drivers/fpga/fpga-mgr.c
106 .. kernel-doc:: drivers/fpga/fpga-mgr.c