scan_manager.h 509 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2013 Altera Corporation <www.altera.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef _SCAN_MANAGER_H_
  7. #define _SCAN_MANAGER_H_
  8. struct socfpga_scan_manager {
  9. u32 stat;
  10. u32 en;
  11. u32 padding[2];
  12. u32 fifo_single_byte;
  13. u32 fifo_double_byte;
  14. u32 fifo_triple_byte;
  15. u32 fifo_quad_byte;
  16. };
  17. int scan_mgr_configure_iocsr(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_ */