DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 9/02/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.72. btc_dptxll_mst_cmp_ports

Prototype:

int btc_dptxll_mst_cmp_ports(
BTC_RAD *A_RAD,   
BYTE A_port_number,
,
BTC_RAD *B_RAD,   
BYTE B_port_number)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptxll_syslib.h >

Return:

0 = A same as B, 1 = B is a child of A, –1 = B is not related to A

Parameters:

  • A_RAD—MST Relatives Address of port A device
  • A_port_number—Output port A number
  • B_RAD—MST Relatives Address of port B device
  • B_port_number—Output port B number

Description:

This function compares port A and port B and checks if A is B's parent.

Example:

btc_dptxll_mst_cmp_ports(&RAD_A,1,&RAD_B,8);