| /kernel/linux/linux-4.19/drivers/fpga/ |
| D | Kconfig | 2 # FPGA framework configuration 5 menuconfig FPGA config 6 tristate "FPGA Configuration Framework" 9 kernel. The FPGA framework adds a FPGA manager class and FPGA 12 if FPGA 15 tristate "Altera SOCFPGA FPGA Manager" 18 FPGA manager driver support for Altera SOCFPGA. 25 FPGA manager driver support for Altera Arria10 SoCFPGA. 40 tristate "Altera FPGA Passive Serial over SPI" 44 FPGA manager driver support for Altera Arria/Cyclone/Stratix [all …]
|
| D | ts73xx-fpga.c | 2 * Technologic Systems TS-73xx SBC FPGA loader 6 * FPGA Manager Driver for the on-board Altera Cyclone II FPGA found on 7 * TS-7300, heavily based on load_fpga.c in their vendor tree. 25 #include <linux/fpga/fpga-mgr.h> 52 struct ts73xx_fpga_priv *priv = mgr->priv; in ts73xx_fpga_write_init() 54 /* Reset the FPGA */ in ts73xx_fpga_write_init() 55 writeb(0, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() 57 writeb(TS73XX_FPGA_RESET, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() 66 struct ts73xx_fpga_priv *priv = mgr->priv; in ts73xx_fpga_write() 71 while (count--) { in ts73xx_fpga_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/fpga/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # FPGA framework configuration 6 menuconfig FPGA config 7 tristate "FPGA Configuration Framework" 10 kernel. The FPGA framework adds a FPGA manager class and FPGA 13 if FPGA 16 tristate "Altera SOCFPGA FPGA Manager" 19 FPGA manager driver support for Altera SOCFPGA. 26 FPGA manager driver support for Altera Arria10 SoCFPGA. 41 tristate "Altera FPGA Passive Serial over SPI" [all …]
|
| D | ts73xx-fpga.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Technologic Systems TS-73xx SBC FPGA loader 7 * FPGA Manager Driver for the on-board Altera Cyclone II FPGA found on 8 * TS-7300, heavily based on load_fpga.c in their vendor tree. 17 #include <linux/fpga/fpga-mgr.h> 44 struct ts73xx_fpga_priv *priv = mgr->priv; in ts73xx_fpga_write_init() 46 /* Reset the FPGA */ in ts73xx_fpga_write_init() 47 writeb(0, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() 49 writeb(TS73XX_FPGA_RESET, priv->io_base + TS73XX_FPGA_CONFIG_REG); in ts73xx_fpga_write_init() 58 struct ts73xx_fpga_priv *priv = mgr->priv; in ts73xx_fpga_write() [all …]
|
| /kernel/linux/linux-5.10/Documentation/fpga/ |
| D | dfl.rst | 2 FPGA Device Feature List (DFL) Framework Overview 7 - Enno Luebbers <enno.luebbers@intel.com> 8 - Xiao Guangrong <guangrong.xiao@linux.intel.com> 9 - Wu Hao <hao.wu@intel.com> 11 The Device Feature List (DFL) FPGA framework (and drivers according to 14 configure, enumerate, open and access FPGA accelerators on platforms which 16 enables system level management functions such as FPGA reconfiguration. 23 walk through these predefined data structures to enumerate FPGA features: 24 FPGA Interface Unit (FIU), Accelerated Function Unit (AFU) and Private Features, 28 +----------+ +-->+----------+ +-->+----------+ +-->+----------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | pika_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PIKA FPGA based Watchdog Timer 29 #define DRV_NAME "PIKA-WDT" 50 void __iomem *fpga; member 71 /* -- FPGA: Reset Control Register (32bit R/W) (Offset: 0x14) -- in pikawdt_reset() 76 * Bit 8-11, WTCHDG_TIMEOUT_SEC: Sets the watchdog timeout value in in pikawdt_reset() 80 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset() 81 /* enable with max timeout - 15 seconds */ in pikawdt_reset() 83 out_be32(pikawdt_private.fpga + 0x14, reset); in pikawdt_reset() 118 return -EBUSY; in pikawdt_open() [all …]
|
| /kernel/linux/linux-4.19/drivers/watchdog/ |
| D | pika_wdt.c | 2 * PIKA FPGA based Watchdog Timer 28 #define DRV_NAME "PIKA-WDT" 49 void __iomem *fpga; member 70 /* -- FPGA: Reset Control Register (32bit R/W) (Offset: 0x14) -- in pikawdt_reset() 75 * Bit 8-11, WTCHDG_TIMEOUT_SEC: Sets the watchdog timeout value in in pikawdt_reset() 79 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset() 80 /* enable with max timeout - 15 seconds */ in pikawdt_reset() 82 out_be32(pikawdt_private.fpga + 0x14, reset); in pikawdt_reset() 117 return -EBUSY; in pikawdt_open() 156 return -EFAULT; in pikawdt_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/gs_fpgaboot/ |
| D | README | 2 Linux Driver Source for Xilinx FPGA firmware download 16 - Download Xilinx FPGA firmware 17 - This module downloads Xilinx FPGA firmware using gpio pins. 21 An FPGA (Field Programmable Gate Array) is a programmable hardware that is 24 This driver provides a way to download FPGA firmware. 28 - load Xilinx FPGA bitstream format[1] firmware image file using 30 - program the Xilinx FPGA using SelectMAP (parallel) mode [2] 31 - FPGA prgram is done by gpio based bit-banging, as an example 32 - platform independent file: gs_fpgaboot.c 33 - platform dependent file: io.c [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/gs_fpgaboot/ |
| D | README | 2 Linux Driver Source for Xilinx FPGA firmware download 16 - Download Xilinx FPGA firmware 17 - This module downloads Xilinx FPGA firmware using gpio pins. 21 An FPGA (Field Programmable Gate Array) is a programmable hardware that is 24 This driver provides a way to download FPGA firmware. 28 - load Xilinx FPGA bitstream format[1] firmware image file using 30 - program the Xilinx FPGA using SelectMAP (parallel) mode [2] 31 - FPGA prgram is done by gpio based bit-banging, as an example 32 - platform independent file: gs_fpgaboot.c 33 - platform dependent file: io.c [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| D | xillybus.rst | 2 Xillybus driver for generic FPGA interface 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization [all …]
|
| D | men-chameleon-bus.rst | 30 ---------------------- 34 based devices. 37 ----------------------------------------- 39 The current implementation is limited to PCI and PCIe based carrier devices 43 - Multi-resource MCB devices like the VME Controller or M-Module carrier. 44 - MCB devices that need another MCB device, like SRAM for a DMA Controller's 46 - A per-carrier IRQ domain for carrier devices that have one (or more) IRQs 47 per MCB device like PCIe based carriers with MSI or MSI-X support. 54 - The MEN Chameleon Bus itself, 55 - drivers for MCB Carrier Devices and [all …]
|
| /kernel/linux/linux-4.19/Documentation/ |
| D | xillybus.txt | 2 Xillybus driver for generic FPGA interface 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization [all …]
|
| D | men-chameleon-bus.txt | 30 ---------------------- 34 based devices. 37 ----------------------------------------- 39 The current implementation is limited to PCI and PCIe based carrier devices 43 - Multi-resource MCB devices like the VME Controller or M-Module carrier. 44 - MCB devices that need another MCB device, like SRAM for a DMA Controller's 46 - A per-carrier IRQ domain for carrier devices that have one (or more) IRQs 47 per MCB device like PCIe based carriers with MSI or MSI-X support. 54 - The MEN Chameleon Bus itself, 55 - drivers for MCB Carrier Devices and [all …]
|
| /kernel/linux/linux-4.19/drivers/mcb/ |
| D | Kconfig | 12 FPGA based devices. It is used to identify MCB based IP-Cores within 13 an FPGA and provide the necessary framework for instantiating drivers 20 tristate "PCI based MCB carrier" 25 This is a MCB carrier on a PCI device. Both PCI attached on-board 29 If build as a module, the module is called mcb-pci.ko 32 tristate "LPC (non PCI) based MCB carrier" 38 If build as a module, the module is called mcb-lpc.ko
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/ |
| D | ebony.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Based on earlier code: 9 * Copyright 2002-2005 MontaVista Software Inc. 30 #define EBONY_FPGA_PATH "/plb/opb/ebc/fpga" 32 #define EBONY_SMALL_FLASH_PATH "/plb/opb/ebc/small-flash" 38 u8 *fpga; in ebony_flashsel_fixup() local 43 fatal("Couldn't locate FPGA node %s\n\r", EBONY_FPGA_PATH); in ebony_flashsel_fixup() 45 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup() 46 fatal("%s has missing or invalid virtual-reg property\n\r", in ebony_flashsel_fixup() 49 fpga_reg0 = in_8(fpga); in ebony_flashsel_fixup() [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/ |
| D | ebony.c | 4 * Based on earlier code: 8 * Copyright 2002-2005 MontaVista Software Inc. 34 #define EBONY_FPGA_PATH "/plb/opb/ebc/fpga" 36 #define EBONY_SMALL_FLASH_PATH "/plb/opb/ebc/small-flash" 42 u8 *fpga; in ebony_flashsel_fixup() local 47 fatal("Couldn't locate FPGA node %s\n\r", EBONY_FPGA_PATH); in ebony_flashsel_fixup() 49 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in ebony_flashsel_fixup() 50 fatal("%s has missing or invalid virtual-reg property\n\r", in ebony_flashsel_fixup() 53 fpga_reg0 = in_8(fpga); in ebony_flashsel_fixup() 64 /* Invert address bit 14 (IBM-endian) if FLASH_SEL fpga bit is set */ in ebony_flashsel_fixup() [all …]
|
| D | treeboot-walnut.c | 2 * Old U-boot compatibility for Walnut 7 * Based on cuboot-83xx.c, which is: 28 u8 *fpga; in walnut_flashsel_fixup() local 31 devp = finddevice("/plb/ebc/fpga"); in walnut_flashsel_fixup() 33 fatal("Couldn't locate FPGA node\n\r"); in walnut_flashsel_fixup() 35 if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) in walnut_flashsel_fixup() 36 fatal("no virtual-reg property\n\r"); in walnut_flashsel_fixup() 38 fpga_brds1 = in_8(fpga); in walnut_flashsel_fixup() 77 unsigned long avail_ram = end_of_ram - (unsigned long) _end; in platform_init()
|
| /kernel/linux/linux-5.10/drivers/mcb/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 FPGA based devices. It is used to identify MCB based IP-Cores within 14 an FPGA and provide the necessary framework for instantiating drivers 21 tristate "PCI based MCB carrier" 26 This is a MCB carrier on a PCI device. Both PCI attached on-board 30 If build as a module, the module is called mcb-pci.ko 33 tristate "LPC (non PCI) based MCB carrier" 39 If build as a module, the module is called mcb-lpc.ko
|
| /kernel/linux/linux-4.19/Documentation/fmc/ |
| D | mezzanine.txt | 7 carrier-provided functions. 9 The matching between device and driver is based on the content of the 11 configured in the FPGA; the latter technique is used when the FPGA is 15 FPGA registers, by means of the `fpga_base' field of the device 16 structure. This may be needed for high-bandwidth peripherals like fast 24 In even more special cases, the driver may access carrier-specific 29 the `fmc.h' file - we hope other users will exploit our framework with 34 driver finds it is running in a yet-unknown-to-it environment. 42 table, but in FMC we can match hardware based either on the contents of 43 their EEPROM or on the actual FPGA cores that can be enumerated. [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | fpga-dfl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Header File for FPGA DFL User API 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 23 * The IOCTL interface for DFL based FPGA is designed for extensibility by 38 * DFL_FPGA_GET_API_VERSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 0) 47 * DFL_FPGA_CHECK_EXTENSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1) 58 * DFL_FPGA_PORT_RESET - _IO(DFL_FPGA_MAGIC, DFL_PORT_BASE + 0) 60 * Reset the FPGA Port and its AFU. No parameters are supported. 64 * Return: 0 on success, -errno of failure 70 * DFL_FPGA_PORT_GET_INFO - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 1, [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
| D | gef_ppc9a.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on: SBS CM6 Device Tree Source 14 * Compiled with dtc -I dts -O dtb -o gef_ppc9a.dtb gef_ppc9a.dts 17 /include/ "mpc8641si-pre.dtsi" 35 4 0 0xfc000000 0x00008000 // FPGA 36 5 0 0xfc008000 0x00008000 // AFIX FPGA 37 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 38 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 42 compatible = "gef,ppc9a-firmware-mirror", "cfi-flash"; 44 bank-width = <4>; [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/dts/fsl/ |
| D | gef_ppc9a.dts | 11 * Based on: SBS CM6 Device Tree Source 18 * Compiled with dtc -I dts -O dtb -o gef_ppc9a.dtb gef_ppc9a.dts 21 /include/ "mpc8641si-pre.dtsi" 39 4 0 0xfc000000 0x00008000 // FPGA 40 5 0 0xfc008000 0x00008000 // AFIX FPGA 41 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) 42 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) 46 compatible = "gef,ppc9a-firmware-mirror", "cfi-flash"; 48 bank-width = <4>; 49 device-width = <2>; [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/cx23885/ |
| D | Kconfig | 46 ---help--- 47 This is a video4linux driver for Conexant 23885 based 54 tristate "Altera FPGA based CI module" 57 ---help--- 58 An Altera FPGA CI module for NetUP Dual DVB-T/C RF CI card. 61 module will be called altera-ci
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 48 This is a video4linux driver for Conexant 23885 based 55 tristate "Altera FPGA based CI module" 59 An Altera FPGA CI module for NetUP Dual DVB-T/C RF CI card. 62 module will be called altera-ci
|
| /kernel/linux/linux-4.19/include/uapi/linux/ |
| D | fpga-dfl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Header File for FPGA DFL User API 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 23 * The IOCTL interface for DFL based FPGA is designed for extensibility by 38 * DFL_FPGA_GET_API_VERSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 0) 47 * DFL_FPGA_CHECK_EXTENSION - _IO(DFL_FPGA_MAGIC, DFL_FPGA_BASE + 1) 58 * DFL_FPGA_PORT_RESET - _IO(DFL_FPGA_MAGIC, DFL_PORT_BASE + 0) 60 * Reset the FPGA Port and its AFU. No parameters are supported. 64 * Return: 0 on success, -errno of failure 70 * DFL_FPGA_PORT_GET_INFO - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 1, [all …]
|