|
Jetson Linux API Reference
|
35.5.0 Release
|
Go to the documentation of this file.
24 #ifndef __GMSL_LINK_H__
35 #define __GMSL_LINK_H__
37 #define GMSL_CSI_1X4_MODE 0x1
38 #define GMSL_CSI_2X4_MODE 0x2
39 #define GMSL_CSI_2X2_MODE 0x3
40 #define GMSL_CSI_4X2_MODE 0x4
42 #define GMSL_CSI_PORT_A 0x0
43 #define GMSL_CSI_PORT_B 0x1
44 #define GMSL_CSI_PORT_C 0x2
45 #define GMSL_CSI_PORT_D 0x3
46 #define GMSL_CSI_PORT_E 0x4
47 #define GMSL_CSI_PORT_F 0x5
49 #define GMSL_SERDES_CSI_LINK_A 0x1
50 #define GMSL_SERDES_CSI_LINK_B 0x2
53 #define GMSL_CSI_DT_RAW_12 0x2C
54 #define GMSL_CSI_DT_UED_U1 0x30
55 #define GMSL_CSI_DT_EMBED 0x12
57 #define GMSL_ST_ID_UNUSED 0xFF
63 #define GMSL_DEV_MAX_NUM_DATA_STREAMS 4
struct gmsl_stream streams[GMSL_DEV_MAX_NUM_DATA_STREAMS]
__u32 ser_reg
Serializer slave address.
#define GMSL_DEV_MAX_NUM_DATA_STREAMS
Maximum number of data streams (gmsl_stream elements) in a GMSL link (gmsl_link_ctx).
Holds information about a data stream in a GMSL link (gmsl_link_ctx).
__u32 csi_mode
Deserializer CSI mode.
struct device * s_dev
Sensor device handle.
__u32 num_csi_lanes
Sensor's CSI lane configuration.
__u32 sdev_def
Sensor default slave address.
Holds the configuration of the GMSL links from a sensor to its serializer to its deserializer.
__u32 serdes_csi_link
GMSL link between serializer and deserializer devices.
bool serdev_found
Indicates whether the serializer device for the specified sensor source was found.
__u32 dst_vc
Destination virtual channel (user-defined).
__u32 num_streams
Number of active streams to be mapped from sensor.
__u32 src_csi_port
Sensor to serializer CSI port connection.
__u32 dst_csi_port
Deserializer to Jetson CSI port connection.
__u32 st_vc
Default sensor virtual channel.
__u32 sdev_reg
Sensor proxy slave address.