axis_switch
Vitis Drivers API Documentation
xaxis_switch.h File Reference

Data Structures

struct  XAxis_Switch_Config
 This typedef contains configuration information for the AXI4-Stream Switch core. More...
 
struct  XAxis_Switch
 The AXI4-Stream Switch driver instance data. More...
 

Macros

#define XAXIS_SWITCH_H_
 Prevent circular inclusions by using protection macros. More...
 
#define XAxisScr_RegUpdateEnable(InstancePtr)
 This macro enables register updates. More...
 
#define XAxisScr_RegUpdateDisable(InstancePtr)
 This macro disables register updates. More...
 

Functions

XAxis_Switch_ConfigXAxisScr_LookupConfig (u16 DeviceId)
 This function returns a reference to an XAxis_Switch_Config structure based on the core id, DeviceId. More...
 
s32 XAxisScr_CfgInitialize (XAxis_Switch *InstancePtr, XAxis_Switch_Config *CfgPtr, UINTPTR EffectiveAddr)
 This function initializes the AXI4-Stream Switch core. More...
 
void XAxisScr_MiPortEnable (XAxis_Switch *InstancePtr, u8 MiIndex, u8 SiIndex)
 This function enables the MUX port specified by a MI index and links with desired SI, indicated by a SiIndex. More...
 
void XAxisScr_MiPortDisable (XAxis_Switch *InstancePtr, u8 MiIndex)
 This function disables the MUX port specified by a MI index and un-link SI, set previously. More...
 
s32 XAxisScr_IsMiPortEnabled (XAxis_Switch *InstancePtr, u8 MiIndex, u8 SiIndex)
 This function returns the status of whether MUX is sourced from desired SI. More...
 
s32 XAxisScr_IsMiPortDisabled (XAxis_Switch *InstancePtr, u8 MiIndex)
 This function returns the status of whether MUX is disabled. More...
 
void XAxisScr_MiPortDisableAll (XAxis_Switch *InstancePtr)
 This function disables all the MUX port, in turn removes association with desired SI. More...
 
s32 XAxisScr_SelfTest (XAxis_Switch *InstancePtr)
 This function performs self test on AXI4-Stream Switch core registers. More...