mipi_tx_phy
Vitis Drivers API Documentation
xmipi_tx_phy.h File Reference

Data Structures

struct  XMipi_Tx_Phy_Config
 The configuration structure for mipi_tx_phy. More...
 
struct  XMipi_Tx_Phy
 The Xmipi_tx_phy Controller driver instance data. More...
 

Macros

#define XMIPI_TX_PHY_H_
 Prevent circular inclusions by using protection macros. More...
 
mipi_tx_phy Modes
#define XMIPI_TX_PHY_MODE_MIN   0
 Lower limit for Mode. More...
 
#define XMIPI_TX_PHY_LOW_POWER_MODE   0
 Lane in Low Power Mode. More...
 
#define XMIPI_TX_PHY_HIGH_POWER_MODE   1
 Lane in High Power Mode. More...
 
#define XMIPI_TX_PHY_ESCAPE_MODE   2
 Lane in Escape Mode. More...
 
#define XMIPI_TX_PHY_MODE_MAX   2
 Upper Limit for mode. More...
 
#define XMIPI_TX_PHY_MAX_LANES_V10   4
 V1.0 supports 4 Lanes. More...
 
mipi_tx_phy Info Handles
#define XMIPI_TX_PHY_HANDLE_MIN   0
 Lower Bound for XMIPI_TX_PHY_HANDLE. More...
 
#define XMIPI_TX_PHY_HANDLE_INIT_TIMER   1
 Handle for Initialization Timer. More...
 
#define XMIPI_TX_PHY_HANDLE_HSTIMEOUT   2
 Handle for HS Timeout. More...
 
#define XMIPI_TX_PHY_HANDLE_ESCTIMEOUT   3
 Handle for Escape Timeout. More...
 
#define XMIPI_TX_PHY_HANDLE_CLKLANE   4
 Handle for Clock Lane. More...
 
#define XMIPI_TX_PHY_HANDLE_DLANE0   5
 Handle for Data Lane 0. More...
 
#define XMIPI_TX_PHY_HANDLE_DLANE1   6
 Handle for Data Lane 1. More...
 
#define XMIPI_TX_PHY_HANDLE_DLANE2   7
 Handle for Data Lane 2. More...
 
#define XMIPI_TX_PHY_HANDLE_DLANE3   8
 Handle for Data Lane 3. More...
 
#define XMIPI_TX_PHY_HANDLE_MAX   9
 Upper Bound for XMIPI_TX_PHY_HANDLE. More...
 
mipi_tx_phy HSTIMEOUT range
#define XMIPI_TX_PHY_HS_TIMEOUT_MIN_VALUE   10000UL
 
#define XMIPI_TX_PHY_HS_TIMEOUT_MAX_VALUE   65541UL
 
mipi_tx_phy HSSETTLE range
#define XMIPI_TX_PHY_HS_SETTLE_MAX_VALUE   0x1FF
 
mipi_tx_phy Flags to Enable or Disable core
#define XMIPI_TX_PHY_ENABLE_FLAG   1
 
#define XMIPI_TX_PHY_DISABLE_FLAG   0
 

Functions

XMipi_Tx_Phy_ConfigXMipi_Tx_Phy_LookupConfig (UINTPTR BaseAddress)
 Look up the hardware configuration for a device instance. More...
 
u32 XMipi_Tx_Phy_CfgInitialize (XMipi_Tx_Phy *InstancePtr, XMipi_Tx_Phy_Config *CfgPtr, UINTPTR EffectiveAddr)
 Initialize the XMipi_Tx_Phy instance provided by the caller based on the given Config structure. More...
 
u32 XMipi_Tx_Phy_Configure (XMipi_Tx_Phy *InstancePtr, u8 Handle, u32 Value)
 Configure the registers of the Mipi_Tx_Phy instance. More...
 
u32 XMipi_Tx_Phy_GetInfo (XMipi_Tx_Phy *InstancePtr, u8 Handle)
 Get information stored in the Mipi_Tx_Phy instance based on the handle passed. More...
 
void XMipi_Tx_Phy_Reset (XMipi_Tx_Phy *InstancePtr)
 This is used to do a soft reset of the Mipi_Tx_Phy IP instance. More...
 
void XMipi_Tx_Phy_ClearDataLane (XMipi_Tx_Phy *InstancePtr, u8 DataLane, u32 Mask)
 This is used to clear the Abort Error (Escape or High Speed) bits in the Data Lane 0 through 3. More...
 
u32 XMipi_Tx_Phy_GetClkLaneStatus (XMipi_Tx_Phy *InstancePtr)
 This is used to get information about Clock Lane status. More...
 
u32 XMipi_Tx_Phy_GetClkLaneMode (XMipi_Tx_Phy *InstancePtr)
 This is used to get specific Lane mode information about Clock Lane. More...
 
u32 XMipi_Tx_Phy_GetDataLaneStatus (XMipi_Tx_Phy *InstancePtr, u8 DataLane)
 This is used to get information about a Data Lane status. More...
 
u16 XMipi_Tx_Phy_GetPacketCount (XMipi_Tx_Phy *InstancePtr, u8 DataLane)
 This is used to get count of packets received on each lane. More...
 
u8 XMipi_Tx_Phy_GetDLCalibStatus (XMipi_Tx_Phy *InstancePtr, u8 DataLane)
 This is used to get Data Lane Calibration status. More...
 
u32 XMipi_Tx_Phy_GetDataLaneMode (XMipi_Tx_Phy *InstancePtr, u8 DataLane)
 This is used to get specfic Lane mode information about a Data Lane. More...
 
void XMipi_Tx_Phy_Activate (XMipi_Tx_Phy *InstancePtr, u8 Flag)
 This function is used to enable or disable the Mipi_Tx_Phy core. More...
 
u8 XMipi_Tx_Phy_GetRegIntfcPresent (XMipi_Tx_Phy *InstancePtr)
 Get if register interface is present from the config structure for specified Mipi_Tx_Phy instance. More...
 
u32 XMipi_Tx_Phy_SelfTest (XMipi_Tx_Phy *InstancePtr)
 Runs a self-test on the driver/device. More...