dp: XDptx_ConfigTable->XDp_ConfigTable.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
f44bb328d6
commit
eb9df3f478
2 changed files with 8 additions and 8 deletions
|
@ -30,9 +30,9 @@
|
||||||
##
|
##
|
||||||
##*****************************************************************************/
|
##*****************************************************************************/
|
||||||
proc generate {drv_handle} {
|
proc generate {drv_handle} {
|
||||||
xdefine_include_file $drv_handle "xparameters.h" "XDptx" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK"
|
xdefine_include_file $drv_handle "xparameters.h" "XDp" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK"
|
||||||
xdefine_config_file $drv_handle "xdptx_g.c" "XDptx" "DEVICE_ID" "C_BASEADDR" "S_AXI_ACLK" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION"
|
xdefine_config_file $drv_handle "xdptx_g.c" "XDp" "DEVICE_ID" "C_BASEADDR" "S_AXI_ACLK" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION"
|
||||||
xdefine_canonical_xpars $drv_handle "xparameters.h" "XDptx" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK"
|
xdefine_canonical_xpars $drv_handle "xparameters.h" "XDp" "NUM_INSTANCES" "DEVICE_ID" "C_BASEADDR" "C_LANE_COUNT" "C_LINK_RATE" "C_MAX_BITS_PER_COLOR" "C_QUAD_PIXEL_ENABLE" "C_DUAL_PIXEL_ENABLE" "C_YCRCB_ENABLE" "C_YONLY_ENABLE" "C_GT_DATAWIDTH" "C_SECONDARY_SUPPORT" "C_AUDIO_CHANNELS" "C_MST_ENABLE" "C_NUMBER_OF_MST_STREAMS" "C_PROTOCOL_SELECTION" "S_AXI_ACLK"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
*
|
*
|
||||||
* @file xdp_sinit.c
|
* @file xdp_sinit.c
|
||||||
*
|
*
|
||||||
* This file contains static initialization methods for the XDptx driver.
|
* This file contains static initialization methods for the XDp driver.
|
||||||
*
|
*
|
||||||
* @note None.
|
* @note None.
|
||||||
*
|
*
|
||||||
|
@ -59,14 +59,14 @@
|
||||||
* A table of configuration structures containing the configuration information
|
* A table of configuration structures containing the configuration information
|
||||||
* for each DisplayPort TX core in the system.
|
* for each DisplayPort TX core in the system.
|
||||||
*/
|
*/
|
||||||
extern XDp_Config XDptx_ConfigTable[XPAR_XDPTX_NUM_INSTANCES];
|
extern XDp_Config XDp_ConfigTable[XPAR_XDPTX_NUM_INSTANCES];
|
||||||
|
|
||||||
/**************************** Function Definitions ****************************/
|
/**************************** Function Definitions ****************************/
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/**
|
/**
|
||||||
* This function looks for the device configuration based on the unique device
|
* This function looks for the device configuration based on the unique device
|
||||||
* ID. The table XDptx_ConfigTable[] contains the configuration information for
|
* ID. The table XDp_ConfigTable[] contains the configuration information for
|
||||||
* each device in the system.
|
* each device in the system.
|
||||||
*
|
*
|
||||||
* @param DeviceId is the unique device ID of the device being looked up.
|
* @param DeviceId is the unique device ID of the device being looked up.
|
||||||
|
@ -83,8 +83,8 @@ XDp_Config *XDp_LookupConfig(u16 DeviceId)
|
||||||
u32 Index;
|
u32 Index;
|
||||||
|
|
||||||
for (Index = 0; Index < XPAR_XDPTX_NUM_INSTANCES; Index++) {
|
for (Index = 0; Index < XPAR_XDPTX_NUM_INSTANCES; Index++) {
|
||||||
if (XDptx_ConfigTable[Index].DeviceId == DeviceId) {
|
if (XDp_ConfigTable[Index].DeviceId == DeviceId) {
|
||||||
CfgPtr = &XDptx_ConfigTable[Index];
|
CfgPtr = &XDp_ConfigTable[Index];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue