#include "xilinx-core.h"
#include <linux/delay.h>
#include <linux/fpga/fpga-mgr.h>
#include <linux/gpio/consumer.h>
#include <linux/of.h>
static int get_done_gpio(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,
unsigned long alt_udelay)
{ … }
static int xilinx_core_write_init(struct fpga_manager *mgr,
struct fpga_image_info *info, const char *buf,
size_t count)
{ … }
static int xilinx_core_write(struct fpga_manager *mgr, const char *buf,
size_t count)
{ … }
static int xilinx_core_write_complete(struct fpga_manager *mgr,
struct fpga_image_info *info)
{ … }
static inline struct gpio_desc *
xilinx_core_devm_gpiod_get(struct device *dev, const char *con_id,
const char *legacy_con_id, enum gpiod_flags flags)
{ … }
static const struct fpga_manager_ops xilinx_core_ops = …;
int xilinx_core_probe(struct xilinx_fpga_core *core)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;