Lines Matching refs:rcsi2_write
640 static void rcsi2_write(struct rcar_csi2 *priv, unsigned int reg, u32 data) in rcsi2_write() function
652 rcsi2_write(priv, PHYCNT_REG, 0); in rcsi2_enter_standby_gen3()
653 rcsi2_write(priv, PHTC_REG, PHTC_TESTCLR); in rcsi2_enter_standby_gen3()
724 rcsi2_write(priv, PHYPLL_REG, PHYPLL_HSFREQRANGE(hsfreq->reg)); in rcsi2_set_phypll()
878 rcsi2_write(priv, INTEN_REG, INTEN_INT_AFIFO_OF | INTEN_INT_ERRSOTHS in rcsi2_start_receiver_gen3()
882 rcsi2_write(priv, TREF_REG, TREF_TREF); in rcsi2_start_receiver_gen3()
883 rcsi2_write(priv, PHTC_REG, 0); in rcsi2_start_receiver_gen3()
887 rcsi2_write(priv, VCDT_REG, vcdt); in rcsi2_start_receiver_gen3()
889 rcsi2_write(priv, VCDT2_REG, vcdt2); in rcsi2_start_receiver_gen3()
893 rcsi2_write(priv, LSWAP_REG, in rcsi2_start_receiver_gen3()
913 rcsi2_write(priv, CSI0CLKFCPR_REG, in rcsi2_start_receiver_gen3()
917 rcsi2_write(priv, PHYFRX_REG, in rcsi2_start_receiver_gen3()
921 rcsi2_write(priv, PHYCNT_REG, phycnt); in rcsi2_start_receiver_gen3()
922 rcsi2_write(priv, LINKCNT_REG, LINKCNT_MONITOR_EN | in rcsi2_start_receiver_gen3()
924 rcsi2_write(priv, FLD_REG, fld); in rcsi2_start_receiver_gen3()
925 rcsi2_write(priv, PHYCNT_REG, phycnt | PHYCNT_SHUTDOWNZ); in rcsi2_start_receiver_gen3()
926 rcsi2_write(priv, PHYCNT_REG, phycnt | PHYCNT_SHUTDOWNZ | PHYCNT_RSTZ); in rcsi2_start_receiver_gen3()
933 rcsi2_write(priv, PHYFRX_REG, 0); in rcsi2_start_receiver_gen3()
944 rcsi2_write(priv, INTSTATE_REG, in rcsi2_start_receiver_gen3()
1036 rcsi2_write(priv, V4H_DPHY_RSTZ_REG, BIT(0)); in rcsi2_c_phy_setting_v4h()
1037 rcsi2_write(priv, V4H_PHY_SHUTDOWNZ_REG, BIT(0)); in rcsi2_c_phy_setting_v4h()
1073 rcsi2_write(priv, V4H_CSI2_RESETN_REG, 0); in rcsi2_start_receiver_v4h()
1074 rcsi2_write(priv, V4H_DPHY_RSTZ_REG, 0); in rcsi2_start_receiver_v4h()
1075 rcsi2_write(priv, V4H_PHY_SHUTDOWNZ_REG, 0); in rcsi2_start_receiver_v4h()
1078 rcsi2_write(priv, V4H_PHY_EN_REG, BIT(0)); in rcsi2_start_receiver_v4h()
1079 rcsi2_write(priv, V4H_FLDC_REG, 0); in rcsi2_start_receiver_v4h()
1080 rcsi2_write(priv, V4H_FLDD_REG, 0); in rcsi2_start_receiver_v4h()
1081 rcsi2_write(priv, V4H_IDIC_REG, 0); in rcsi2_start_receiver_v4h()
1082 rcsi2_write(priv, V4H_PHY_MODE_REG, BIT(0)); in rcsi2_start_receiver_v4h()
1083 rcsi2_write(priv, V4H_N_LANES_REG, lanes - 1); in rcsi2_start_receiver_v4h()
1086 rcsi2_write(priv, V4H_CSI2_RESETN_REG, BIT(0)); in rcsi2_start_receiver_v4h()
1240 rcsi2_write(priv, INTSTATE_REG, status); in rcsi2_irq()
1245 rcsi2_write(priv, INTERRSTATE_REG, err_status); in rcsi2_irq()
1432 rcsi2_write(priv, PHTW_REG, in rcsi2_phtw_write()