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