scan_manager.h 541 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013 Altera Corporation <www.altera.com>
  4. */
  5. #ifndef _SCAN_MANAGER_H_
  6. #define _SCAN_MANAGER_H_
  7. struct socfpga_scan_manager {
  8. u32 stat;
  9. u32 en;
  10. u32 padding[2];
  11. u32 fifo_single_byte;
  12. u32 fifo_double_byte;
  13. u32 fifo_triple_byte;
  14. u32 fifo_quad_byte;
  15. };
  16. int scan_mgr_configure_iocsr(void);
  17. u32 scan_mgr_get_fpga_id(void);
  18. int iocsr_get_config_table(const unsigned int chain_id,
  19. const unsigned long **table,
  20. unsigned int *table_len);
  21. #endif /* _SCAN_MANAGER_H_ */