/Linux-v5.10/include/linux/fpga/ |
D | fpga-mgr.h | 14 struct fpga_manager; 126 enum fpga_mgr_states (*state)(struct fpga_manager *mgr); 127 u64 (*status)(struct fpga_manager *mgr); 128 int (*write_init)(struct fpga_manager *mgr, 131 int (*write)(struct fpga_manager *mgr, const char *buf, size_t count); 132 int (*write_sg)(struct fpga_manager *mgr, struct sg_table *sgt); 133 int (*write_complete)(struct fpga_manager *mgr, 135 void (*fpga_remove)(struct fpga_manager *mgr); 167 struct fpga_manager { struct 177 #define to_fpga_manager(d) container_of(d, struct fpga_manager, dev) argument [all …]
|
D | fpga-region.h | 25 struct fpga_manager *mgr; 41 *fpga_region_create(struct device *dev, struct fpga_manager *mgr, 48 *devm_fpga_region_create(struct device *dev, struct fpga_manager *mgr,
|
/Linux-v5.10/drivers/fpga/ |
D | fpga-mgr.c | 74 static int fpga_mgr_write_init_buf(struct fpga_manager *mgr, in fpga_mgr_write_init_buf() 96 static int fpga_mgr_write_init_sg(struct fpga_manager *mgr, in fpga_mgr_write_init_sg() 140 static int fpga_mgr_write_complete(struct fpga_manager *mgr, in fpga_mgr_write_complete() 174 static int fpga_mgr_buf_load_sg(struct fpga_manager *mgr, in fpga_mgr_buf_load_sg() 209 static int fpga_mgr_buf_load_mapped(struct fpga_manager *mgr, in fpga_mgr_buf_load_mapped() 247 static int fpga_mgr_buf_load(struct fpga_manager *mgr, in fpga_mgr_buf_load() 319 static int fpga_mgr_firmware_load(struct fpga_manager *mgr, in fpga_mgr_firmware_load() 355 int fpga_mgr_load(struct fpga_manager *mgr, struct fpga_image_info *info) in fpga_mgr_load() 396 struct fpga_manager *mgr = to_fpga_manager(dev); in name_show() 404 struct fpga_manager *mgr = to_fpga_manager(dev); in state_show() [all …]
|
D | zynqmp-fpga.c | 28 static int zynqmp_fpga_ops_write_init(struct fpga_manager *mgr, in zynqmp_fpga_ops_write_init() 40 static int zynqmp_fpga_ops_write(struct fpga_manager *mgr, in zynqmp_fpga_ops_write() 69 static int zynqmp_fpga_ops_write_complete(struct fpga_manager *mgr, in zynqmp_fpga_ops_write_complete() 75 static enum fpga_mgr_states zynqmp_fpga_ops_state(struct fpga_manager *mgr) in zynqmp_fpga_ops_state() 97 struct fpga_manager *mgr; in zynqmp_fpga_probe() 124 struct fpga_manager *mgr = platform_get_drvdata(pdev); in zynqmp_fpga_remove()
|
D | ts73xx-fpga.c | 35 static enum fpga_mgr_states ts73xx_fpga_state(struct fpga_manager *mgr) in ts73xx_fpga_state() 40 static int ts73xx_fpga_write_init(struct fpga_manager *mgr, in ts73xx_fpga_write_init() 55 static int ts73xx_fpga_write(struct fpga_manager *mgr, const char *buf, in ts73xx_fpga_write() 77 static int ts73xx_fpga_write_complete(struct fpga_manager *mgr, in ts73xx_fpga_write_complete() 111 struct fpga_manager *mgr; in ts73xx_fpga_probe() 137 struct fpga_manager *mgr = platform_get_drvdata(pdev); in ts73xx_fpga_remove()
|
D | xilinx-spi.c | 30 static int get_done_gpio(struct fpga_manager *mgr) in get_done_gpio() 43 static enum fpga_mgr_states xilinx_spi_state(struct fpga_manager *mgr) in xilinx_spi_state() 63 static int wait_for_init_b(struct fpga_manager *mgr, int value, in wait_for_init_b() 94 static int xilinx_spi_write_init(struct fpga_manager *mgr, in xilinx_spi_write_init() 130 static int xilinx_spi_write(struct fpga_manager *mgr, const char *buf, in xilinx_spi_write() 169 static int xilinx_spi_write_complete(struct fpga_manager *mgr, in xilinx_spi_write_complete() 226 struct fpga_manager *mgr; in xilinx_spi_probe() 269 struct fpga_manager *mgr = spi_get_drvdata(spi); in xilinx_spi_remove()
|
D | altera-pr-ip-core.c | 32 static enum fpga_mgr_states alt_pr_fpga_state(struct fpga_manager *mgr) in alt_pr_fpga_state() 77 static int alt_pr_fpga_write_init(struct fpga_manager *mgr, in alt_pr_fpga_write_init() 104 static int alt_pr_fpga_write(struct fpga_manager *mgr, const char *buf, in alt_pr_fpga_write() 144 static int alt_pr_fpga_write_complete(struct fpga_manager *mgr, in alt_pr_fpga_write_complete() 179 struct fpga_manager *mgr; in alt_pr_register() 206 struct fpga_manager *mgr = dev_get_drvdata(dev); in alt_pr_unregister()
|
D | ice40-spi.c | 32 static enum fpga_mgr_states ice40_fpga_ops_state(struct fpga_manager *mgr) in ice40_fpga_ops_state() 40 static int ice40_fpga_ops_write_init(struct fpga_manager *mgr, in ice40_fpga_ops_write_init() 102 static int ice40_fpga_ops_write(struct fpga_manager *mgr, in ice40_fpga_ops_write() 110 static int ice40_fpga_ops_write_complete(struct fpga_manager *mgr, in ice40_fpga_ops_write_complete() 139 struct fpga_manager *mgr; in ice40_fpga_probe() 193 struct fpga_manager *mgr = spi_get_drvdata(spi); in ice40_fpga_remove()
|
D | stratix10-soc.c | 71 static bool s10_free_buffers(struct fpga_manager *mgr) in s10_free_buffers() 98 static uint s10_free_buffer_count(struct fpga_manager *mgr) in s10_free_buffer_count() 174 static int s10_ops_write_init(struct fpga_manager *mgr, in s10_ops_write_init() 239 static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count) in s10_send_buf() 277 static int s10_ops_write(struct fpga_manager *mgr, const char *buf, in s10_ops_write() 347 static int s10_ops_write_complete(struct fpga_manager *mgr, in s10_ops_write_complete() 391 static enum fpga_mgr_states s10_ops_state(struct fpga_manager *mgr) in s10_ops_state() 407 struct fpga_manager *mgr; in s10_probe() 453 struct fpga_manager *mgr = platform_get_drvdata(pdev); in s10_remove()
|
D | dfl-fme-mgr.c | 107 static int fme_mgr_write_init(struct fpga_manager *mgr, in fme_mgr_write_init() 165 static int fme_mgr_write(struct fpga_manager *mgr, in fme_mgr_write() 220 static int fme_mgr_write_complete(struct fpga_manager *mgr, in fme_mgr_write_complete() 255 static enum fpga_mgr_states fme_mgr_state(struct fpga_manager *mgr) in fme_mgr_state() 260 static u64 fme_mgr_status(struct fpga_manager *mgr) in fme_mgr_status() 288 struct fpga_manager *mgr; in fme_mgr_probe() 324 struct fpga_manager *mgr = platform_get_drvdata(pdev); in fme_mgr_remove()
|
D | altera-cvp.c | 75 struct fpga_manager *mgr; 90 int (*wait_credit)(struct fpga_manager *mgr, u32 blocks); 117 static enum fpga_mgr_states altera_cvp_state(struct fpga_manager *mgr) in altera_cvp_state() 182 static int altera_cvp_chk_error(struct fpga_manager *mgr, size_t bytes) in altera_cvp_chk_error() 229 static int altera_cvp_v2_wait_for_credit(struct fpga_manager *mgr, in altera_cvp_v2_wait_for_credit() 285 static int altera_cvp_teardown(struct fpga_manager *mgr, in altera_cvp_teardown() 318 static int altera_cvp_write_init(struct fpga_manager *mgr, in altera_cvp_write_init() 431 static int altera_cvp_write(struct fpga_manager *mgr, const char *buf, in altera_cvp_write() 484 static int altera_cvp_write_complete(struct fpga_manager *mgr, in altera_cvp_write_complete() 580 struct fpga_manager *mgr; in altera_cvp_probe() [all …]
|
D | altera-ps-spi.c | 88 static enum fpga_mgr_states altera_ps_state(struct fpga_manager *mgr) in altera_ps_state() 106 static int altera_ps_write_init(struct fpga_manager *mgr, in altera_ps_write_init() 175 static int altera_ps_write(struct fpga_manager *mgr, const char *buf, in altera_ps_write() 201 static int altera_ps_write_complete(struct fpga_manager *mgr, in altera_ps_write_complete() 260 struct fpga_manager *mgr; in altera_ps_probe() 317 struct fpga_manager *mgr = spi_get_drvdata(spi); in altera_ps_remove()
|
D | socfpga-a10.c | 203 static int socfpga_a10_fpga_set_cdratio(struct fpga_manager *mgr, in socfpga_a10_fpga_set_cdratio() 272 static int socfpga_a10_fpga_write_init(struct fpga_manager *mgr, in socfpga_a10_fpga_write_init() 354 static int socfpga_a10_fpga_write(struct fpga_manager *mgr, const char *buf, in socfpga_a10_fpga_write() 391 static int socfpga_a10_fpga_write_complete(struct fpga_manager *mgr, in socfpga_a10_fpga_write_complete() 440 static enum fpga_mgr_states socfpga_a10_fpga_state(struct fpga_manager *mgr) in socfpga_a10_fpga_state() 473 struct fpga_manager *mgr; in socfpga_a10_fpga_probe() 529 struct fpga_manager *mgr = platform_get_drvdata(pdev); in socfpga_a10_fpga_remove()
|
D | machxo2-spi.c | 135 static int machxo2_cleanup(struct fpga_manager *mgr) in machxo2_cleanup() 174 static enum fpga_mgr_states machxo2_spi_state(struct fpga_manager *mgr) in machxo2_spi_state() 187 static int machxo2_write_init(struct fpga_manager *mgr, in machxo2_write_init() 250 static int machxo2_write(struct fpga_manager *mgr, const char *buf, in machxo2_write() 289 static int machxo2_write_complete(struct fpga_manager *mgr, in machxo2_write_complete() 362 struct fpga_manager *mgr; in machxo2_spi_probe() 381 struct fpga_manager *mgr = spi_get_drvdata(spi); in machxo2_spi_remove()
|
D | socfpga.c | 358 static int socfpga_fpga_reset(struct fpga_manager *mgr) in socfpga_fpga_reset() 399 static int socfpga_fpga_ops_configure_init(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_init() 433 static int socfpga_fpga_ops_configure_write(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_write() 470 static int socfpga_fpga_ops_configure_complete(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_complete() 520 static enum fpga_mgr_states socfpga_fpga_ops_state(struct fpga_manager *mgr) in socfpga_fpga_ops_state() 547 struct fpga_manager *mgr; in socfpga_fpga_probe() 586 struct fpga_manager *mgr = platform_get_drvdata(pdev); in socfpga_fpga_remove()
|
D | dfl-fme-region.c | 35 struct fpga_manager *mgr; in fme_region_probe() 68 struct fpga_manager *mgr = region->mgr; in fme_region_remove()
|
D | of-fpga-region.c | 48 static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) in of_fpga_region_get_mgr() 51 struct fpga_manager *mgr; in of_fpga_region_get_mgr() 400 struct fpga_manager *mgr; in of_fpga_region_probe() 433 struct fpga_manager *mgr = region->mgr; in of_fpga_region_remove()
|
D | zynq-fpga.c | 251 static int zynq_fpga_ops_write_init(struct fpga_manager *mgr, in zynq_fpga_ops_write_init() 384 static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt) in zynq_fpga_ops_write() 485 static int zynq_fpga_ops_write_complete(struct fpga_manager *mgr, in zynq_fpga_ops_write_complete() 524 static enum fpga_mgr_states zynq_fpga_ops_state(struct fpga_manager *mgr) in zynq_fpga_ops_state() 557 struct fpga_manager *mgr; in zynq_fpga_probe() 632 struct fpga_manager *mgr; in zynq_fpga_remove()
|
D | fpga-region.c | 196 struct fpga_manager *mgr, in fpga_region_create() 272 struct fpga_manager *mgr, in devm_fpga_region_create()
|
/Linux-v5.10/Documentation/driver-api/fpga/ |
D | fpga-mgr.rst | 40 struct fpga_manager *mgr; 64 struct fpga_manager *mgr = platform_get_drvdata(pdev); 104 * ``fpga_mgr_states`` — Values for :c:expr:`fpga_manager->state`. 105 * struct fpga_manager — the FPGA manager struct 115 :functions: fpga_manager
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-class-fpga-manager | 1 What: /sys/class/fpga_manager/<fpga>/name 7 What: /sys/class/fpga_manager/<fpga>/state 38 What: /sys/class/fpga_manager/<fpga>/status
|