fpga_manager
static enum fpga_mgr_states altera_cvp_state(struct fpga_manager *mgr)
static int altera_cvp_chk_error(struct fpga_manager *mgr, size_t bytes)
static int altera_cvp_v2_wait_for_credit(struct fpga_manager *mgr,
static int altera_cvp_teardown(struct fpga_manager *mgr,
static int altera_cvp_write_init(struct fpga_manager *mgr,
static int altera_cvp_write(struct fpga_manager *mgr, const char *buf,
static int altera_cvp_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
struct fpga_manager *mgr = pci_get_drvdata(pdev);
int (*wait_credit)(struct fpga_manager *mgr, u32 blocks);
static int alt_pr_fpga_write(struct fpga_manager *mgr, const char *buf,
static int alt_pr_fpga_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static enum fpga_mgr_states alt_pr_fpga_state(struct fpga_manager *mgr)
static int alt_pr_fpga_write_init(struct fpga_manager *mgr,
static int altera_ps_write(struct fpga_manager *mgr, const char *buf,
static int altera_ps_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static enum fpga_mgr_states altera_ps_state(struct fpga_manager *mgr)
static int altera_ps_write_init(struct fpga_manager *mgr,
static int fme_mgr_write_init(struct fpga_manager *mgr,
static int fme_mgr_write(struct fpga_manager *mgr,
static int fme_mgr_write_complete(struct fpga_manager *mgr,
static u64 fme_mgr_status(struct fpga_manager *mgr)
struct fpga_manager *mgr;
struct fpga_manager *mgr;
struct fpga_manager *mgr = region->mgr;
static int fpga_mgr_parse_header_mapped(struct fpga_manager *mgr,
static int fpga_mgr_parse_header_sg_first(struct fpga_manager *mgr,
static void *fpga_mgr_parse_header_sg(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static int fpga_mgr_write_init_buf(struct fpga_manager *mgr,
static inline void fpga_mgr_fpga_remove(struct fpga_manager *mgr)
static int fpga_mgr_prepare_sg(struct fpga_manager *mgr,
static inline enum fpga_mgr_states fpga_mgr_state(struct fpga_manager *mgr)
static int fpga_mgr_buf_load_sg(struct fpga_manager *mgr,
static inline u64 fpga_mgr_status(struct fpga_manager *mgr)
static int fpga_mgr_buf_load_mapped(struct fpga_manager *mgr,
static int fpga_mgr_buf_load(struct fpga_manager *mgr,
static inline int fpga_mgr_write(struct fpga_manager *mgr, const char *buf, size_t count)
static int fpga_mgr_firmware_load(struct fpga_manager *mgr,
int fpga_mgr_load(struct fpga_manager *mgr, struct fpga_image_info *info)
static inline int fpga_mgr_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr = to_fpga_manager(dev);
struct fpga_manager *mgr = to_fpga_manager(dev);
struct fpga_manager *mgr = to_fpga_manager(dev);
static struct fpga_manager *__fpga_mgr_get(struct device *mgr_dev)
struct fpga_manager *mgr;
struct fpga_manager *fpga_mgr_get(struct device *dev)
struct fpga_manager *mgr;
struct fpga_manager *of_fpga_mgr_get(struct device_node *node)
struct fpga_manager *mgr;
void fpga_mgr_put(struct fpga_manager *mgr)
int fpga_mgr_lock(struct fpga_manager *mgr)
void fpga_mgr_unlock(struct fpga_manager *mgr)
static inline int fpga_mgr_parse_header(struct fpga_manager *mgr,
struct fpga_manager *
struct fpga_manager *mgr;
static inline int fpga_mgr_write_init(struct fpga_manager *mgr,
struct fpga_manager *
void fpga_mgr_unregister(struct fpga_manager *mgr)
struct fpga_manager *
struct fpga_manager *mgr;
static inline int fpga_mgr_write_sg(struct fpga_manager *mgr,
struct fpga_manager *
struct fpga_manager *mgr = to_fpga_manager(dev);
__fpga_region_register(struct device *parent, struct fpga_manager *mgr,
static int ice40_fpga_ops_write(struct fpga_manager *mgr,
static int ice40_fpga_ops_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static enum fpga_mgr_states ice40_fpga_ops_state(struct fpga_manager *mgr)
static int ice40_fpga_ops_write_init(struct fpga_manager *mgr,
static enum fpga_mgr_states sysconfig_ops_state(struct fpga_manager *mgr)
static int sysconfig_ops_write_init(struct fpga_manager *mgr,
static int sysconfig_ops_write(struct fpga_manager *mgr, const char *buf,
static int sysconfig_ops_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static int machxo2_cleanup(struct fpga_manager *mgr)
static enum fpga_mgr_states machxo2_spi_state(struct fpga_manager *mgr)
static int machxo2_write_init(struct fpga_manager *mgr,
static int machxo2_write(struct fpga_manager *mgr, const char *buf,
static int machxo2_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static int mpf_ops_parse_header(struct fpga_manager *mgr,
static int mpf_ops_write_init(struct fpga_manager *mgr,
static int mpf_ops_write(struct fpga_manager *mgr, const char *buf, size_t count)
static int mpf_ops_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static enum fpga_mgr_states mpf_ops_state(struct fpga_manager *mgr)
struct fpga_manager *mgr;
struct fpga_manager *mgr = region->mgr;
static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np)
struct fpga_manager *mgr;
static int socfpga_a10_fpga_set_cdratio(struct fpga_manager *mgr,
static int socfpga_a10_fpga_write_init(struct fpga_manager *mgr,
static int socfpga_a10_fpga_write(struct fpga_manager *mgr, const char *buf,
static int socfpga_a10_fpga_write_complete(struct fpga_manager *mgr,
static enum fpga_mgr_states socfpga_a10_fpga_state(struct fpga_manager *mgr)
struct fpga_manager *mgr;
struct fpga_manager *mgr = platform_get_drvdata(pdev);
static int socfpga_fpga_reset(struct fpga_manager *mgr)
static int socfpga_fpga_ops_configure_init(struct fpga_manager *mgr,
static int socfpga_fpga_ops_configure_write(struct fpga_manager *mgr,
static int socfpga_fpga_ops_configure_complete(struct fpga_manager *mgr,
static enum fpga_mgr_states socfpga_fpga_ops_state(struct fpga_manager *mgr)
struct fpga_manager *mgr;
static int s10_ops_write_init(struct fpga_manager *mgr,
static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
static int s10_ops_write(struct fpga_manager *mgr, const char *buf,
static int s10_ops_write_complete(struct fpga_manager *mgr,
struct fpga_manager *mgr;
struct fpga_manager *mgr = platform_get_drvdata(pdev);
static bool s10_free_buffers(struct fpga_manager *mgr)
static uint s10_free_buffer_count(struct fpga_manager *mgr)
static int op_write_init(struct fpga_manager *mgr, struct fpga_image_info *info,
static int op_write(struct fpga_manager *mgr, const char *buf, size_t count)
static int op_write_sg(struct fpga_manager *mgr, struct sg_table *sgt)
static int op_write_complete(struct fpga_manager *mgr, struct fpga_image_info *info)
struct fpga_manager *mgr;
struct fpga_manager *mgr;
static int op_parse_header(struct fpga_manager *mgr, struct fpga_image_info *info,
struct fpga_manager *mgr;
static int op_write(struct fpga_manager *mgr, const char *buf, size_t count)
struct fpga_manager *mgr;
static int ts73xx_fpga_write_init(struct fpga_manager *mgr,
static int ts73xx_fpga_write(struct fpga_manager *mgr, const char *buf,
static int ts73xx_fpga_write_complete(struct fpga_manager *mgr,
static int versal_fpga_ops_write_init(struct fpga_manager *mgr,
static int versal_fpga_ops_write(struct fpga_manager *mgr,
struct fpga_manager *mgr;
static int xilinx_core_write(struct fpga_manager *mgr, const char *buf,
static int xilinx_core_write_complete(struct fpga_manager *mgr,
static int get_done_gpio(struct fpga_manager *mgr)
struct fpga_manager *mgr;
static enum fpga_mgr_states xilinx_core_state(struct fpga_manager *mgr)
static int wait_for_init_b(struct fpga_manager *mgr, int value,
static int xilinx_core_write_init(struct fpga_manager *mgr,
static int zynq_fpga_ops_write_init(struct fpga_manager *mgr,
static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt)
static int zynq_fpga_ops_write_complete(struct fpga_manager *mgr,
static enum fpga_mgr_states zynq_fpga_ops_state(struct fpga_manager *mgr)
struct fpga_manager *mgr;
struct fpga_manager *mgr;
struct fpga_manager *mgr;
static int zynqmp_fpga_ops_write_init(struct fpga_manager *mgr,
static int zynqmp_fpga_ops_write(struct fpga_manager *mgr,
static enum fpga_mgr_states zynqmp_fpga_ops_state(struct fpga_manager *mgr)
struct fpga_manager;
enum fpga_mgr_states (*state)(struct fpga_manager *mgr);
u64 (*status)(struct fpga_manager *mgr);
int (*parse_header)(struct fpga_manager *mgr,
int (*write_init)(struct fpga_manager *mgr,
int (*write)(struct fpga_manager *mgr, const char *buf, size_t count);
int (*write_sg)(struct fpga_manager *mgr, struct sg_table *sgt);
int (*write_complete)(struct fpga_manager *mgr,
void (*fpga_remove)(struct fpga_manager *mgr);
#define to_fpga_manager(d) container_of(d, struct fpga_manager, dev)
int fpga_mgr_load(struct fpga_manager *mgr, struct fpga_image_info *info);
int fpga_mgr_lock(struct fpga_manager *mgr);
void fpga_mgr_unlock(struct fpga_manager *mgr);
struct fpga_manager *of_fpga_mgr_get(struct device_node *node);
struct fpga_manager *fpga_mgr_get(struct device *dev);
void fpga_mgr_put(struct fpga_manager *mgr);
struct fpga_manager *
struct fpga_manager *
void fpga_mgr_unregister(struct fpga_manager *mgr);
struct fpga_manager *
struct fpga_manager *
struct fpga_manager *mgr;
struct fpga_manager *mgr;
__fpga_region_register(struct device *parent, struct fpga_manager *mgr,