Lines Matching refs:i2c_wr8

344 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val)  in i2c_wr8()  function
584 i2c_wr8(sd, BKSV + i, 0); in tc35874x_erase_bksv()
687 i2c_wr8(sd, VI_MUTE, MASK_AUTO_MUTE); in enable_stream()
691 i2c_wr8(sd, VI_MUTE, MASK_AUTO_MUTE | MASK_VI_MUTE); in enable_stream()
777 i2c_wr8(sd, SYS_FREQ0, sys_freq & 0x00ff); in tc35874x_set_ref_clk()
778 i2c_wr8(sd, SYS_FREQ1, (sys_freq & 0xff00) >> 8); in tc35874x_set_ref_clk()
785 i2c_wr8(sd, FH_MIN0, fh_min & 0x00ff); in tc35874x_set_ref_clk()
786 i2c_wr8(sd, FH_MIN1, (fh_min & 0xff00) >> 8); in tc35874x_set_ref_clk()
789 i2c_wr8(sd, FH_MAX0, fh_max & 0x00ff); in tc35874x_set_ref_clk()
790 i2c_wr8(sd, FH_MAX1, (fh_max & 0xff00) >> 8); in tc35874x_set_ref_clk()
793 i2c_wr8(sd, LOCKDET_REF0, lockdet_ref & 0x0000ff); in tc35874x_set_ref_clk()
794 i2c_wr8(sd, LOCKDET_REF1, (lockdet_ref & 0x00ff00) >> 8); in tc35874x_set_ref_clk()
795 i2c_wr8(sd, LOCKDET_REF2, (lockdet_ref & 0x0f0000) >> 16); in tc35874x_set_ref_clk()
933 i2c_wr8(sd, PHY_CTL1, SET_PHY_AUTO_RST1_US(1600) | in tc35874x_set_hdmi_phy()
942 i2c_wr8(sd, PHY_BIAS, 0x40); in tc35874x_set_hdmi_phy()
943 i2c_wr8(sd, PHY_CSQ, SET_CSQ_CNT_LEVEL(0x0a)); in tc35874x_set_hdmi_phy()
944 i2c_wr8(sd, AVM_CTL, 45); in tc35874x_set_hdmi_phy()
960 i2c_wr8(sd, FORCE_MUTE, 0x00); in tc35874x_set_hdmi_audio()
961 i2c_wr8(sd, AUTO_CMD0, MASK_AUTO_MUTE7 | MASK_AUTO_MUTE6 | in tc35874x_set_hdmi_audio()
964 i2c_wr8(sd, AUTO_CMD1, MASK_AUTO_MUTE9); in tc35874x_set_hdmi_audio()
965 i2c_wr8(sd, AUTO_CMD2, MASK_AUTO_PLAY3 | MASK_AUTO_PLAY2); in tc35874x_set_hdmi_audio()
966 i2c_wr8(sd, BUFINIT_START, SET_BUFINIT_START_MS(500)); in tc35874x_set_hdmi_audio()
967 i2c_wr8(sd, FS_MUTE, 0x00); in tc35874x_set_hdmi_audio()
968 i2c_wr8(sd, FS_IMODE, MASK_NLPCM_SMODE | MASK_FS_SMODE); in tc35874x_set_hdmi_audio()
969 i2c_wr8(sd, ACR_MODE, MASK_CTS_MODE); in tc35874x_set_hdmi_audio()
970 i2c_wr8(sd, ACR_MDF0, MASK_ACR_L2MDF_1976_PPM | MASK_ACR_L1MDF_976_PPM); in tc35874x_set_hdmi_audio()
971 i2c_wr8(sd, ACR_MDF1, MASK_ACR_L3MDF_3906_PPM); in tc35874x_set_hdmi_audio()
972 i2c_wr8(sd, SDO_MODE1, MASK_SDO_FMT_I2S); in tc35874x_set_hdmi_audio()
973 i2c_wr8(sd, DIV_MODE, SET_DIV_DLY_MS(100)); in tc35874x_set_hdmi_audio()
984 i2c_wr8(sd, PK_INT_MODE, MASK_ISRC2_INT_MODE | MASK_ISRC_INT_MODE | in tc35874x_set_hdmi_info_frame_mode()
988 i2c_wr8(sd, NO_PKT_LIMIT, 0x2c); in tc35874x_set_hdmi_info_frame_mode()
989 i2c_wr8(sd, NO_PKT_CLR, 0x53); in tc35874x_set_hdmi_info_frame_mode()
990 i2c_wr8(sd, ERR_PK_LIMIT, 0x01); in tc35874x_set_hdmi_info_frame_mode()
991 i2c_wr8(sd, NO_PKT_LIMIT2, 0x30); in tc35874x_set_hdmi_info_frame_mode()
992 i2c_wr8(sd, NO_GDB_LIMIT, 0x10); in tc35874x_set_hdmi_info_frame_mode()
1025 i2c_wr8(sd, VOUT_SET3, MASK_VOUT_EXTCNT); in tc35874x_initial_setup()
1066 i2c_wr8(sd, i, 0xff); in tc35874x_init_interrupts()
1078 i2c_wr8(sd, SYS_INTM, ~(MASK_M_DDC | MASK_M_DVI_DET | in tc35874x_enable_interrupts()
1080 i2c_wr8(sd, CLK_INTM, ~MASK_M_IN_DE_CHG); in tc35874x_enable_interrupts()
1081 i2c_wr8(sd, CBIT_INTM, ~(MASK_M_CBIT_FS | MASK_M_AF_LOCK | in tc35874x_enable_interrupts()
1083 i2c_wr8(sd, AUDIO_INTM, ~MASK_M_BUFINIT_END); in tc35874x_enable_interrupts()
1084 i2c_wr8(sd, MISC_INTM, ~MASK_M_SYNC_CHG); in tc35874x_enable_interrupts()
1086 i2c_wr8(sd, SYS_INTM, ~MASK_M_DDC & 0xff); in tc35874x_enable_interrupts()
1087 i2c_wr8(sd, CLK_INTM, 0xff); in tc35874x_enable_interrupts()
1088 i2c_wr8(sd, CBIT_INTM, 0xff); in tc35874x_enable_interrupts()
1089 i2c_wr8(sd, AUDIO_INTM, 0xff); in tc35874x_enable_interrupts()
1090 i2c_wr8(sd, MISC_INTM, 0xff); in tc35874x_enable_interrupts()
1100 i2c_wr8(sd, AUDIO_INT, audio_int); in tc35874x_hdmi_audio_int_handler()
1121 i2c_wr8(sd, MISC_INT, misc_int); in tc35874x_hdmi_misc_int_handler()
1153 i2c_wr8(sd, CBIT_INT, cbit_int); in tc35874x_hdmi_cbit_int_handler()
1191 i2c_wr8(sd, CLK_INT, clk_int | 0x80 | MASK_I_OUT_H_CHG); in tc35874x_hdmi_clk_int_handler()
1226 i2c_wr8(sd, SYS_INT, sys_int); in tc35874x_hdmi_sys_int_handler()
1273 i2c_wr8(sd, ANA_CTL, MASK_APPL_PCSX_NORMAL | MASK_ANALOG_ON); in tc35874x_hdmi_sys_int_handler()
1921 i2c_wr8(sd, EDID_LEN1, edid_len & 0xff); in tc35874x_s_edid()
1922 i2c_wr8(sd, EDID_LEN2, edid_len >> 8); in tc35874x_s_edid()