Home
last modified time | relevance | path

Searched refs:fpga (Results 1 – 25 of 139) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpxa_cplds_irqs.c36 struct cplds *fpga = d; in cplds_irq_handler() local
41 pending = readl(fpga->base + FPGA_IRQ_SET_CLR) & fpga->irq_mask; in cplds_irq_handler()
43 generic_handle_irq(irq_find_mapping(fpga->irqdomain, in cplds_irq_handler()
53 struct cplds *fpga = irq_data_get_irq_chip_data(d); in cplds_irq_mask() local
57 fpga->irq_mask &= ~bit; in cplds_irq_mask()
58 writel(fpga->irq_mask, fpga->base + FPGA_IRQ_MASK_EN); in cplds_irq_mask()
63 struct cplds *fpga = irq_data_get_irq_chip_data(d); in cplds_irq_unmask() local
67 set = readl(fpga->base + FPGA_IRQ_SET_CLR); in cplds_irq_unmask()
68 writel(set & ~bit, fpga->base + FPGA_IRQ_SET_CLR); in cplds_irq_unmask()
70 fpga->irq_mask |= bit; in cplds_irq_unmask()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/fpga/
Dfpga-region.rst16 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
22 An fpga-region can be set up to know the following things:
42 .. [#f1] ../devicetree/bindings/fpga/fpga-region.txt
43 .. [#f2] ../../drivers/fpga/of-fpga-region.c
75 .. kernel-doc:: include/linux/fpga/fpga-region.h
78 .. kernel-doc:: drivers/fpga/fpga-region.c
81 .. kernel-doc:: drivers/fpga/fpga-region.c
84 .. kernel-doc:: drivers/fpga/fpga-region.c
87 .. kernel-doc:: drivers/fpga/fpga-mgr.c
[all …]
Dfpga-bridge.rst13 .. kernel-doc:: include/linux/fpga/fpga-bridge.h
16 .. kernel-doc:: include/linux/fpga/fpga-bridge.h
19 .. kernel-doc:: drivers/fpga/fpga-bridge.c
22 .. kernel-doc:: drivers/fpga/fpga-bridge.c
25 .. kernel-doc:: drivers/fpga/fpga-bridge.c
Dfpga-programming.rst34 #include <linux/fpga/fpga-mgr.h>
35 #include <linux/fpga/fpga-region.h>
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
Dindex.rst11 fpga-mgr
12 fpga-bridge
13 fpga-region
14 fpga-programming
Dfpga-mgr.rst111 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
114 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
117 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
120 .. kernel-doc:: drivers/fpga/fpga-mgr.c
123 .. kernel-doc:: drivers/fpga/fpga-mgr.c
126 .. kernel-doc:: drivers/fpga/fpga-mgr.c
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/board/
Dfsl-board.txt27 "fsl,<board>-fpga", "fsl,fpga-pixis", or
28 "fsl,<board>-fpga", "fsl,fpga-qixis"
37 compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
46 compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis";
58 "fsl,<board>-fpga", "fsl,fpga-qixis-i2c"
62 fpga: fpga@66 {
63 compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
/kernel/linux/linux-5.10/drivers/watchdog/
Dpika_wdt.c50 void __iomem *fpga; member
80 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset()
83 out_be32(pikawdt_private.fpga + 0x14, reset); in pikawdt_reset()
229 void __iomem *fpga; in pikawdt_init() local
239 pikawdt_private.fpga = of_iomap(np, 0); in pikawdt_init()
241 if (pikawdt_private.fpga == NULL) { in pikawdt_init()
246 ident.firmware_version = in_be32(pikawdt_private.fpga + 0x1c) & 0xffff; in pikawdt_init()
256 fpga = of_iomap(np, 0); in pikawdt_init()
258 if (fpga == NULL) { in pikawdt_init()
268 post1 = in_be32(fpga + 0x40); in pikawdt_init()
[all …]
/kernel/linux/linux-5.10/arch/arm/plat-omap/
Ddebug-leds.c44 static struct h2p2_dbg_fpga __iomem *fpga; variable
85 reg = readw_relaxed(&fpga->leds); in dbg_led_set()
90 writew_relaxed(reg, &fpga->leds); in dbg_led_set()
98 reg = readw_relaxed(&fpga->leds); in dbg_led_get()
111 fpga = ioremap(iomem->start, resource_size(iomem)); in fpga_probe()
112 writew_relaxed(0xff, &fpga->leds); in fpga_probe()
138 fpga_led_state = readw_relaxed(&fpga->leds); in fpga_suspend_noirq()
139 writew_relaxed(0xff, &fpga->leds); in fpga_suspend_noirq()
146 writew_relaxed(~fpga_led_state, &fpga->leds); in fpga_resume_noirq()
/kernel/linux/linux-5.10/arch/powerpc/platforms/44x/
Dwarp.c63 void __iomem *fpga; in warp_post_info() local
71 fpga = of_iomap(np, 0); in warp_post_info()
73 if (fpga == NULL) in warp_post_info()
76 post1 = in_be32(fpga + 0x40); in warp_post_info()
77 post2 = in_be32(fpga + 0x44); in warp_post_info()
79 iounmap(fpga); in warp_post_info()
213 static inline void pika_dtm_check_fan(void __iomem *fpga) in pika_dtm_check_fan() argument
216 u32 fan = in_be32(fpga + 0x34) & (1 << 14); in pika_dtm_check_fan()
226 static int pika_dtm_thread(void __iomem *fpga) in pika_dtm_thread() argument
255 out_be32(fpga + 0x20, temp); in pika_dtm_thread()
[all …]
/kernel/linux/linux-5.10/drivers/fpga/
DMakefile7 obj-$(CONFIG_FPGA) += fpga-mgr.o
17 obj-$(CONFIG_FPGA_MGR_TS73XX) += ts73xx-fpga.o
19 obj-$(CONFIG_FPGA_MGR_ZYNQ_FPGA) += zynq-fpga.o
20 obj-$(CONFIG_FPGA_MGR_ZYNQMP_FPGA) += zynqmp-fpga.o
25 obj-$(CONFIG_FPGA_BRIDGE) += fpga-bridge.o
31 obj-$(CONFIG_FPGA_REGION) += fpga-region.o
32 obj-$(CONFIG_OF_FPGA_REGION) += of-fpga-region.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fpga/
Dxlnx,zynqmp-pcap-fpga.txt6 - compatible: should contain "xlnx,zynqmp-pcap-fpga"
10 fpga-region0 {
11 compatible = "fpga-region";
12 fpga-mgr = <&zynqmp_pcap>;
22 compatible = "xlnx,zynqmp-pcap-fpga";
Dxilinx-slave-serial.txt11 - https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf
14 - compatible: should contain "xlnx,fpga-slave-serial"
25 fpga-region0 {
26 compatible = "fpga-region";
27 fpga-mgr = <&fpga_mgr_spi>;
42 fpga_mgr_spi: fpga-mgr@0 {
43 compatible = "xlnx,fpga-slave-serial";
Dxilinx-pr-decoupler.txt4 decouplers / fpga bridges.
21 See Documentation/devicetree/bindings/fpga/fpga-region.txt and
22 Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
25 fpga-bridge@100000450 {
Daltera-hps2fpga-bridge.txt12 See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
15 fpga_bridge0: fpga-bridge@ff400000 {
23 fpga_bridge1: fpga-bridge@ff500000 {
31 fpga_bridge2: fpga-bridge@ff600000 {
Dintel-stratix10-soc-fpga-mgr.txt7 - compatible : should contain "intel,stratix10-soc-fpga-mgr" or
8 "intel,agilex-soc-fpga-mgr"
14 fpga_mgr: fpga-mgr {
15 compatible = "intel,stratix10-soc-fpga-mgr";
Daltera-passive-serial.txt12 "altr,fpga-passive-serial",
13 "altr,fpga-arria10-passive-serial"
22 fpga: fpga@0 {
23 compatible = "altr,fpga-passive-serial";
Dfpga-region.txt167 - compatible : should contain "fpga-region"
168 - fpga-mgr : should contain a phandle to an FPGA Manager. Child FPGA Regions
169 inherit this property from their ancestor regions. A fpga-mgr property
180 - fpga-bridges : should contain a list of phandles to FPGA Bridges that must be
183 If the fpga-region is the child of a fpga-bridge, the list should not
185 - partial-fpga-config : boolean, set if partial reconfiguration is to be done,
187 - external-fpga-config : boolean, set if the FPGA has already been configured
189 - encrypted-fpga-config : boolean, set if the bitstream is encrypted
200 In the example below, when an overlay is applied targeting fpga-region0,
204 fpga-bridges property. During programming, these bridges are disabled, the
[all …]
Dlattice-machxo2-spi.txt14 fpga-region0 {
15 compatible = "fpga-region";
16 fpga-mgr = <&fpga_mgr_spi>;
24 fpga_mgr_spi: fpga-mgr@0 {
Dlattice-ice40-fpga-mgr.txt4 - compatible: Should contain "lattice,ice40-fpga-mgr"
15 fpga: fpga@0 {
16 compatible = "lattice,ice40-fpga-mgr";
/kernel/linux/linux-5.10/arch/powerpc/boot/
Debony.c38 u8 *fpga; in ebony_flashsel_fixup() local
45 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup()
49 fpga_reg0 = in_8(fpga); in ebony_flashsel_fixup()
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dgef_ppc9a.dts80 fpga@4,0 {
81 compatible = "gef,ppc9a-fpga-regs";
86 compatible = "gef,ppc9a-fpga-wdt", "gef,fpga-wdt-1.00",
87 "gef,fpga-wdt";
94 compatible = "gef,ppc9a-fpga-wdt", "gef,fpga-wdt-1.00",
95 "gef,fpga-wdt";
104 compatible = "gef,ppc9a-fpga-pic", "gef,fpga-pic-1.00";
Dgef_sbc310.dts77 fpga@4,0 {
78 compatible = "gef,fpga-regs";
83 compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
84 "gef,fpga-wdt";
91 compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
92 "gef,fpga-wdt";
101 compatible = "gef,sbc310-fpga-pic", "gef,fpga-pic";
Dge_imp3a.dts76 fpga@4,0 {
77 compatible = "ge,imp3a-fpga-regs";
85 compatible = "ge,imp3a-fpga-pic", "gef,fpga-pic-1.00";
98 compatible = "ge,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
99 "gef,fpga-wdt";
107 compatible = "gef,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
108 "gef,fpga-wdt";
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-fpga-manager1 What: /sys/class/fpga_manager/<fpga>/name
5 Description: Name of low level fpga manager driver.
7 What: /sys/class/fpga_manager/<fpga>/state
11 Description: Read fpga manager state as a string.
18 This is a superset of FPGA states and fpga manager driver
19 states. The fpga manager driver is walking through these steps
38 What: /sys/class/fpga_manager/<fpga>/status
42 Description: Read fpga manager status as a string.

123456