WSL2-Linux-Kernel/drivers/fpga
Jason Gunthorpe 1d7f1589d3 fpga: Clarify how write_init works streaming modes
This interface was designed for streaming, but write_init's buf
argument has an unclear purpose. Define it to be the first bytes
of the bitstream. Each driver gets to set how many bytes (at most)
it wants to see. Short bitstreams will be passed through as-is, while
long ones will be truncated.

The intent is to allow drivers to peek at the header before the transfer
actually starts.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Alan Tull <atull@opensource.altera.com>
2016-11-29 15:51:49 -06:00
..
Kconfig fpga: Add COMPILE_TEST to all drivers 2016-11-29 15:51:44 -06:00
Makefile fpga-manager: Add Socfpga Arria10 support 2016-11-10 17:03:36 +01:00
altera-fpga2sdram.c ARM: socfpga: checking the wrong variable 2016-11-17 08:14:55 +01:00
altera-freeze-bridge.c fpga: add altera freeze bridge support 2016-11-10 17:03:36 +01:00
altera-hps2fpga.c ARM: socfpga: fpga bridge driver support 2016-11-10 17:03:36 +01:00
fpga-bridge.c fpga: add fpga bridge framework 2016-11-10 17:03:35 +01:00
fpga-mgr.c fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00
fpga-region.c fpga: fpga-region: device tree control for FPGA 2016-11-10 17:03:35 +01:00
socfpga-a10.c fpga: Clarify how write_init works streaming modes 2016-11-29 15:51:49 -06:00
socfpga.c fpga-mgr: add fpga image information struct 2016-11-10 17:03:35 +01:00
zynq-fpga.c fpga zynq: Fix incorrect ISR state on bootup 2016-11-29 15:51:48 -06:00