Lines Matching defs:it6161

948 struct it6161 {  struct
960 u32 it6161_addr_hdmi_tx; argument
961 u32 it6161_addr_cec; argument
962 struct device_node *host_node;
963 struct mipi_dsi_device *dsi;
964 struct completion wait_hdcp_event;
965 struct completion wait_edid_complete;
966 struct delayed_work hdcp_work;
967 struct work_struct wait_hdcp_ksv_list;
968 u8 hdmi_tx_hdcp_retry;
970 u32 hdmi_tx_rclk;
972 u32 hdmi_tx_pclk;
974 u32 mipi_rx_mclk;
976 u32 mipi_rx_rclk;
978 u32 mipi_rx_pclk;
979 struct drm_display_mode mipi_rx_p_display_mode;
980 struct drm_display_mode hdmi_tx_display_mode;
981 struct drm_display_mode source_display_mode;
982 struct hdmi_avi_infoframe source_avi_infoframe;
983 u32 vic;
984 u8 mipi_rx_lane_count;
985 bool is_repeater;
986 u8 hdcp_downstream_count;
987 u8 bksv[DRM_HDCP_KSV_LEN];
988 u8 sha1_transform_input[HDCP_SHA1_FIFO_LEN];
989 u16 bstatus;
990 bool enable_drv_hold;
991 u8 hdmi_tx_output_color_space;
992 u8 hdmi_tx_input_color_space;
993 u8 hdmi_tx_mode;
994 u8 support_audio;
1019 static struct it6161 *it6161; argument
1071 static int it6161_mipi_rx_read(struct it6161 *it6161, unsigned int reg_addr) in it6161_mipi_rx_read()
1087 static int mipi_rx_read_word(struct it6161 *it6161, unsigned int reg) in mipi_rx_read_word()
1104 static int it6161_mipi_rx_write(struct it6161 *it6161, unsigned int reg_addr, in it6161_mipi_rx_write()
1121 static int it6161_mipi_rx_set_bits(struct it6161 *it6161, unsigned int reg, in it6161_mipi_rx_set_bits()
1155 static int it6161_hdmi_tx_read(struct it6161 *it6161, unsigned int reg_addr) in it6161_hdmi_tx_read()
1171 static int hdmi_tx_read_word(struct it6161 *it6161, unsigned int reg) in hdmi_tx_read_word()
1189 static int it6161_hdmi_tx_burst_read(struct it6161 *it6161, unsigned int reg_addr, void *buffer, si… in it6161_hdmi_tx_burst_read()
1202 static int it6161_hdmi_tx_write(struct it6161 *it6161, unsigned int reg_addr, in it6161_hdmi_tx_write()
1239 static int it6161_hdmi_tx_set_bits(struct it6161 *it6161, unsigned int reg, in it6161_hdmi_tx_set_bits()
1256 static int inline it6161_hdmi_tx_change_bank(struct it6161 *it6161, int x) in it6161_hdmi_tx_change_bank()
1280 static int it6161_cec_read(struct it6161 *it6161, unsigned int reg_addr) in it6161_cec_read()
1296 static int it6161_cec_write(struct it6161 *it6161, unsigned int reg_addr, in it6161_cec_write()
1342 static void mipi_rx_logic_reset(struct it6161 *it6161) in mipi_rx_logic_reset()
1347 static void mipi_rx_logic_reset_release(struct it6161 *it6161) in mipi_rx_logic_reset_release()
1352 static void hdmi_tx_logic_reset(struct it6161 *it6161) in hdmi_tx_logic_reset()
1357 static void it6161_mipi_rx_int_mask_disable(struct it6161 *it6161) in it6161_mipi_rx_int_mask_disable()
1365 static void it6161_mipi_rx_int_mask_enable(struct it6161 *it6161) in it6161_mipi_rx_int_mask_enable()
1373 static void hdmi_tx_hdcp_int_mask_disable(struct it6161 *it6161) in hdmi_tx_hdcp_int_mask_disable()
1380 static void hdmi_tx_hdcp_int_mask_enable(struct it6161 *it6161) in hdmi_tx_hdcp_int_mask_enable()
1395 static void it6161_hdmi_tx_int_mask_enable(struct it6161 *it6161) in it6161_hdmi_tx_int_mask_enable()
1403 static void it6161_hdmi_tx_write_table(struct it6161 *it6161, const RegSetEntry table[], int size) in it6161_hdmi_tx_write_table()
1420 static inline void hdmi_tx_enable_pattern_generator(struct it6161 *it6161) in hdmi_tx_enable_pattern_generator()
1426 static inline void hdmi_tx_disable_pattern_generator(struct it6161 *it6161) in hdmi_tx_disable_pattern_generator()
1431 static inline void hdmi_tx_pattern_generator_setup_color(struct it6161 *it6161) in hdmi_tx_pattern_generator_setup_color()
1436 static void hdmi_tx_setup_pattern_generator(struct it6161 *it6161) in hdmi_tx_setup_pattern_generator()
1463 static void show_display_mode(struct it6161 *it6161, struct drm_display_mode *display_mode, u8 sele… in show_display_mode()
1491 static void hdmi_tx_init(struct it6161 *it6161) in hdmi_tx_init()
1513 static bool mipi_rx_get_m_video_stable(struct it6161 *it6161) in mipi_rx_get_m_video_stable()
1518 static bool mipi_rx_get_p_video_stable(struct it6161 *it6161) in mipi_rx_get_p_video_stable()
1523 static void mipi_rx_setup_polarity(struct it6161 *it6161) in mipi_rx_setup_polarity()
1534 static void mipi_rx_afe_configuration(struct it6161 *it6161, u8 data_id) in mipi_rx_afe_configuration()
1586 static void mipi_rx_configuration(struct it6161 *it6161) in mipi_rx_configuration()
1720 static void mipi_rx_init(struct it6161 *it6161) in mipi_rx_init()
1729 static void hdmi_tx_video_reset(struct it6161 *it6161) in hdmi_tx_video_reset()
1747 static void it6161_hdmi_tx_clear_ddc_fifo(struct it6161 *it6161) in it6161_hdmi_tx_clear_ddc_fifo()
1756 static void it6161_hdmi_tx_generate_ddc_sclk(struct it6161 *it6161) in it6161_hdmi_tx_generate_ddc_sclk()
1762 static void hdmi_tx_generate_blank_timing(struct it6161 *it6161) in hdmi_tx_generate_blank_timing()
1821 static void it6161_hdmi_tx_abort_ddc(struct it6161 *it6161) in it6161_hdmi_tx_abort_ddc()
1856 static bool hdmi_tx_get_video_state(struct it6161 *it6161) in hdmi_tx_get_video_state()
1861 static bool inline hdmi_tx_get_sink_hpd(struct it6161 *it6161) in hdmi_tx_get_sink_hpd()
1866 static bool it6161_ddc_op_finished(struct it6161 *it6161) in it6161_ddc_op_finished()
1876 static int it6161_ddc_wait(struct it6161 *it6161) in it6161_ddc_wait()
1906 static void hdmi_tx_ddc_operation(struct it6161 *it6161, u8 addr, u8 offset, u8 size, u8 segment, u… in hdmi_tx_ddc_operation()
1929 static int it6161_ddc_get_edid_operation(struct it6161 *it6161, u8 *buffer, u8 segment, u8 offset, … in it6161_ddc_get_edid_operation()
1971 struct it6161 *it6161 = data; in it6161_get_edid_block() local
1995 static void hdmi_tx_set_capability_from_edid_parse(struct it6161 *it6161) in hdmi_tx_set_capability_from_edid_parse()
2025 static void it6161_variable_config(struct it6161 *it6161) in it6161_variable_config()
2036 struct it6161 *it6161 = connector_to_it6161(connector); in it6161_get_modes() local
2082 struct it6161 *it6161 = connector_to_it6161(connector); in it6161_detect() local
2111 static int it6161_attach_dsi(struct it6161 *it6161) in it6161_attach_dsi()
2156 struct it6161 *it6161 = bridge_to_it6161(bridge); in it6161_bridge_attach() local
2204 static void it6161_detach_dsi(struct it6161 *it6161) in it6161_detach_dsi()
2212 struct it6161 *it6161 = bridge_to_it6161(bridge); in it6161_bridge_detach() local
2278 struct it6161 *it6161 = bridge_to_it6161(bridge); in it6161_bridge_mode_set() local
2329 struct it6161 *it6161 = bridge_to_it6161(bridge); in it6161_bridge_enable() local
2354 struct it6161 *it6161 = bridge_to_it6161(bridge); in it6161_bridge_disable() local
2380 static bool it6161_check_device_ready(struct it6161 *it6161) in it6161_check_device_ready()
2398 static u32 hdmi_tx_calc_rclk(struct it6161 *it6161)//in c code: cal_txrclk in hdmi_tx_calc_rclk()
2445 static u32 hdmi_tx_calc_pclk(struct it6161 *it6161) //c code void cal_txclk( void ) in hdmi_tx_calc_pclk()
2514 static void hdmi_tx_get_display_mode(struct it6161 *it6161) in hdmi_tx_get_display_mode()
2582 static void it6161_hdmi_tx_set_av_mute(struct it6161 *it6161, u8 bEnable) in it6161_hdmi_tx_set_av_mute()
2598 static bool hdmi_tx_hdcp_auth_status(struct it6161 *it6161) in hdmi_tx_hdcp_auth_status()
2603 static bool hdmi_tx_hdcp_get_auth_done(struct it6161 *it6161) in hdmi_tx_hdcp_get_auth_done()
2608 static void hdmi_tx_hdcp_clear_auth_interrupt(struct it6161 *it6161) in hdmi_tx_hdcp_clear_auth_interrupt()
2616 static void hdmi_tx_hdcp_reset_auth(struct it6161 *it6161) in hdmi_tx_hdcp_reset_auth()
2628 static void hdmi_tx_hdcp_auth_fire(struct it6161 *it6161) in hdmi_tx_hdcp_auth_fire()
2639 static void hdmi_tx_hdcp_start_an_cipher(struct it6161 *it6161) in hdmi_tx_hdcp_start_an_cipher()
2646 static void hdmi_tx_hdcp_stop_an_cipher(struct it6161 *it6161) in hdmi_tx_hdcp_stop_an_cipher()
2656 static void hdmi_tx_hdcp_generate_an(struct it6161 *it6161) in hdmi_tx_hdcp_generate_an()
2678 static SYS_STATUS hdmi_tx_get_hdcp_bcaps_bstatus(struct it6161 *it6161, u8 *pBCaps, u16 *pBStatus) in hdmi_tx_get_hdcp_bcaps_bstatus()
2717 static int hdmi_tx_hdcp_get_bksv(struct it6161 *it6161, u8 *bksv, size_t size) in hdmi_tx_hdcp_get_bksv()
2758 static void hdmitx_hdcp_CancelRepeaterAuthenticate(struct it6161 *it6161) in hdmitx_hdcp_CancelRepeaterAuthenticate()
2768 static void hdmitx_hdcp_ResumeRepeaterAuthenticate(struct it6161 *it6161) in hdmitx_hdcp_ResumeRepeaterAuthenticate()
2969 static SYS_STATUS hdmi_tx_hdcp_get_ksv_list(struct it6161 *it6161, u8 *pKSVList,u8 cDownStream) in hdmi_tx_hdcp_get_ksv_list()
3007 static SYS_STATUS hdmitx_hdcp_GetVr(struct it6161 *it6161, u8 *pVr) in hdmitx_hdcp_GetVr()
3041 static SYS_STATUS hdmitx_hdcp_GetM0(struct it6161 *it6161, u8 *pM0) in hdmitx_hdcp_GetM0()
3429 static SYS_STATUS hdmi_tx_hdcp_auth_process_Repeater(struct it6161 *it6161) in hdmi_tx_hdcp_auth_process_Repeater()
3644 static int hdmi_tx_hdcp_get_bcaps(struct it6161 *it6161) in hdmi_tx_hdcp_get_bcaps()
3666 static int hdmi_tx_hdcp_get_bstatus(struct it6161 *it6161) in hdmi_tx_hdcp_get_bstatus()
3895 static bool hdmi_tx_hdcp_enable_auth_part1(struct it6161 *it6161) in hdmi_tx_hdcp_enable_auth_part1()
3929 static bool hdmi_tx_hdcp_auth_process(struct it6161 *it6161) in hdmi_tx_hdcp_auth_process()
3993 static void hdmitx_hdcp_ResumeAuthentication(struct it6161 *it6161) in hdmitx_hdcp_ResumeAuthentication()
4004 struct it6161 *it6161 = container_of(work, struct it6161, in hdmi_tx_hdcp_work() local
4023 static void hdmi_tx_enable_hdcp(struct it6161 *it6161) in hdmi_tx_enable_hdcp()
4053 static void hdmi_tx_setup_pclk_div2(struct it6161 *it6161) in hdmi_tx_setup_pclk_div2()
4080 static void hdmi_tx_setup_csc(struct it6161 *it6161) in hdmi_tx_setup_csc()
4281 static void hdmi_tx_setup_afe(struct it6161 *it6161, VIDEOPCLKLEVEL level) in hdmi_tx_setup_afe()
4320 static void hdmi_tx_fire_afe(struct it6161 *it6161) in hdmi_tx_fire_afe()
4348 static void hdmi_tx_disable_video_output(struct it6161 *it6161) in hdmi_tx_disable_video_output()
4356 static void hdmi_tx_enable_video_output(struct it6161 *it6161, VIDEOPCLKLEVEL level) in hdmi_tx_enable_video_output()
4377 static void setHDMITX_ChStat(struct it6161 *it6161, u8 ucIEC60958ChStat[]) in setHDMITX_ChStat()
4697 static void HDMITX_DisableAudioOutput(struct it6161 *it6161) in HDMITX_DisableAudioOutput()
4707 static void HDMITX_EnableAudioOutput(struct it6161 *it6161, u8 AudioType, u8 bAudInterface /*I2S/SP… in HDMITX_EnableAudioOutput()
5130 static SYS_STATUS hdmitx_SetAudioInfoFrame(struct it6161 *it6161, Audio_InfoFrame *pAudioInfoFrame) in hdmitx_SetAudioInfoFrame()
5217 static SYS_STATUS hdmitx_SetVSIInfoFrame(struct it6161 *it6161, VendorSpecific_InfoFrame *pVSIInfoF… in hdmitx_SetVSIInfoFrame()
5252 static bool HDMITX_EnableVSInfoFrame(struct it6161 *it6161, u8 bEnable,u8 *pVSInfoFrame) in HDMITX_EnableVSInfoFrame()
5280 static bool HDMITX_EnableAudioInfoFrame(struct it6161 *it6161, u8 bEnable,u8 *pAudioInfoFrame) in HDMITX_EnableAudioInfoFrame()
5432 static void ConfigAudioInfoFrm(struct it6161 *it6161, u8 channel_count) in ConfigAudioInfoFrm()
5483 void ConfigfHdmiVendorSpecificInfoFrame(struct it6161 *it6161, u8 _3D_Stru) in ConfigfHdmiVendorSpecificInfoFrame()
5512 static void hdmi_tx_audio_process(struct it6161 *it6161) in hdmi_tx_audio_process()
5551 static int hdmi_tx_get_avi_infoframe_from_source(struct it6161 *it6161, u8 *buffer, size_t size) in hdmi_tx_get_avi_infoframe_from_source()
5565 static int hdmi_tx_get_avi_infoframe_from_user_define(struct it6161 *it6161, u8 *buffer, size_t siz… in hdmi_tx_get_avi_infoframe_from_user_define()
5600 static void hdmi_tx_setup_avi_infoframe(struct it6161 *it6161, u8 *buffer, size_t size) in hdmi_tx_setup_avi_infoframe()
5612 static inline void hdmi_tx_disable_avi_infoframe(struct it6161 *it6161) in hdmi_tx_disable_avi_infoframe()
5618 static inline void hdmi_tx_enable_avi_infoframe(struct it6161 *it6161) in hdmi_tx_enable_avi_infoframe()
5624 static int hdmi_tx_avi_infoframe_process(struct it6161 *it6161) in hdmi_tx_avi_infoframe_process()
5643 static void hdmi_tx_set_output_process(struct it6161 *it6161) in hdmi_tx_set_output_process()
5827 static void mipi_rx_calc_rclk(struct it6161 *it6161) in mipi_rx_calc_rclk()
5856 static void mipi_rx_calc_mclk(struct it6161 *it6161) in mipi_rx_calc_mclk()
5877 static void mipi_rx_calc_pclk(struct it6161 *it6161) in mipi_rx_calc_pclk()
5903 static void mipi_rx_show_mrec(struct it6161 *it6161) in mipi_rx_show_mrec()
5940 static void mipi_rx_prec_get_display_mode(struct it6161 *it6161) in mipi_rx_prec_get_display_mode()
5987 static void mipi_rx_reset_p_domain(struct it6161 *it6161) in mipi_rx_reset_p_domain()
5993 static void it6161_mipi_rx_interrupt_clear(struct it6161 *it6161, u8 reg06, u8 reg07, u8 reg08) in it6161_mipi_rx_interrupt_clear()
6002 static void it6161_mipi_rx_interrupt_reg06_process(struct it6161 *it6161, u8 reg06) in it6161_mipi_rx_interrupt_reg06_process()
6119 static void it6161_mipi_rx_interrupt_reg07_process(struct it6161 *it6161, u8 reg07) in it6161_mipi_rx_interrupt_reg07_process()
6167 static void it6161_mipi_rx_interrupt_reg08_process(struct it6161 *it6161, u8 reg08) in it6161_mipi_rx_interrupt_reg08_process()
6234 static void it6161_hdmi_tx_interrupt_clear(struct it6161 *it6161, u8 reg06, u8 reg07, u8 reg08, u8 … in it6161_hdmi_tx_interrupt_clear()
6279 static void it6161_hdmi_tx_interrupt_reg06_process(struct it6161 *it6161, u8 reg06) in it6161_hdmi_tx_interrupt_reg06_process()
6319 static void it6161_hdmi_tx_interrupt_reg07_process(struct it6161 *it6161, u8 reg07) in it6161_hdmi_tx_interrupt_reg07_process()
6353 static void it6161_hdmi_tx_interrupt_reg08_process(struct it6161 *it6161, u8 reg08) in it6161_hdmi_tx_interrupt_reg08_process()
6370 static void it6161_hdmi_tx_interrupt_regee_process(struct it6161 *it6161, u8 regee) in it6161_hdmi_tx_interrupt_regee_process()
6386 struct it6161 *it6161 = data; in it6161_intp_threaded_handler() local
6668 static int it6161_parse_dt(struct it6161 *it6161, struct device_node *np) in it6161_parse_dt()
6683 static int it6161_gpio_init(struct it6161 *it6161) in it6161_gpio_init()