2016-06-14 01:19:17 +02:00
|
|
|
/** AXI Stream interconnect related helper functions
|
|
|
|
*
|
|
|
|
* These functions present a simpler interface to Xilinx' AXI Stream switch driver (XAxis_Switch_*)
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
|
|
* @copyright 2015-2016, Steffen Vogel
|
|
|
|
* This file is part of S2SS. All Rights Reserved. Proprietary and confidential.
|
|
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
|
|
**********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _SWITCH_H_
|
|
|
|
#define _SWITCH_H_
|
|
|
|
|
|
|
|
#include <xilinx/xaxis_switch.h>
|
|
|
|
|
2016-06-19 19:23:19 +02:00
|
|
|
struct ip;
|
2016-06-14 01:19:17 +02:00
|
|
|
|
2016-06-19 19:23:19 +02:00
|
|
|
int switch_init(struct ip *c);
|
|
|
|
|
|
|
|
int switch_connect(struct ip *c, struct ip *mi, struct ip *si);
|
2016-06-14 01:19:17 +02:00
|
|
|
|
|
|
|
#endif /* _SWITCH_H_ */
|