Lines Matching refs:fpga_manager
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
183 int fpga_mgr_load(struct fpga_manager *mgr, struct fpga_image_info *info);
185 int fpga_mgr_lock(struct fpga_manager *mgr);
186 void fpga_mgr_unlock(struct fpga_manager *mgr);
188 struct fpga_manager *of_fpga_mgr_get(struct device_node *node);
190 struct fpga_manager *fpga_mgr_get(struct device *dev);
192 void fpga_mgr_put(struct fpga_manager *mgr);
194 struct fpga_manager *fpga_mgr_create(struct device *dev, const char *name,
197 void fpga_mgr_free(struct fpga_manager *mgr);
198 int fpga_mgr_register(struct fpga_manager *mgr);
199 void fpga_mgr_unregister(struct fpga_manager *mgr);
201 int devm_fpga_mgr_register(struct device *dev, struct fpga_manager *mgr);
203 struct fpga_manager *devm_fpga_mgr_create(struct device *dev, const char *name,