63 #ifndef VIDEO_IO_CSITX_H_ 64 #define VIDEO_IO_CSITX_H_ 67 #include <VX/vx_kernels.h> 81 #define TIVX_KERNEL_CSITX_NAME "com.ti.csitx" 94 #define TIVX_CSITX_PRINT_STATISTICS (0x40000000u) 102 #define TIVX_CSITX_GET_STATISTICS (0x40000001u) 113 #define TIVX_CSITX_MAX_CH (4U) 119 #if defined (SOC_J721S2) || defined (SOC_J784S4) 120 #define TIVX_CSITX_MAX_INST (2U) 122 #define TIVX_CSITX_MAX_INST (1U) 129 #define TIVX_CSITX_LANE_BAND_SPEED_80_TO_100_MBPS ((uint32_t) 0x00U) 134 #define TIVX_CSITX_LANE_BAND_SPEED_100_TO_120_MBPS ((uint32_t) 0x01U) 139 #define TIVX_CSITX_LANE_BAND_SPEED_120_TO_160_MBPS ((uint32_t) 0x02U) 144 #define TIVX_CSITX_LANE_BAND_SPEED_160_TO_200_MBPS ((uint32_t) 0x03U) 149 #define TIVX_CSITX_LANE_BAND_SPEED_200_TO_240_MBPS ((uint32_t) 0x04U) 154 #define TIVX_CSITX_LANE_BAND_SPEED_240_TO_320_MBPS ((uint32_t) 0x05U) 159 #define TIVX_CSITX_LANE_BAND_SPEED_320_TO_390_MBPS ((uint32_t) 0x06U) 164 #define TIVX_CSITX_LANE_BAND_SPEED_390_TO_450_MBPS ((uint32_t) 0x07U) 169 #define TIVX_CSITX_LANE_BAND_SPEED_450_TO_510_MBPS ((uint32_t) 0x08U) 174 #define TIVX_CSITX_LANE_BAND_SPEED_510_TO_560_MBPS ((uint32_t) 0x09U) 179 #define TIVX_CSITX_LANE_BAND_SPEED_560_TO_640_MBPS ((uint32_t) 0x0AU) 184 #define TIVX_CSITX_LANE_BAND_SPEED_640_TO_690_MBPS ((uint32_t) 0x0BU) 189 #define TIVX_CSITX_LANE_BAND_SPEED_690_TO_770_MBPS ((uint32_t) 0x0CU) 194 #define TIVX_CSITX_LANE_BAND_SPEED_770_TO_870_MBPS ((uint32_t) 0x0DU) 199 #define TIVX_CSITX_LANE_BAND_SPEED_870_TO_950_MBPS ((uint32_t) 0x0EU) 204 #define TIVX_CSITX_LANE_BAND_SPEED_950_TO_1000_MBPS ((uint32_t) 0x0FU) 209 #define TIVX_CSITX_LANE_BAND_SPEED_1000_TO_1200_MBPS ((uint32_t) 0x10U) 214 #define TIVX_CSITX_LANE_BAND_SPEED_1200_TO_1400_MBPS ((uint32_t) 0x11U) 219 #define TIVX_CSITX_LANE_BAND_SPEED_1400_TO_1600_MBPS ((uint32_t) 0x12U) 224 #define TIVX_CSITX_LANE_BAND_SPEED_1600_TO_1800_MBPS ((uint32_t) 0x13U) 229 #define TIVX_CSITX_LANE_BAND_SPEED_1800_TO_2000_MBPS ((uint32_t) 0x14U) 234 #define TIVX_CSITX_LANE_BAND_SPEED_2000_TO_2200_MBPS ((uint32_t) 0x15U) 239 #define TIVX_CSITX_LANE_BAND_SPEED_2200_TO_2500_MBPS ((uint32_t) 0x16U) 245 #define TIVX_CSITX_LANE_BAND_SPEED_RESERVED ((uint32_t) 0x17U) 251 #define TIVX_CSITX_LANE_SPEED_MBPS_RESERVED ((uint32_t) 0xFFFFFFFFU) 269 uint32_t lanePolarityCtrl[5];
Csitx status structure used to get the current status.
#define TIVX_CSITX_MAX_CH
Maximum number of channels supported in the csitx node.
The CSITX DRV instance configuration data structure used by the TIVX_KERNEL_CSITX kernel...
void tivx_csitx_params_init(tivx_csitx_params_t *prms)
Function to initialize Csitx Parameters.
VX_API_ENTRY vx_node VX_API_CALL tivxCsitxNode(vx_graph graph, vx_user_data_object configuration, vx_object_array input)
[Graph] Creates a CSI Tx node.
void tivxUnRegisterVideoIOTargetCsitxKernels(void)
Function to un-register Video IO Kernels on the csitx Target.
struct _vx_user_data_object * vx_user_data_object
The User Data Object. User Data Object is a strongly-typed container for other data structures...
uint32_t startDelayPeriod
struct _vx_object_array * vx_object_array
#define TIVX_CSITX_MAX_INST
Maximum number of instances supported in the csitx node.
The configuration data structure used by the TIVX_KERNEL_CSITX kernel.
void tivxRegisterVideoIOTargetCsitxKernels(void)
Function to register Video IO Kernels on the csitx Target.
struct _vx_graph * vx_graph
struct _vx_node * vx_node
vx_status(* VX_API_CALL)(vx_reference *ref)
Callback type used to register release callbacks from object dervied from references.