Lines Matching refs:dsibclk_nsk
645 u32 dsibclk_nsk, dsiclk_nsk, ui_nsk; in tc358768_bridge_pre_enable() local
725 dsibclk_nsk = (u32)div_u64((u64)1000000000 * TC358768_PRECISION, in tc358768_bridge_pre_enable()
731 dev_dbg(priv->dev, "dsibclk_nsk: %u\n", dsibclk_nsk); in tc358768_bridge_pre_enable()
734 val = tc358768_ns_to_cnt(100 * 1000, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
739 val = tc358768_ns_to_cnt(50, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
745 val = tc358768_ns_to_cnt(65, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
748 dsibclk_nsk) - 2; in tc358768_bridge_pre_enable()
754 raw_val = tc358768_ns_to_cnt(60 + tc358768_to_ns(2 * ui_nsk), dsibclk_nsk) - 5; in tc358768_bridge_pre_enable()
761 val = tc358768_ns_to_cnt(val, dsibclk_nsk) - 1; in tc358768_bridge_pre_enable()
763 raw_val = tc358768_ns_to_cnt(145 - tc358768_to_ns(3 * ui_nsk), dsibclk_nsk) - 10; in tc358768_bridge_pre_enable()
770 val = tc358768_ns_to_cnt(1020000, dsibclk_nsk); in tc358768_bridge_pre_enable()
777 dsibclk_nsk) - 3; in tc358768_bridge_pre_enable()
783 dsibclk_nsk) - 4; in tc358768_bridge_pre_enable()
797 val = tc358768_to_ns((lptxcnt + 1) * dsibclk_nsk * 4); in tc358768_bridge_pre_enable()
798 val = tc358768_ns_to_cnt(val, dsibclk_nsk) / 4 - 1; in tc358768_bridge_pre_enable()
799 val2 = tc358768_ns_to_cnt(tc358768_to_ns((lptxcnt + 1) * dsibclk_nsk), in tc358768_bridge_pre_enable()
800 dsibclk_nsk) - 2; in tc358768_bridge_pre_enable()