Home
last modified time | relevance | path

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

/linux-6.1.9/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);
206 struct fpga_manager { struct
[all …]
Dfpga-region.h25 struct fpga_manager *mgr;
46 struct fpga_manager *mgr;
65 fpga_region_register(struct device *parent, struct fpga_manager *mgr,
/linux-6.1.9/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-spi.c30 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()
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()
90 struct fpga_manager *mgr; in zynqmp_fpga_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()
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.c71 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()
401 struct fpga_manager *mgr; in s10_probe()
440 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()
Daltera-cvp.c75 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 …]
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()
525 struct fpga_manager *mgr = platform_get_drvdata(pdev); in socfpga_a10_fpga_remove()
Dmicrochip-spi.c75 static enum fpga_mgr_states mpf_ops_state(struct fpga_manager *mgr) in mpf_ops_state()
92 static int mpf_ops_parse_header(struct fpga_manager *mgr, in mpf_ops_parse_header()
237 static int mpf_ops_write_init(struct fpga_manager *mgr, in mpf_ops_write_init()
275 static int mpf_ops_write(struct fpga_manager *mgr, const char *buf, size_t count) in mpf_ops_write()
313 static int mpf_ops_write_complete(struct fpga_manager *mgr, in mpf_ops_write_complete()
357 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()
Daltera-ps-spi.c88 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()
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.c358 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()
Ddfl-fme-region.c36 struct fpga_manager *mgr; in fme_region_probe()
67 struct fpga_manager *mgr = region->mgr; in fme_region_remove()
Dof-fpga-region.c48 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()
429 struct fpga_manager *mgr = region->mgr; in of_fpga_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()
628 struct fpga_manager *mgr; in zynq_fpga_remove()
Dfpga-region.c258 fpga_region_register(struct device *parent, struct fpga_manager *mgr, in fpga_region_register()
/linux-6.1.9/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.1.9/Documentation/driver-api/fpga/
Dfpga-mgr.rst40 struct fpga_manager *mgr;
64 struct fpga_manager *mgr = platform_get_drvdata(pdev);
124 * ``fpga_mgr_states`` - Values for :c:expr:`fpga_manager->state`.
125 * struct fpga_manager - the FPGA manager struct
141 :functions: fpga_manager