Home
last modified time | relevance | path

Searched refs:fpga_manager (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/include/linux/fpga/
Dfpga-mgr.h14 struct fpga_manager;
173 enum fpga_mgr_states (*state)(struct fpga_manager *mgr);
174 u64 (*status)(struct fpga_manager *mgr);
175 int (*parse_header)(struct fpga_manager *mgr,
178 int (*write_init)(struct fpga_manager *mgr,
181 int (*write)(struct fpga_manager *mgr, const char *buf, size_t count);
182 int (*write_sg)(struct fpga_manager *mgr, struct sg_table *sgt);
183 int (*write_complete)(struct fpga_manager *mgr,
185 void (*fpga_remove)(struct fpga_manager *mgr);
207 struct fpga_manager { struct
[all …]
Dfpga-region.h25 struct fpga_manager *mgr;
47 struct fpga_manager *mgr;
72 __fpga_region_register(struct device *parent, struct fpga_manager *mgr,
/linux-6.12.1/drivers/fpga/
Dfpga-mgr.c25 struct fpga_manager *mgr;
28 static inline void fpga_mgr_fpga_remove(struct fpga_manager *mgr) in fpga_mgr_fpga_remove()
34 static inline enum fpga_mgr_states fpga_mgr_state(struct fpga_manager *mgr) in fpga_mgr_state()
41 static inline u64 fpga_mgr_status(struct fpga_manager *mgr) in fpga_mgr_status()
48 static inline int fpga_mgr_write(struct fpga_manager *mgr, const char *buf, size_t count) in fpga_mgr_write()
59 static inline int fpga_mgr_write_complete(struct fpga_manager *mgr, in fpga_mgr_write_complete()
77 static inline int fpga_mgr_parse_header(struct fpga_manager *mgr, in fpga_mgr_parse_header()
86 static inline int fpga_mgr_write_init(struct fpga_manager *mgr, in fpga_mgr_write_init()
95 static inline int fpga_mgr_write_sg(struct fpga_manager *mgr, in fpga_mgr_write_sg()
151 static int fpga_mgr_parse_header_mapped(struct fpga_manager *mgr, in fpga_mgr_parse_header_mapped()
[all …]
Dxilinx-core.c17 static int get_done_gpio(struct fpga_manager *mgr) in get_done_gpio()
29 static enum fpga_mgr_states xilinx_core_state(struct fpga_manager *mgr) in xilinx_core_state()
49 static int wait_for_init_b(struct fpga_manager *mgr, int value, in wait_for_init_b()
81 static int xilinx_core_write_init(struct fpga_manager *mgr, in xilinx_core_write_init()
117 static int xilinx_core_write(struct fpga_manager *mgr, const char *buf, in xilinx_core_write()
125 static int xilinx_core_write_complete(struct fpga_manager *mgr, in xilinx_core_write_complete()
197 struct fpga_manager *mgr; in xilinx_core_probe()
Daltera-pr-ip-core.c32 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()
Dice40-spi.c32 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()
Dzynqmp-fpga.c28 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 enum fpga_mgr_states zynqmp_fpga_ops_state(struct fpga_manager *mgr) in zynqmp_fpga_ops_state()
110 struct fpga_manager *mgr; in zynqmp_fpga_probe()
Dts73xx-fpga.c35 static int ts73xx_fpga_write_init(struct fpga_manager *mgr, in ts73xx_fpga_write_init()
50 static int ts73xx_fpga_write(struct fpga_manager *mgr, const char *buf, in ts73xx_fpga_write()
72 static int ts73xx_fpga_write_complete(struct fpga_manager *mgr, in ts73xx_fpga_write_complete()
105 struct fpga_manager *mgr; in ts73xx_fpga_probe()
Dstratix10-soc.c72 static bool s10_free_buffers(struct fpga_manager *mgr) in s10_free_buffers()
99 static uint s10_free_buffer_count(struct fpga_manager *mgr) in s10_free_buffer_count()
175 static int s10_ops_write_init(struct fpga_manager *mgr, in s10_ops_write_init()
240 static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count) in s10_send_buf()
278 static int s10_ops_write(struct fpga_manager *mgr, const char *buf, in s10_ops_write()
348 static int s10_ops_write_complete(struct fpga_manager *mgr, in s10_ops_write_complete()
402 struct fpga_manager *mgr; in s10_probe()
441 struct fpga_manager *mgr = platform_get_drvdata(pdev); in s10_remove()
Dversal-fpga.c15 static int versal_fpga_ops_write_init(struct fpga_manager *mgr, in versal_fpga_ops_write_init()
22 static int versal_fpga_ops_write(struct fpga_manager *mgr, in versal_fpga_ops_write()
48 struct fpga_manager *mgr; in versal_fpga_probe()
Dsocfpga-a10.c203 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()
522 struct fpga_manager *mgr = platform_get_drvdata(pdev); in socfpga_a10_fpga_remove()
Daltera-cvp.c89 int (*wait_credit)(struct fpga_manager *mgr, u32 blocks);
116 static enum fpga_mgr_states altera_cvp_state(struct fpga_manager *mgr) in altera_cvp_state()
181 static int altera_cvp_chk_error(struct fpga_manager *mgr, size_t bytes) in altera_cvp_chk_error()
228 static int altera_cvp_v2_wait_for_credit(struct fpga_manager *mgr, in altera_cvp_v2_wait_for_credit()
284 static int altera_cvp_teardown(struct fpga_manager *mgr, in altera_cvp_teardown()
317 static int altera_cvp_write_init(struct fpga_manager *mgr, in altera_cvp_write_init()
430 static int altera_cvp_write(struct fpga_manager *mgr, const char *buf, in altera_cvp_write()
483 static int altera_cvp_write_complete(struct fpga_manager *mgr, in altera_cvp_write_complete()
579 struct fpga_manager *mgr; in altera_cvp_probe()
677 struct fpga_manager *mgr = pci_get_drvdata(pdev); in altera_cvp_remove()
Daltera-ps-spi.c81 static enum fpga_mgr_states altera_ps_state(struct fpga_manager *mgr) in altera_ps_state()
99 static int altera_ps_write_init(struct fpga_manager *mgr, in altera_ps_write_init()
168 static int altera_ps_write(struct fpga_manager *mgr, const char *buf, in altera_ps_write()
194 static int altera_ps_write_complete(struct fpga_manager *mgr, in altera_ps_write_complete()
236 struct fpga_manager *mgr; in altera_ps_probe()
Dmicrochip-spi.c87 static enum fpga_mgr_states mpf_ops_state(struct fpga_manager *mgr) in mpf_ops_state()
102 static int mpf_ops_parse_header(struct fpga_manager *mgr, in mpf_ops_parse_header()
248 static int mpf_ops_write_init(struct fpga_manager *mgr, in mpf_ops_write_init()
305 static int mpf_ops_write(struct fpga_manager *mgr, const char *buf, size_t count) in mpf_ops_write()
329 static int mpf_ops_write_complete(struct fpga_manager *mgr, in mpf_ops_write_complete()
370 struct fpga_manager *mgr; in mpf_probe()
Ddfl-fme-mgr.c107 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 u64 fme_mgr_status(struct fpga_manager *mgr) in fme_mgr_status()
282 struct fpga_manager *mgr; in fme_mgr_probe()
Dmachxo2-spi.c135 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()
252 static int machxo2_write(struct fpga_manager *mgr, const char *buf, in machxo2_write()
291 static int machxo2_write_complete(struct fpga_manager *mgr, in machxo2_write_complete()
366 struct fpga_manager *mgr; in machxo2_spi_probe()
Dsocfpga.c359 static int socfpga_fpga_reset(struct fpga_manager *mgr) in socfpga_fpga_reset()
400 static int socfpga_fpga_ops_configure_init(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_init()
434 static int socfpga_fpga_ops_configure_write(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_write()
471 static int socfpga_fpga_ops_configure_complete(struct fpga_manager *mgr, in socfpga_fpga_ops_configure_complete()
521 static enum fpga_mgr_states socfpga_fpga_ops_state(struct fpga_manager *mgr) in socfpga_fpga_ops_state()
548 struct fpga_manager *mgr; in socfpga_fpga_probe()
Dlattice-sysconfig.c255 static enum fpga_mgr_states sysconfig_ops_state(struct fpga_manager *mgr) in sysconfig_ops_state()
272 static int sysconfig_ops_write_init(struct fpga_manager *mgr, in sysconfig_ops_write_init()
315 static int sysconfig_ops_write(struct fpga_manager *mgr, const char *buf, in sysconfig_ops_write()
321 static int sysconfig_ops_write_complete(struct fpga_manager *mgr, in sysconfig_ops_write_complete()
357 struct fpga_manager *mgr; in sysconfig_probe()
Dof-fpga-region.c50 static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) in of_fpga_region_get_mgr()
53 struct fpga_manager *mgr; in of_fpga_region_get_mgr()
402 struct fpga_manager *mgr; in of_fpga_region_probe()
431 struct fpga_manager *mgr = region->mgr; in of_fpga_region_remove()
Ddfl-fme-region.c36 struct fpga_manager *mgr; in fme_region_probe()
67 struct fpga_manager *mgr = region->mgr; in fme_region_remove()
Dzynq-fpga.c251 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()
624 struct fpga_manager *mgr; in zynq_fpga_remove()
/linux-6.12.1/drivers/fpga/tests/
Dfpga-mgr-test.c42 struct fpga_manager *mgr;
84 static int op_parse_header(struct fpga_manager *mgr, struct fpga_image_info *info, in op_parse_header()
108 static int op_write_init(struct fpga_manager *mgr, struct fpga_image_info *info, in op_write_init()
123 static int op_write(struct fpga_manager *mgr, const char *buf, size_t count) in op_write()
147 static int op_write_sg(struct fpga_manager *mgr, struct sg_table *sgt) in op_write_sg()
179 static int op_write_complete(struct fpga_manager *mgr, struct fpga_image_info *info) in op_write_complete()
205 struct fpga_manager *mgr; in fpga_mgr_test_get()
Dfpga-region-test.c28 struct fpga_manager *mgr;
51 static int op_write(struct fpga_manager *mgr, const char *buf, size_t count) in op_write()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-fpga-manager1 What: /sys/class/fpga_manager/<fpga>/name
7 What: /sys/class/fpga_manager/<fpga>/state
38 What: /sys/class/fpga_manager/<fpga>/status
/linux-6.12.1/Documentation/driver-api/fpga/
Dfpga-mgr.rst41 struct fpga_manager *mgr;
65 struct fpga_manager *mgr = platform_get_drvdata(pdev);
126 * ``fpga_mgr_states`` - Values for :c:expr:`fpga_manager->state`.
127 * struct fpga_manager - the FPGA manager struct
147 :functions: fpga_manager

12