Lines Matching full:region
1 FPGA Region
7 This document is meant to be a brief overview of the FPGA region API usage. A
11 For the purposes of this API document, let's just say that a region associates
12 an FPGA Manager and a bridge (or bridges) with a reprogrammable region of an
13 FPGA or the whole FPGA. The API provides a way to register a region and to
14 program a region.
16 Currently the only layer above fpga-region.c in the kernel is the Device Tree
17 support (of-fpga-region.c) described in [#f1]_. The DT support layer uses regions
18 to program the FPGA and then DT to handle enumeration. The common region code
22 An fpga-region can be set up to know the following things:
37 How to program an FPGA using a region
54 Add info to region and do the programming::
56 region->info = info;
57 ret = fpga_region_program_fpga(region);
60 fpga_image_info (region->info). This function will attempt to:
62 * lock the region's mutex
63 * lock the region's FPGA manager
72 How to add a new FPGA region
77 .. [#f1] ../devicetree/bindings/fpga/fpga-region.txt
78 .. [#f2] ../../drivers/fpga/of-fpga-region.c
83 .. kernel-doc:: drivers/fpga/fpga-region.c
86 API to add a new FPGA region
89 .. kernel-doc:: include/linux/fpga/fpga-region.h
92 .. kernel-doc:: drivers/fpga/fpga-region.c
95 .. kernel-doc:: drivers/fpga/fpga-region.c
98 .. kernel-doc:: drivers/fpga/fpga-region.c
101 .. kernel-doc:: drivers/fpga/fpga-region.c