2014-06-10 06:17:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Altera Corporation <www.altera.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SCAN_MANAGER_H_
|
|
|
|
#define _SCAN_MANAGER_H_
|
|
|
|
|
|
|
|
struct socfpga_scan_manager {
|
|
|
|
u32 stat;
|
|
|
|
u32 en;
|
|
|
|
u32 padding[2];
|
|
|
|
u32 fifo_single_byte;
|
|
|
|
u32 fifo_double_byte;
|
2014-11-26 18:14:32 +00:00
|
|
|
u32 fifo_triple_byte;
|
2014-06-10 06:17:42 +00:00
|
|
|
u32 fifo_quad_byte;
|
|
|
|
};
|
|
|
|
|
2014-07-22 09:28:35 +00:00
|
|
|
int scan_mgr_configure_iocsr(void);
|
2015-07-31 16:06:50 +00:00
|
|
|
u32 scan_mgr_get_fpga_id(void);
|
2015-07-25 07:53:23 +00:00
|
|
|
int iocsr_get_config_table(const unsigned int chain_id,
|
|
|
|
const unsigned long **table,
|
|
|
|
unsigned int *table_len);
|
2014-07-22 09:28:35 +00:00
|
|
|
|
2014-06-10 06:17:42 +00:00
|
|
|
#endif /* _SCAN_MANAGER_H_ */
|