no-OS
Loading...
Searching...
No Matches
max96792_diag.c File Reference
#include "max96792.h"
#include "max96792_diag.h"
#include "max96792_regs.h"
#include "gmsl_cam_des.h"
#include "gmsl_dbg.h"
#include "gmsl_reg_access.h"
#include "no_os_error.h"
#include "no_os_delay.h"
Include dependency graph for max96792_diag.c:

Functions

int max96792_check_video_pipe_enable (struct gmsl_dev *dev, struct max96792_pipe_enabled_status *pipe_en)
 Check if the video pipes are enabled for the MAX96792 device.
 
int max96792_check_gmsl_link_enable (struct gmsl_dev *dev, struct max96792_link_enabled_status *link_en)
 Check if the GMSL links are enabled for the MAX96792 device.
 
int max96792_pipe_diag_check_video_lock_status (struct gmsl_dev *dev, void *video_lock_status, bool *diag_err)
 Check the video lock status of the max96792 deserializer.
 
int max96792_link_diag_check_link_lock_status (struct gmsl_dev *dev, void *link_lock_status, bool *diag_err)
 Check the link lock status of the max96792 deserializer.
 
int max96792_dev_diag_get_device_id (struct gmsl_dev *dev, void *dev_id_status, bool *diag_err)
 Retrieve the device ID of the max96792 deserializer and check for diagnostic errors.
 
int max96792_dev_diag_get_device_revision (struct gmsl_dev *dev, void *dev_revision_status, bool *diag_err)
 Retrieve the device revision status of the max96792 deserializer.
 
int max96792_link_diag_check_decode_error_status (struct gmsl_dev *dev, void *decode_err_status, bool *diag_err)
 Check decode error status for max96792 link diagnostics.
 
int max96792_link_diag_check_idle_error_status (struct gmsl_dev *dev, void *idle_err_status, bool *diag_err)
 Check the idle error status of the max96792 link.
 
int max96792_csi_diag_check_mipi_status (struct gmsl_dev *dev, void *mipi_status, bool *diag_err)
 Check the MIPI status of the max96792 deserializer.
 
int max96792_link_diag_get_line_fault_int_status (struct gmsl_dev *dev, uint8_t *line_fault_int)
 Get the line fault interrupt status for the max96792 deserializer.
 
int max96792_link_diag_get_line_fault_enabled_status (struct gmsl_dev *dev, uint8_t *line_fault_enable_status)
 Get the enabled status of line fault detection for the max96792 deserializer.
 
int max96792_link_diag_get_lmn_status (struct gmsl_dev *dev, enum max96792_link_lmn lmn, enum max96792_link_diag_lmn_status *line_fault_status)
 Get the link diagnostic status for a specified LMN.
 
int max96792_link_diag_check_line_fault_status (struct gmsl_dev *dev, void *line_fault_status, bool *diag_err)
 Check the line fault status of the max96792 deserializer.
 
int max96792_dev_diag_check_part_config (struct gmsl_dev *dev, void *part_cfg_status, bool *diag_err)
 Check the part configuration of the max96792 device.
 
int max96792_link_diag_check_max_retransmission_error_status (struct gmsl_dev *dev, void *max_retransmission_status, bool *diag_err)
 Get the link lock status of the MAX96792 deserializer.
 
int max96792_pipe_diag_check_video_block_length_error (struct gmsl_dev *dev, void *video_block_length_status, bool *diag_err)
 Check for video block length errors in the MAX96792 deserializer.
 
int max96792_dev_diag_check_remote_err_flg (struct gmsl_dev *dev, void *rem_err_flg_status, bool *diag_err)
 Check for Remote Error Flag status in the MAX96792 deserializer.
 
int max96792_link_diag_check_eye_open_monitor_error (struct gmsl_dev *dev, void *eom_status, bool *diag_err)
 Check for Eye Open Monitor errors in the MAX96792 deserializer.
 
int max96792_pipe_diag_check_line_memory_overflow (struct gmsl_dev *dev, void *line_mem_ovrflw_status, bool *diag_err)
 Check for Line Memory Overflow errors in the video pipes of the MAX96792 deserializer.
 
int max96792_pipe_diag_check_crc_error (struct gmsl_dev *dev, void *vid_line_crc_status, bool *diag_err)
 Check for CRC errors in the video pipes of the MAX96792 deserializer.
 
int max96792_pipe_diag_check_stream_id (struct gmsl_dev *dev, void *stream_id_status, bool *diag_err)
 Check the stream ID for each video pipe and log diagnostic information.