Home
last modified time | relevance | path

Searched refs:i2c_wr8 (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dtc358743.c216 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8() function
428 i2c_wr8(sd, BKSV + i, 0); in tc358743_erase_bksv()
531 i2c_wr8(sd, VI_MUTE, MASK_AUTO_MUTE); in enable_stream()
535 i2c_wr8(sd, VI_MUTE, MASK_AUTO_MUTE | MASK_VI_MUTE); in enable_stream()
598 i2c_wr8(sd, SYS_FREQ0, sys_freq & 0x00ff); in tc358743_set_ref_clk()
599 i2c_wr8(sd, SYS_FREQ1, (sys_freq & 0xff00) >> 8); in tc358743_set_ref_clk()
606 i2c_wr8(sd, FH_MIN0, fh_min & 0x00ff); in tc358743_set_ref_clk()
607 i2c_wr8(sd, FH_MIN1, (fh_min & 0xff00) >> 8); in tc358743_set_ref_clk()
610 i2c_wr8(sd, FH_MAX0, fh_max & 0x00ff); in tc358743_set_ref_clk()
611 i2c_wr8(sd, FH_MAX1, (fh_max & 0xff00) >> 8); in tc358743_set_ref_clk()
[all …]
H A Dtc35874x.c344 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()
[all …]
H A Dep9461e.c145 static void i2c_wr8(struct ep9461e_dev *ep9461e, u16 reg, u8 buf) in i2c_wr8() function
156 i2c_wr8(ep9461e, reg, (val_p & mask) | val); in i2c_wr8_and_or()
271 i2c_wr8(ep9461e, RX_SEL_CONTROL, ep9461e->hdmi_rx_sel); in ep9461e_rx_manual_select()
H A Dlt6911uxe.c672 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8() function
683 i2c_wr8(sd, reg, (val_p & mask) | val); in i2c_wr8_and_or()
688 i2c_wr8(sd, I2C_EN_REG, I2C_ENABLE); in lt6911uxe_i2c_enable()
693 i2c_wr8(sd, I2C_EN_REG, I2C_DISABLE); in lt6911uxe_i2c_disable()
942 i2c_wr8(sd, CLK_ZERO_REG, val); in lt6911uxe_config_dphy_timing()
945 i2c_wr8(sd, HS_PREPARE_REG, val); in lt6911uxe_config_dphy_timing()
948 i2c_wr8(sd, HS_TRAIL, val); in lt6911uxe_config_dphy_timing()
956 i2c_wr8(sd, MIPI_TX_PT0_LPTX, val); in lt6911uxe_config_dphy_timing()
970 i2c_wr8(&lt6911uxe->sd, STREAM_CTL, ENABLE_STREAM); in enable_stream()
972 i2c_wr8(&lt6911uxe->sd, STREAM_CTL, DISABLE_STREAM); in enable_stream()
H A Dlt7911d.c296 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8() function
303 i2c_wr8(sd, I2C_EN_REG, I2C_ENABLE); in lt7911d_i2c_enable()
308 i2c_wr8(sd, I2C_EN_REG, I2C_DISABLE); in lt7911d_i2c_disable()
409 i2c_wr8(sd, FM_CLK_SEL, AD_HALF_PIX_CLK); in lt7911d_get_detected_timings()
417 i2c_wr8(sd, RG_MK_PRESET_SEL, SOURCE_DP_RX); in lt7911d_get_detected_timings()
H A Dlt7911uxc.c472 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8() function
479 i2c_wr8(sd, I2C_EN_REG, I2C_ENABLE); in lt7911uxc_i2c_enable()
484 i2c_wr8(sd, I2C_EN_REG, I2C_DISABLE); in lt7911uxc_i2c_disable()
713 i2c_wr8(sd, HS_RQST_PRE_REG, 0x3c); in lt7911uxc_cphy_timing_config()
743 i2c_wr8(&lt7911uxc->sd, STREAM_CTL, ENABLE_STREAM); in enable_stream()
745 i2c_wr8(&lt7911uxc->sd, STREAM_CTL, DISABLE_STREAM); in enable_stream()
H A Dlt6911uxc.c282 static int i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8() function
289 i2c_wr8(sd, I2C_EN_REG, I2C_ENABLE); in lt6911uxc_i2c_enable()
294 i2c_wr8(sd, I2C_EN_REG, I2C_DISABLE); in lt6911uxc_i2c_disable()
406 i2c_wr8(sd, INT_COMPARE_REG, RECEIVED_INT); in lt6911uxc_get_detected_timings()
422 i2c_wr8(sd, FM1_DET_CLK_SRC_SEL, AD_LMTX_WRITE_CLK); in lt6911uxc_get_detected_timings()
/OK3568_Linux_fs/kernel/drivers/media/i2c/it66353/
H A Dit66353.c184 static void i2c_wr8(u8 i2c_addr, u16 reg, u8 buf) in i2c_wr8() function
224 i2c_wr8(it66353_gdev.opts.dev_opt->SwAddr, reg, val_p); in swAddr_updata_bit()
233 i2c_wr8(it66353_gdev.opts.dev_opt->RxAddr, reg, val_p); in rxAddr_updata_bit()
242 i2c_wr8(it66353_gdev.opts.dev_opt->CecAddr, reg, val_p); in cecAddr_updata_bit()