Lines Matching refs:hsbyteclk_ps
700 u32 hsbyteclk_ps, dsiclk_ps, ui_ps; in tc358768_bridge_atomic_pre_enable() local
934 hsbyteclk_ps = (u32)div_u64(PICO, hsbyteclk); in tc358768_bridge_atomic_pre_enable()
938 ui_ps, hsbyteclk_ps); in tc358768_bridge_atomic_pre_enable()
941 val = tc358768_ns_to_cnt(100 * 1000, hsbyteclk_ps) - 1; in tc358768_bridge_atomic_pre_enable()
946 val = tc358768_ns_to_cnt(50, hsbyteclk_ps) - 1; in tc358768_bridge_atomic_pre_enable()
952 val = tc358768_ns_to_cnt(65, hsbyteclk_ps) - 1; in tc358768_bridge_atomic_pre_enable()
956 hsbyteclk_ps) - 2; in tc358768_bridge_atomic_pre_enable()
962 raw_val = tc358768_ns_to_cnt(60 + tc358768_ps_to_ns(2 * ui_ps), hsbyteclk_ps) - 5; in tc358768_bridge_atomic_pre_enable()
969 val = tc358768_ns_to_cnt(val, hsbyteclk_ps) - 1; in tc358768_bridge_atomic_pre_enable()
972 raw_val = tc358768_ns_to_cnt(145 - tc358768_ps_to_ns(3 * ui_ps), hsbyteclk_ps) - 10; in tc358768_bridge_atomic_pre_enable()
979 val = tc358768_ns_to_cnt(1020000, hsbyteclk_ps); in tc358768_bridge_atomic_pre_enable()
986 hsbyteclk_ps) - 3; in tc358768_bridge_atomic_pre_enable()
992 hsbyteclk_ps) - 4; in tc358768_bridge_atomic_pre_enable()
1006 val = tc358768_ps_to_ns((lptxcnt + 1) * hsbyteclk_ps * 4); in tc358768_bridge_atomic_pre_enable()
1007 val = tc358768_ns_to_cnt(val, hsbyteclk_ps) / 4 - 1; in tc358768_bridge_atomic_pre_enable()
1009 val2 = tc358768_ns_to_cnt(tc358768_ps_to_ns((lptxcnt + 1) * hsbyteclk_ps), in tc358768_bridge_atomic_pre_enable()
1010 hsbyteclk_ps) - 2; in tc358768_bridge_atomic_pre_enable()