no-OS
Loading...
Searching...
No Matches
max96792_csi.c File Reference
#include "max96792_csi.h"
#include "max96792_regs.h"
Include dependency graph for max96792_csi.c:

Functions

int max96792_csi_update_pipe_remaps (struct gmsl_dev *dev, struct gmsl_pipe_des_pipe_cfg *pipe)
 This API updates the Deserializer PIPE remaps.
 
int max96792_csi_select_links (struct gmsl_dev *dev, unsigned int mask)
 This API selects/enables the Deserializer LINKs.
 
int max96792_cc_enable_remote_control_chnl (struct gmsl_dev *dev, enum gmsl_link link, bool enable)
 This API enables Remote control channels of Deserializer device.
 
int max96792_csi_enable_mipi_out (struct gmsl_dev *dev, bool enable)
 This API enables the MIPI CSI OUT from the Deserializer.
 
int max96792_csi_init_pipe (struct gmsl_dev *dev, bool pipe_stream_autoselect, struct gmsl_pipe_des_pipe_cfg *pipe)
 Initializes the CSI pipe for the MAX96792 deserializer.
 
int max96792_csi_init_phy (struct gmsl_dev *dev, struct gmsl_link_des_phy_cfg *phy)
 This API initializes the PHY for the MAX96792 deserializer.
 
int max96792_csi_set_cphy_config (struct gmsl_dev *dev, struct gmsl_link_des_phy_cfg *phy)
 This API sets the C-PHY configuration for the MAX96792 deserializer.
 
int max96792_csi_set_dphy_config (struct gmsl_dev *dev, struct gmsl_link_des_phy_cfg *phy)
 This API sets the D-PHY configuration for the MAX96792 deserializer.
 
int max96792_csi_set_rx_link_rate (struct gmsl_dev *dev, struct gmsl_dev_csi_des_init_param *init_param, unsigned int mask)
 This API sets the RX link rate for the MAX96792 deserializer.
 
int max96792_csi_init (struct gmsl_dev *dev)
 Initializes the MAX96792 CSI Deserializer.
 
int max96792_mipi_tunnel_pipe_cntrl (struct gmsl_dev *dev, struct gmsl_pipe_des_pipe_cfg *pipe, enum gmsl_link_mipi_csi_controller dst_cntroller)
 This API controls the MIPI tunnel pipe for a given pipe.
 
int max96792_pipe_set_tx_mode (struct gmsl_dev *dev, struct gmsl_pipe_des_pipe_cfg *pipe)
 This API sets the PHY TX mode for a given pipe.
 
int max96792_csi_copy0_phy_cfg (struct gmsl_dev *dev, bool copy_en, enum gmsl_link_mipi_csi_controller *src_cont, enum gmsl_link_mipi_csi_controller *dest_cont)
 This API copies the PHY configuration from source controller to destination controller.
 
int max96792_csi_copy1_phy_cfg (struct gmsl_dev *dev, bool copy_en, enum gmsl_link_mipi_csi_controller *src_cont, enum gmsl_link_mipi_csi_controller *dest_cont)
 This API copies the PHY configuration from source controller to destination controller.
 
int max96792_csi_update_link_config (struct gmsl_dev *dev, unsigned int mask)
 This API updates the link confguration on MAX96792 Deserializer.