altera-pr-ip-core.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Driver for Altera Partial Reconfiguration IP Core
  3. *
  4. * Copyright (C) 2016 Intel Corporation
  5. *
  6. * Based on socfpga-a10.c Copyright (C) 2015-2016 Altera Corporation
  7. * by Alan Tull <atull@opensource.altera.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms and conditions of the GNU General Public License,
  11. * version 2, as published by the Free Software Foundation.
  12. *
  13. * This program is distributed in the hope it will be useful, but WITHOUT
  14. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  16. * more details.
  17. *
  18. * You should have received a copy of the GNU General Public License along with
  19. * this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. #ifndef _ALT_PR_IP_CORE_H
  22. #define _ALT_PR_IP_CORE_H
  23. #include <linux/io.h>
  24. int alt_pr_register(struct device *dev, void __iomem *reg_base);
  25. int alt_pr_unregister(struct device *dev);
  26. #endif /* _ALT_PR_IP_CORE_H */